Re: [PATCH] scsi: iscsi_tcp: Fix UAF when access shost attr during session logout

2022-12-10 Thread dinghui
On 2022/12/11 6:04 上午, Mike Christie wrote: On 12/9/22 2:22 AM, Ding Hui wrote: During iscsi session logout, if another task accessing shost ipaddress attr at this time, we can get a KASAN UAF report like this: [ 276.941685] ==

Re: [PATCH] scsi: iscsi_tcp: Fix UAF when access shost attr during session logout

2022-12-10 Thread Mike Christie
On 12/9/22 2:22 AM, Ding Hui wrote: > During iscsi session logout, if another task accessing shost ipaddress > attr at this time, we can get a KASAN UAF report like this: > > [ 276.941685] > == > [ 276.942144] BUG: KASAN: