public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Suraj Sonawane <surajsonawane0215@gmail.com>
To: "Martin K. Petersen" <martin.petersen@oracle.com>, dgilbert@interlog.com
Cc: James.Bottomley@HansenPartnership.com,
	linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org,
	syzbot+7efb5850a17ba6ce098b@syzkaller.appspotmail.com
Subject: Re: [PATCH] scsi: sg: fix slab-use-after-free Read in sg_release
Date: Fri, 6 Dec 2024 12:22:01 +0530	[thread overview]
Message-ID: <47bc4dd7-de7e-4c97-9e1b-2727da4f5d30@gmail.com> (raw)
In-Reply-To: <173336487634.2765947.1842407236657188629.b4-ty@oracle.com>

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

      reply	other threads:[~2024-12-06  6:52 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-20 12:59 [PATCH] scsi: sg: fix slab-use-after-free Read in sg_release Suraj Sonawane
2024-11-21 20:24 ` Bart Van Assche
2024-11-25 14:30 ` Suraj Sonawane
2024-11-25 17:03   ` Bart Van Assche
2024-11-26  5:19     ` Suraj Sonawane
2024-12-05  2:17 ` Martin K. Petersen
2024-12-06  6:52   ` Suraj Sonawane [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47bc4dd7-de7e-4c97-9e1b-2727da4f5d30@gmail.com \
    --to=surajsonawane0215@gmail.com \
    --cc=James.Bottomley@HansenPartnership.com \
    --cc=dgilbert@interlog.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=martin.petersen@oracle.com \
    --cc=syzbot+7efb5850a17ba6ce098b@syzkaller.appspotmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox