mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alan Stern <stern@rowland.harvard.edu>
To: syzbot <syzbot+19bed92c97bee999e5db@syzkaller.appspotmail.com>
Cc: gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org,
	linux-usb@vger.kernel.org, syzkaller-bugs@googlegroups.com
Subject: Re: [syzbot] [usb?] general protection fault in usb_gadget_udc_reset (4)
Date: Mon, 9 Mar 2026 10:25:09 -0400	[thread overview]
Message-ID: <e9d9d118-e6fc-42de-847d-e58eaf7bcba5@rowland.harvard.edu> (raw)
In-Reply-To: <69ad9d3d.050a0220.310d8.000e.GAE@google.com>

On Sun, Mar 08, 2026 at 09:01:01AM -0700, syzbot wrote:
> Hello,
> 
> syzbot has tested the proposed patch and the reproducer did not trigger any issue:
> 
> Reported-by: syzbot+19bed92c97bee999e5db@syzkaller.appspotmail.com
> Tested-by: syzbot+19bed92c97bee999e5db@syzkaller.appspotmail.com
> 
> Tested on:
> 
> commit:         65169048 Merge tag 'spi-fix-v7.0-rc2' of git://git.ker..
> git tree:       git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
> console output: https://syzkaller.appspot.com/x/log.txt?x=133f3fe6580000
> kernel config:  https://syzkaller.appspot.com/x/.config?x=2a019678b1a3a692
> dashboard link: https://syzkaller.appspot.com/bug?extid=19bed92c97bee999e5db
> compiler:       Debian clang version 21.1.8 (++20251221033036+2078da43e25a-1~exp1~20251221153213.50), Debian LLD 21.1.8
> patch:          https://syzkaller.appspot.com/x/patch.diff?x=178dc8ba580000
> 
> Note: testing is done by a robot and is best-effort only.

That's not very helpful.  Let's try a slightly different approach.

Alan Stern

#syz test: upstream 651690480a96

Index: usb-devel/drivers/usb/gadget/udc/core.c
===================================================================
--- usb-devel.orig/drivers/usb/gadget/udc/core.c
+++ usb-devel/drivers/usb/gadget/udc/core.c
@@ -1192,7 +1192,9 @@ EXPORT_SYMBOL_GPL(usb_udc_vbus_handler);
 void usb_gadget_udc_reset(struct usb_gadget *gadget,
 		struct usb_gadget_driver *driver)
 {
+	dev_info(&gadget->dev, "Reset #1, driver %p\n", driver);
 	driver->reset(gadget);
+	dev_info(&gadget->dev, "Reset #2\n");
 	usb_gadget_set_state(gadget, USB_STATE_DEFAULT);
 }
 EXPORT_SYMBOL_GPL(usb_gadget_udc_reset);


  reply	other threads:[~2026-03-09 14:25 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-25  7:30 syzbot
2026-03-07 10:52 ` syzbot
2026-03-08 15:36   ` Alan Stern
2026-03-08 16:01     ` syzbot
2026-03-09 14:25       ` Alan Stern [this message]
2026-03-09 14:55         ` syzbot
2026-03-09 15:24           ` Alan Stern
2026-03-09 15:43             ` syzbot
2026-03-10 15:50               ` Alan Stern
2026-03-10 16:09                 ` syzbot
2026-03-10 19:02                   ` Alan Stern
2026-03-10 19:32                     ` syzbot
2026-03-11  1:50                       ` Alan Stern
2026-03-11  3:16                         ` syzbot
2026-03-11 18:44                           ` Alan Stern
2026-03-11 19:25                             ` syzbot
2026-03-12 17:56                               ` Alan Stern
2026-03-12 18:29                                 ` syzbot
2026-03-13  2:05                                   ` Alan Stern
2026-03-13  2:42                                     ` syzbot
2026-03-13 16:07                                       ` Alan Stern
2026-03-13 16:32                                         ` syzbot
2026-03-13 19:47                                           ` Alan Stern
2026-03-13 21:28                                             ` syzbot
2026-03-14 16:42                                               ` Alan Stern
2026-03-14 17:07                                                 ` syzbot

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=e9d9d118-e6fc-42de-847d-e58eaf7bcba5@rowland.harvard.edu \
    --to=stern@rowland.harvard.edu \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=syzbot+19bed92c97bee999e5db@syzkaller.appspotmail.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®