mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: cedalion@bugs.sh
Cc: linux-sound@vger.kernel.org, "Jaroslav Kysela" <perex@perex.cz>,
	"Takashi Iwai" <tiwai@suse.com>,
	linux-kernel@vger.kernel.org
Subject: Re: [BUG] sound/usb: out-of-bounds in prepare_playback_urb()
Date: Sat, 12 Sep 2026 18:31:05 +0200	[thread overview]
Message-ID: <87wlsq1lfa.wl-tiwai@suse.de> (raw)
In-Reply-To: <22xPn8drvIUtYgVeQnBiNqXuevOTpBAjepLz@bugs.sh>

On Sat, 12 Sep 2026 04:09:23 +0200,
co wrote:
> 
> This is a bug report, not a patch submission.
> 
> We found a bug reachable in:
> 
>     path    sound/usb/endpoint.c` (the overwrite) and `sound/usb
>     crash   out-of-bounds in prepare_playback_urb()
>     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+8eacd4fa193b1b28@bugs.sh
> 
>     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/8eacd4fa193b1b28/patch.diff
>         report.md   https://bugs.sh/b/8eacd4fa193b1b28/report.md
> 
>     A guide to taking it from here to a sendable patch, including the
>     trailers to add: https://bugs.sh/patch.html
> 
>     Happy to test patches. Complaints and suggestions about our work
>     are welcome at:
> 
>         cedalion@bugs.sh

The suggested patch looks reasonable.  Could you just submit it in a
proper format for upstream (after verifying that the issue still
happens in the latest upstream)?


thanks,

Takashi

  reply	other threads:[~2026-09-12 16:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-12  2:09 co
2026-09-12 16:31 ` Takashi Iwai [this message]
2026-09-12 20:09   ` Xiang Mei

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=87wlsq1lfa.wl-tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=cedalion@bugs.sh \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sound@vger.kernel.org \
    --cc=perex@perex.cz \
    --cc=tiwai@suse.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®