This is a note to let you know that I've just added the patch titled
ALSA: usb/quirks, fix out-of-bounds access
to the 3.8-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
alsa-usb-quirks-fix-out-of-bounds-access.patch
and it can be found in the queue-3.8 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.
>From 4909a0caabb8b4352efcea223e58b86f8bc1f98b Mon Sep 17 00:00:00 2001
From: Jiri Slaby <[email protected]>
Date: Sun, 17 Feb 2013 14:33:04 +0100
Subject: ALSA: usb/quirks, fix out-of-bounds access
From: Jiri Slaby <[email protected]>
commit 4909a0caabb8b4352efcea223e58b86f8bc1f98b upstream.
bootresponse in snd_usb_mbox2_boot_quirk is only 12 (decimal) u8's
long, but i9s passed to snd_usb_ctl_msg as it would be 0x12 (hexa)
long. Fix that by having proper size of the array, i.e. 0x12.
Signed-off-by: Jiri Slaby <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
sound/usb/quirks.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/sound/usb/quirks.c
+++ b/sound/usb/quirks.c
@@ -533,7 +533,7 @@ static int snd_usb_mbox2_boot_quirk(stru
{
struct usb_host_config *config = dev->actconfig;
int err;
- u8 bootresponse[12];
+ u8 bootresponse[0x12];
int fwsize;
int count;
Patches currently in stable-queue which might be from [email protected] are
queue-3.8/tty-set_termios-set_termiox-should-not-return-eintr.patch
queue-3.8/alsa-usb-quirks-fix-out-of-bounds-access.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html