From: Takashi Iwai <tiwai@suse.de>
To: Dongxiang Ke <kdx.glider@gmail.com>
Cc: gregkh@linuxfoundation.org, alsa-devel@alsa-project.org, tiwai@suse.com
Subject: Re: [PATCH] ALSA: usb-audio: Fix an out-of-bounds bug in __snd_usb_parse_audio_interface()
Date: Tue, 06 Sep 2022 07:15:21 +0200 [thread overview]
Message-ID: <87bkrthymu.wl-tiwai@suse.de> (raw)
In-Reply-To: <20220906024928.10951-1-kdx.glider@gmail.com>
On Tue, 06 Sep 2022 04:49:28 +0200,
Dongxiang Ke wrote:
>
> There may be a bad USB audio device with a USB ID of (0x04fa, 0x4201) and
> the number of it's interfaces less than 4, an out-of-bounds read bug occurs
> when parsing the interface descriptor for this device.
>
> Fix this by checking the number of interfaces.
>
> Signed-off-by: Dongxiang Ke <kdx.glider@gmail.com>
Thanks, applied.
Takashi
prev parent reply other threads:[~2022-09-06 5:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-06 2:49 [PATCH] ALSA: usb-audio: Fix an out-of-bounds bug in __snd_usb_parse_audio_interface() Dongxiang Ke
2022-09-06 5:15 ` Takashi Iwai [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=87bkrthymu.wl-tiwai@suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@alsa-project.org \
--cc=gregkh@linuxfoundation.org \
--cc=kdx.glider@gmail.com \
--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