From: Hillf Danton <hdanton@sina.com>
To: syzbot <syzbot+83976e47ec1ef91e66f1@syzkaller.appspotmail.com>
Cc: linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com
Subject: Re: [syzbot] [usb?] general protection fault in status_show
Date: Thu, 23 Jan 2025 19:31:22 +0800 [thread overview]
Message-ID: <20250123113123.1744-1-hdanton@sina.com> (raw)
In-Reply-To: <6789f53f.050a0220.20d369.0054.GAE@google.com>
On Thu, 16 Jan 2025 22:14:23 -0800
> syzbot found the following issue on:
>
> HEAD commit: be548645527a Merge tag 'for-linus' of git://git.kernel.org..
> git tree: upstream
> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=12d51cb0580000
#syz test
--- x/drivers/usb/usbip/vhci_sysfs.c
+++ y/drivers/usb/usbip/vhci_sysfs.c
@@ -76,6 +76,8 @@ static ssize_t status_show_vhci(int pdev
}
hcd = platform_get_drvdata(pdev);
+ if (!usb_hcd_is_primary_hcd(hcd))
+ return 0;
vhci_hcd = hcd_to_vhci_hcd(hcd);
vhci = vhci_hcd->vhci;
--
next prev parent reply other threads:[~2025-01-23 11:31 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-17 6:14 syzbot
2025-01-17 15:41 ` [syzbot] syzbot
2025-01-22 22:19 ` [syzbot] Re: [syzbot] [usb?] general protection fault in status_show syzbot
2025-01-23 11:31 ` Hillf Danton [this message]
2025-01-23 11:45 ` syzbot
2025-01-24 11:17 ` Hillf Danton
2025-01-24 11:32 ` syzbot
2025-01-25 10:23 ` Hillf Danton
2025-01-25 10:44 ` syzbot
[not found] <Z4p6BwKCBliyJAC2@qasdev.system>
2025-01-17 16:01 ` syzbot
[not found] <257f9669-a5eb-4577-9341-1a730bc53eaa@linuxfoundation.org>
2025-01-22 22:34 ` 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=20250123113123.1744-1-hdanton@sina.com \
--to=hdanton@sina.com \
--cc=linux-kernel@vger.kernel.org \
--cc=syzbot+83976e47ec1ef91e66f1@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®