linux-stable/include/media
Hans Verkuil f817bb3d8c media: cec: core: avoid recursive cec_claim_log_addrs
[ Upstream commit 47c82aac10 ]

Keep track if cec_claim_log_addrs() is running, and return -EBUSY
if it is when calling CEC_ADAP_S_LOG_ADDRS.

This prevents a case where cec_claim_log_addrs() could be called
while it was still in progress.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Reported-by: Yang, Chenyuan <cy54@illinois.edu>
Closes: https://lore.kernel.org/linux-media/PH7PR11MB57688E64ADE4FE82E658D86DA09EA@PH7PR11MB5768.namprd11.prod.outlook.com/
Fixes: ca684386e6 ("[media] cec: add HDMI CEC framework (api)")
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-06-12 11:39:33 +02:00
..
davinci media: v4l: async: Rename v4l2_async_subdev as v4l2_async_connection 2023-07-28 10:44:25 +02:00
drv-intf media: saa7146: convert to vb2 2023-04-15 08:53:31 +01:00
i2c media: i2c: add DS90UB960 driver 2023-07-14 13:18:56 +02:00
tpg
cec-notifier.h
cec-pin.h
cec.h media: cec: core: avoid recursive cec_claim_log_addrs 2024-06-12 11:39:33 +02:00
demux.h
dmxdev.h
dvb-usb-ids.h
dvb_ca_en50221.h
dvb_demux.h
dvb_frontend.h Revert "media: dvb-core: Fix use-after-free on race condition at dvb_frontend" 2023-06-14 23:16:29 +01:00
dvb_net.h media: dvb-core: Fix use-after-free due on race condition at dvb_net 2023-05-14 06:30:45 +01:00
dvb_ringbuffer.h
dvb_vb2.h
dvbdev.h media: dvbdev.h: do some kernel-doc cleanups 2023-05-14 16:05:27 +01:00
frame_vector.h
imx.h
ipu-bridge.h media: ipu-bridge: increase sensor_name size 2023-09-27 10:47:22 +02:00
jpeg.h media: Add common header file with JPEG marker definitions 2023-05-25 16:21:21 +02:00
media-dev-allocator.h
media-device.h media: mc-device: remove unnecessary __must_check 2023-04-11 18:54:01 +02:00
media-devnode.h
media-entity.h media: mc: Add num_links flag to media_pad 2024-02-05 14:29:34 +01:00
media-request.h
mipi-csi2.h media: Add MIPI CSI-2 generic long packet type definition 2023-10-07 10:55:48 +02:00
rc-core.h
rc-map.h media: rc: add Beelink Mini MXIII keymap 2023-03-19 22:21:54 +01:00
rcar-fcp.h
tuner-types.h
tuner.h
tveeprom.h media: drop unnecessary networking includes 2023-03-19 22:50:06 +01:00
v4l2-async.h media: v4l: async: Set v4l2_device and subdev in async notifier init 2023-08-10 07:58:32 +02:00
v4l2-cci.h media: v4l2-cci: Add support for little-endian encoded registers 2023-12-13 13:21:19 +01:00
v4l2-common.h media updates for v6.9-rc1 2024-03-15 11:36:54 -07:00
v4l2-ctrls.h media: Add AV1 uAPI 2023-06-09 16:13:01 +01:00
v4l2-dev.h media: v4l2-dev.h: increase struct video_device name size 2023-09-27 10:47:22 +02:00
v4l2-device.h media: v4l2-device.h: drop V4L2_DEVICE_NAME_SIZE 2023-09-27 10:47:23 +02:00
v4l2-dv-timings.h
v4l2-event.h media: v4l2-event: Annotate struct v4l2_subscribed_event with __counted_by 2023-10-07 10:55:45 +02:00
v4l2-fh.h
v4l2-flash-led-class.h
v4l2-fwnode.h media: v4l: fwnode: Remove unneeded forward declaration 2023-07-28 10:34:26 +02:00
v4l2-h264.h
v4l2-image-sizes.h
v4l2-ioctl.h
v4l2-jpeg.h
v4l2-mc.h media: v4l2-mc: Make v4l2_pipeline_pm_{get,put} deprecated 2023-09-27 09:39:56 +02:00
v4l2-mediabus.h
v4l2-mem2mem.h media: v4l2-mem2mem.h: fix typo in comment 2023-11-23 13:03:01 +01:00
v4l2-rect.h
v4l2-subdev.h media: v4l2-subdev: Store frame interval in subdev state 2023-12-13 16:52:35 +01:00
v4l2-vp9.h
videobuf2-core.h media: videobuf2: Add missing doc comment for waiting_in_dqbuf 2024-02-16 11:46:33 +01:00
videobuf2-dma-contig.h
videobuf2-dma-sg.h
videobuf2-dvb.h
videobuf2-memops.h
videobuf2-v4l2.h
videobuf2-vmalloc.h
vsp1.h