Files
linux/net/tipc
Daniel Hodges 74d9391e88 tipc: use kfree_sensitive() for session key material
The rx->skey field contains a struct tipc_aead_key with GCM-AES
encryption keys used for TIPC cluster communication. Using plain
kfree() leaves this sensitive key material in freed memory pages
where it could potentially be recovered.

Switch to kfree_sensitive() to ensure the key material is zeroed
before the memory is freed.

Fixes: 1ef6f7c939 ("tipc: add automatic session key exchange")
Signed-off-by: Daniel Hodges <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
2026-02-02 17:46:51 -08:00
..
…
…
2024-07-12 03:41:32 +01:00
…
…
…
…
…
…
…
…
…
2025-10-03 10:24:14 -07:00
…
…