]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
media: mceusb: do not read data parameters unless required
authorSean Young <sean@mess.org>
Fri, 4 Aug 2017 09:30:20 +0000 (05:30 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Sun, 20 Aug 2017 13:51:43 +0000 (09:51 -0400)
commitff05cf0937ad9c88bcfffd5d871918dc1827d989
treedc26767eea88778e9148c3f80086e9aeeaaf3afa
parent89d8a2cc51d1f29ea24a0b44dde13253141190a0
media: mceusb: do not read data parameters unless required

This causes out-of-bounds read on device probe.

BUG: KASAN: slab-out-of-bounds in mceusb_dev_printdata+0xdc/0x830 [mceusb]

Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/rc/mceusb.c