android_kernel_motorola_sm6375/drivers/media
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Anant Thazhemadam d8d1d35405 media: usb: dvd-usb: fix uninit-value bug in dibusb_read_eeprom_byte()
[ Upstream commit 899a61a3305d49e8a712e9ab20d0db94bde5929f ]

In dibusb_read_eeprom_byte(), if dibusb_i2c_msg() fails, val gets
assigned an value that's not properly initialized.
Using kzalloc() in place of kmalloc() for the buffer fixes this issue,
as the val can now be set to 0 in the event dibusb_i2c_msg() fails.

Reported-by: syzbot+e27b4fd589762b0b9329@syzkaller.appspotmail.com
Tested-by: syzbot+e27b4fd589762b0b9329@syzkaller.appspotmail.com
Signed-off-by: Anant Thazhemadam <anant.thazhemadam@gmail.com>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-11-17 09:48:30 +01:00
..
cec
common
dvb-core
dvb-frontends media: dib8000: rewrite the init prbs logic 2021-09-22 12:26:26 +02:00
firewire media: firewire: firedtv-avc: fix a buffer overflow in avc_ca_pmt() 2021-11-06 13:59:45 +01:00
i2c media: mt9p031: Fix corrupted frame after restarting stream 2021-11-17 09:48:28 +01:00
mc
mmc
pci media: netup_unidvb: handle interrupt properly according to the firmware 2021-11-17 09:48:28 +01:00
platform media: rcar-csi2: Add checking to rcsi2_start_receiver() 2021-11-17 09:48:29 +01:00
radio
rc media: mceusb: return without resubmitting URB in case of -EPROTO error. 2021-11-17 09:48:29 +01:00
spi
tuners
usb media: usb: dvd-usb: fix uninit-value bug in dibusb_read_eeprom_byte() 2021-11-17 09:48:30 +01:00
v4l2-core media: v4l2-ioctl: Fix check_ext_ctrls 2021-11-17 09:48:18 +01:00
Kconfig
Makefile