linux/drivers/media
James Reynolds 1b43bad31f media: mceusb: Fix potential out-of-bounds shift
When processing a MCE_RSP_GETPORTSTATUS command, the bit index to set in
ir->txports_cabled comes from response data, and isn't validated.

As ir->txports_cabled is a u8, nothing should be done if the bit index
is greater than 7.

Cc: stable@vger.kernel.org
Reported-by: syzbot+ec3b3128c576e109171d@syzkaller.appspotmail.com
Signed-off-by: James Reynolds <jr@memlen.com>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2021-01-14 13:45:38 +01:00
..
cec media: cec: fix trivial style warnings 2021-01-12 18:20:01 +01:00
common media: videobuf2: always call poll_wait() on queues 2021-01-04 13:12:46 +01:00
dvb-core media: dvbdev: Fix memleak in dvb_register_device 2020-11-17 06:57:54 +01:00
dvb-frontends media: Replace HTTP links with HTTPS ones: SI2165 MEDIA DRIVER 2020-11-27 13:05:07 +01:00
firewire media: firewire: fix memory leak 2020-09-27 11:29:45 +02:00
i2c media: ccs: Small definition cleanup 2021-01-12 17:57:08 +01:00
mc media: mc-device.c: change media_device_request_alloc to match media_ioctl_info 2020-08-29 08:15:23 +02:00
mmc media updates for v5.8-rc1 2020-06-03 20:59:38 -07:00
pci media: media/pci: Fix memleak in empress_init 2021-01-12 18:21:54 +01:00
platform media: venus: helpers: Wire up hfi platform buffer requirements 2021-01-13 09:20:55 +01:00
radio media: si4713: remove trailing semicolon in macro definition 2020-12-03 08:54:13 +01:00
rc media: mceusb: Fix potential out-of-bounds shift 2021-01-14 13:45:38 +01:00
spi media: i2c/Kconfig: use sub-menus for I2C support 2020-04-16 10:34:40 +02:00
test-drivers media: vivid: call v4l2_event_wake_all() on disconnect 2021-01-04 13:15:47 +01:00
tuners media: tuners: reduce stack usage in mxl5005s_reconfigure 2020-11-27 13:47:42 +01:00
usb media: pwc: Use correct device for DMA 2021-01-12 18:23:22 +01:00
v4l2-core media: v4l: ioctl: Use kmalloc to allocate a small chunk of memory 2021-01-12 17:06:58 +01:00
Kconfig media: Remove superfluous dependency for MEDIA_SUPPORT_FILTER 2020-11-27 12:19:25 +01:00
Makefile media: media/test_drivers: rename to test-drivers 2020-04-16 10:38:31 +02:00