diff options
| author | Ivy Lopez <skunkolee@gmail.com> | 2026-09-01 19:53:14 -0600 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-09-07 18:20:01 +0200 |
| commit | 194ffecc0d6a0f25ac4e2cc612fbad01e09bb351 (patch) | |
| tree | 8e734b63eaa6708b9e927e2ccaa97f4113a32c6a /tools/perf/scripts/python/netdev-times.py | |
| parent | ee84a0bf829a20ee7762266f972b3a7eb22b4c6b (diff) | |
| download | linux-next-194ffecc0d6a0f25ac4e2cc612fbad01e09bb351.tar.gz linux-next-194ffecc0d6a0f25ac4e2cc612fbad01e09bb351.zip | |
staging: rtl8723bs: use kfree_sensitive() for key material in rtw_set_key()
psetkeyparm holds WEP/TKIP/AES key material copied in via memcpy
from psecuritypriv before being freed. Use kfree_sensitive() instead
of kfree() so the key bytes are zeroed before the memory is released,
consistent with how psetstakey_para is already handled elsewhere in
this driver.
Signed-off-by: Ivy Lopez <skunkolee@gmail.com>
Link: https://patch.msgid.link/20260902015314.21525-1-skunkolee@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
