Re: [PATCH] ALSA: usb-audio: Fix an out-of-bounds bug in __snd_usb_parse_audio_interface()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>

Thanks, applied.


Takashi



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux