[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <173336487634.2765947.1842407236657188629.b4-ty@oracle.com>
Date: Wed, 4 Dec 2024 21:17:05 -0500
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: dgilbert@...erlog.com, Suraj Sonawane <surajsonawane0215@...il.com>
Cc: "Martin K . Petersen" <martin.petersen@...cle.com>,
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 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
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists