diff options
author | Guixin Liu <kanie@linux.alibaba.com> | 2024-12-18 04:42:14 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2025-01-11 02:03:35 +0300 |
commit | 1e95c798d8a7f70965f0f88d4657b682ff0ec75f (patch) | |
tree | 0ac6289b73782aad2484e85366a176a9d6c7f67d /scripts/gdb/linux/lists.py | |
parent | fcf247deb3c3e1c6be5774e3fa03bbd018eff1a9 (diff) | |
download | linux-1e95c798d8a7f70965f0f88d4657b682ff0ec75f.tar.xz |
scsi: ufs: bsg: Set bsg_queue to NULL after removal
Currently, this does not cause any issues, but I believe it is necessary to
set bsg_queue to NULL after removing it to prevent potential use-after-free
(UAF) access.
Signed-off-by: Guixin Liu <kanie@linux.alibaba.com>
Link: https://lore.kernel.org/r/20241218014214.64533-3-kanie@linux.alibaba.com
Reviewed-by: Avri Altman <avri.altman@wdc.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions