kernel_samsung_a53x/drivers/media/usb
Zhipeng Lu ecc907a9bd media: go7007: fix a memleak in go7007_load_encoder
[ Upstream commit b9b683844b01d171a72b9c0419a2d760d946ee12 ]

In go7007_load_encoder, bounce(i.e. go->boot_fw), is allocated without
a deallocation thereafter. After the following call chain:

saa7134_go7007_init
  |-> go7007_boot_encoder
        |-> go7007_load_encoder
  |-> kfree(go)

go is freed and thus bounce is leaked.

Fixes: 95ef39403f89 ("[media] go7007: remember boot firmware")
Signed-off-by: Zhipeng Lu <alexious@zju.edu.cn>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-19 08:44:55 +01:00
..
airspy Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
as102 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
au0828 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
b2c2 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cpia2 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cx231xx media: cx231xx: fix a memleak in cx231xx_init_isoc 2024-11-18 12:12:40 +01:00
dvb-usb Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dvb-usb-v2 media: dvb-usb-v2: af9035: fix missing unlock 2024-11-18 11:43:07 +01:00
em28xx media: em28xx: annotate unchecked call to media_device_register() 2024-11-19 08:44:51 +01:00
go7007 media: go7007: fix a memleak in go7007_load_encoder 2024-11-19 08:44:55 +01:00
gspca media: gspca: cpia1: shift-out-of-bounds in set_flicker 2024-11-18 11:43:14 +01:00
hackrf Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hdpvr Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msi2500 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pvrusb2 media: pvrusb2: fix uaf in pvr2_context_set_notify 2024-11-19 08:44:55 +01:00
pwc Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
s2255 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
siano Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
stk1160 media: stk1160: Fixed high volume of stk1160_dbg messages 2024-11-18 12:13:18 +01:00
stkwebcam Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tm6000 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ttusb-budget Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ttusb-dec Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
usbtv Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
uvc Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
zr364xx Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00