Skip to content
Commit 9e10b512 authored by Khazhismel Kumykov's avatar Khazhismel Kumykov Committed by Martin K. Petersen
Browse files

scsi: libiscsi: Fix use-after-free race during iscsi_session_teardown



Session attributes exposed through sysfs were freed before the device
was destroyed, resulting in a potential use-after-free. Free these
attributes after removing the device.

Signed-off-by: default avatarKhazhismel Kumykov <khazhy@google.com>
Acked-by: default avatarChris Leech <cleech@redhat.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 77082ca5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment