Linux USB
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: hanzhijian1991@gmail.com
Cc: andreyknvl@gmail.com, linux-usb@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	syzbot+d83b3c49738aea97c0e5@syzkaller.appspotmail.com
Subject: Re: [PATCH v4] usb: gadget: raw_gadget: fix ep0 request leak on unbind
Date: Thu, 3 Dec 2026 20:08:12 +0100	[thread overview]
Message-ID: <2026120352-dimmed-coat-6660@gregkh> (raw)
In-Reply-To: <20261201173001.3141592-1-hanzhijian1991@gmail.com>

On Wed, Dec 02, 2026 at 07:03:02AM +0800, hanzhijian1991@gmail.com wrote:
> From: Zhijian Han <hanzhijian1991@gmail.com>
> 
> You're right, thanks. I re-checked the syzbot console log: it never
> prints "failed to queue connect event", so the reproducer does not hit
> the raw_queue_event() failure path my previous patch targeted. That
> path is also effectively unreachable: USB_RAW_EVENT_CONNECT is the
> first event ever queued for a freshly bound device, so
> raw_event_queue_add() can only fail there under OOM.

What is this in the changelog for?

Delete this whole thing and write it on your own, no LLM at all.

thanks,

greg k-h

      parent reply	other threads:[~2026-12-04  3:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-24  1:28 [PATCH v3] usb: gadget: raw_gadget: fix memory leak on connect event failure hanzhijian1991
2026-11-24  1:49 ` sashiko-bot
2026-11-24  2:38 ` Andrey Konovalov
2026-12-01 23:03   ` [PATCH v4] usb: gadget: raw_gadget: fix ep0 request leak on unbind hanzhijian1991
2026-12-01 23:12     ` sashiko-bot
2026-12-03 19:08     ` Greg KH [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=2026120352-dimmed-coat-6660@gregkh \
    --to=gregkh@linuxfoundation.org \
    --cc=andreyknvl@gmail.com \
    --cc=hanzhijian1991@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=syzbot+d83b3c49738aea97c0e5@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