[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <47bc4dd7-de7e-4c97-9e1b-2727da4f5d30@gmail.com>
Date: Fri, 6 Dec 2024 12:22:01 +0530
From: Suraj Sonawane <surajsonawane0215@...il.com>
To: "Martin K. Petersen" <martin.petersen@...cle.com>, dgilbert@...erlog.com
Cc: James.Bottomley@...senPartnership.com, linux-scsi@...r.kernel.org,
linux-kernel@...r.kernel.org,
syzbot+7efb5850a17ba6ce098b@...kaller.appspotmail.com
Subject: Re: [PATCH] scsi: sg: fix slab-use-after-free Read in sg_release
On 12/5/24 07:47, Martin K. Petersen wrote:
> On Wed, 20 Nov 2024 18:29:44 +0530, Suraj Sonawane wrote:
>
>> Fix a use-after-free bug in `sg_release`,
>> detected by syzbot with KASAN:
>>
>> BUG: KASAN: slab-use-after-free in lock_release+0x151/0xa30
>> kernel/locking/lockdep.c:5838
>> __mutex_unlock_slowpath+0xe2/0x750 kernel/locking/mutex.c:912
>> sg_release+0x1f4/0x2e0 drivers/scsi/sg.c:407
>>
>> [...]
>
> Applied to 6.13/scsi-fixes, thanks!
>
> [1/1] scsi: sg: fix slab-use-after-free Read in sg_release
> https://git.kernel.org/mkp/scsi/c/f10593ad9bc3
>
Thank you for applying the patch and for the update.
Best regards,
Suraj Sonawane
Powered by blists - more mailing lists