OpenCloudOS-Kernel/drivers/media
Xinghui Li 84daaf3511 media:cec:fix double free and uaf issue when cancel data during noblocking
data could be free when it is not completed during transmit if
the opt is nonblocking.In this case,the regular free could lead
to double-free.So, add the return value '-EPERM' to mark the
above case.

Reported-by: loydlv <loydlv@tencent.com>
Signed-off-by: Xinghui Li <korantli@tencent.com>
Reviewed-by: Alex Shi <alexsshi@tencent.com>
2024-06-11 20:49:56 +08:00
..
cec media:cec:fix double free and uaf issue when cancel data during noblocking 2024-06-11 20:49:56 +08:00
common ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
dvb-core ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
dvb-frontends ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
firewire ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
i2c ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
mc ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
mmc treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
pci ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
platform Phytium JPEG Encoder driver 2024-06-11 20:41:01 +08:00
radio tkernel: add base tlinux kernel interfaces 2024-06-11 20:09:33 +08:00
rc ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
spi media: Clarify how menus are hidden by SUBDRV_AUTOSELECT 2019-08-19 12:00:29 -03:00
tuners ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
usb ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
v4l2-core ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
Kconfig media: Clarify how menus are hidden by SUBDRV_AUTOSELECT 2019-08-19 12:00:29 -03:00
Makefile media: move drivers/media/media-* to drivers/media/mc/mc-* 2019-05-28 12:15:46 -04:00