All of lore.kernel.org
 help / color / mirror / Atom feed
From: syzbot <syzbot+06fa667a0931a3430026@syzkaller.appspotmail.com>
To: hdanton@sina.com
Cc: hdanton@sina.com, linux-kernel@vger.kernel.org,
	 syzkaller-bugs@googlegroups.com
Subject: Re: [syzbot] [usb?] KASAN: slab-use-after-free Read in stub_rx_loop
Date: Wed, 26 Aug 2026 16:46:28 -0700	[thread overview]
Message-ID: <6a8f7ad4.1d9ded08.62e62.00bc.GAE@google.com> (raw)
In-Reply-To: <20260826234610.1637-1-hdanton@sina.com>

>> Date: Wed, 26 Aug 2026 09:49:36 -0700	[thread overview]
>> syzbot has found a reproducer for the following issue on:
>> 
>> HEAD commit:    818bebeb63dd drm/xe: Don't hand out the flat CCS storage a..
>> git tree:       git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
>> console output: https://syzkaller.appspot.com/x/log.txt?x=151ce979580000
>> kernel config:  https://syzkaller.appspot.com/x/.config?x=ccca94d2c01b9e78
>> dashboard link: https://syzkaller.appspot.com/bug?extid=06fa667a0931a3430026
>> compiler:       gcc (Debian 14.2.0-19) 14.2.0, GNU ld (GNU Binutils for Debian) 2.44
>> C reproducer:   https://syzkaller.appspot.com/x/repro.c?x=13a28d49580000
>
> #syz test

"" does not look like a valid git branch or commit.

>
> diff --git a/drivers/usb/usbip/stub_rx.c b/drivers/usb/usbip/stub_rx.c
> index 25d77d4a1061..763f79806bd8 100644
> --- a/drivers/usb/usbip/stub_rx.c
> +++ b/drivers/usb/usbip/stub_rx.c
> @@ -606,7 +606,8 @@ static void stub_recv_cmd_submit(struct
>  		return;
>  
>  	/* urb is now ready to submit */
> -	for (i = 0; i < priv->num_urbs; i++) {
> +	num_urbs = priv->num_urbs;
> +	for (i = 0; i < num_urbs; i++) {
>  		if (!is_tweaked) {
>  			ret = usb_submit_urb(priv->urbs[i], GFP_KERNEL);
>  
> --

  reply	other threads:[~2026-08-26 23:46 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-28 14:25 [syzbot] [usb?] KASAN: slab-use-after-free Read in stub_rx_loop syzbot
2026-08-26 16:49 ` syzbot
2026-08-26 23:32   ` Hillf Danton
2026-08-26 23:33     ` syzbot
2026-08-26 23:46   ` Hillf Danton
2026-08-26 23:46     ` syzbot [this message]
2026-08-27  0:06   ` Hillf Danton
2026-08-27  0:06     ` syzbot
2026-08-27  0:17   ` Hillf Danton
2026-08-27  0:18     ` syzbot
2026-08-27  0:20   ` Hillf Danton
2026-08-27  0:21     ` syzbot
2026-08-27  0:25   ` Hillf Danton
2026-08-27  2:12     ` syzbot
2026-08-27  0:46   ` Edward Adam Davis
2026-08-27  2:31     ` syzbot
2026-08-27  1:21   ` [PATCH] usbip: prevent priv from uaf in cmd submit Edward Adam Davis
2026-09-23 13:25     ` Shuah Khan
  -- strict thread matches above, loose matches on Subject: below --
2026-08-27  5:32 [syzbot] [ntfs3?] general protection fault in al_destroy syzbot
2026-08-27  7:03 ` [syzbot] [usb?] KASAN: slab-use-after-free Read in stub_rx_loop Edward Adam Davis

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=6a8f7ad4.1d9ded08.62e62.00bc.GAE@google.com \
    --to=syzbot+06fa667a0931a3430026@syzkaller.appspotmail.com \
    --cc=hdanton@sina.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=syzkaller-bugs@googlegroups.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.