diff options
| author | Ivy Lopez <skunkolee@gmail.com> | 2026-07-17 16:01:35 -0600 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-07-28 09:23:30 +0200 |
| commit | d205dfa8cb825f1954ca1cfa474fc50bf06ee4aa (patch) | |
| tree | 77153a173a1343fe4990c70763cb26f881f94ae1 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 743161a7c0594d26b0c3115db876f13010320258 (diff) | |
staging: rtl8723bs: use kfree_sensitive() for key material
The set_stakey_parm struct contains a 16-byte encryption key.
Use kfree_sensitive() instead of kfree() to ensure the key
material is zeroed before the memory is freed, preventing
potential information leaks.
Fixes: 554c0a3abf21 ("staging: Add rtl8723bs sdio wifi driver")
Signed-off-by: Ivy Lopez <skunkolee@gmail.com>
Link: https://patch.msgid.link/20260717220135.17836-1-skunkolee@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
