Re: [BUG] drivers/usb: NULL pointer dereference in stub_recv_cmd_submit()

From: Xiang Mei

Date: Sat Sep 12 2026 - 14:41:54 EST


On Fri, Sep 11, 2026 at 10:47 PM Greg Kroah-Hartman
<gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
>
> On Sat, Sep 12, 2026 at 02:06:13AM +0000, co wrote:
> > This is a bug report, not a patch submission. See
> > https://bugs.sh/reporting.html
> >
> > We found a bug reachable in:
> >
> > path drivers/usb/usbip
> > crash NULL pointer dereference in stub_recv_cmd_submit()
> > commit 2f1baf1fc892 ("Merge tag 'trace-v7.2-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace")
> >
> > Config, environment, the sanitizer report and a C reproducer follow.
> >
> > == Notes ===============================================================
> > If you fix this bug, this tag credits the report and lets us
> > close it on our side:
> >
> > Reported-by: co+66c3f58096d0bde8@xxxxxxx
> >
> > Everything in this mail is validated by the reproducer below.
> >
> > We also hold an unreviewed LLM-generated analysis and candidate
> > patch. The same reproducer panics the unpatched kernel and runs
> > clean with that patch applied. Use it as a starting point, or ignore
> > it and write your own:
> >
> > patch.diff https://bugs.sh/b/66c3f58096d0bde8/patch.diff
>
> Please just submit patches like normal, in a format that can be applied,
> and do not make us go to random links to attempt to get any information.
> That's not how kernel development works at all.
>

Hi Greg,

Sorry about this. We may have misunderstood your earlier reply in this thread:

"But sure, posting bug reports is fine, but again, patches are better :)"

https://lore.kernel.org/all/2026090139-shortlist-junkie-9bee@gregkh/#t

We interpreted this as meaning that sending bug reports without
patches was acceptable. We understand your concern with the current
format, and we will stop sending reports in this format to you and
linux-usb@xxxxxxxxxxxxxxx.

To make sure we understand correctly and follow the appropriate
practice going forward, should we:

1. Send pure bug reports without any LLM-generated analysis or
candidate patch, similar to the bug reports syzbot sends to kernel
mailing lists;
2. For USB, do not send bug reports and only submit patches in the
normal kernel format; or
3. More generally, do not send bug reports to Linux kernel mailing
lists and only submit patches in the normal kernel format?

Sorry again for the misunderstanding, and thanks for taking the time
to clarify this despite your busy schedule.

Xiang

> thanks,
>
> greg k-h
>