linux/drivers/media/pci
David Lechner b7f82da7f8 media: pci: mg4b: fix uninitialized iio scan data
commit c0d3f6969b upstream.

Fix potential leak of uninitialized stack data to userspace by ensuring
that the `scan` structure is zeroed before use.

Fixes: 0ab13674a9 ("media: pci: mgb4: Added Digiteq Automotive MGB4 driver")
Cc: stable@vger.kernel.org
Signed-off-by: David Lechner <dlechner@baylibre.com>
Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2025-10-19 16:33:46 +02:00
..
b2c2 media: b2c2: Fix use-after-free causing by irq_check_work in flexcop_pci_remove 2025-10-06 11:17:52 +02:00
bt8xx move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
cobalt media: cobalt: Use pad variant of dv timing subdev calls 2024-04-09 08:15:04 +02:00
cx18 media: cx18: Add missing check after DMA map 2025-10-19 16:33:46 +02:00
cx88 media: videobuf2: core: Rename min_buffers_needed field in vb2_queue 2023-12-13 17:31:27 +01:00
cx23885 media: pci: cx23885: check cx23885_vdev_init() return 2024-02-05 12:57:44 +01:00
cx25821 media: videobuf2: core: Rename min_buffers_needed field in vb2_queue 2023-12-13 17:31:27 +01:00
ddbridge media: Convert from tasklet to BH workqueue 2024-06-21 08:57:09 +02:00
dm1105 media: add HAS_IOPORT dependencies 2023-06-28 11:09:25 +02:00
dt3155 media: pci: dt315.h: Fix kerneldoc 2024-02-05 12:57:45 +01:00
intel media: ivsc: Fix crash at shutdown due to missing mei_cldev_disable() calls 2025-08-28 16:31:01 +02:00
ivtv media: pci: ivtv: Add missing check after DMA map 2025-10-19 16:33:46 +02:00
mantis media: Convert from tasklet to BH workqueue 2024-06-21 08:57:09 +02:00
mgb4 media: pci: mg4b: fix uninitialized iio scan data 2025-10-19 16:33:46 +02:00
netup_unidvb media: netup_unidvb: Use min macro 2024-05-03 11:12:43 +01:00
ngene media: Convert from tasklet to BH workqueue 2024-06-21 08:57:09 +02:00
pluto2 media: switch from 'pci_' to 'dma_' API 2021-09-30 10:07:55 +02:00
pt1 media: switch from 'pci_' to 'dma_' API 2021-09-30 10:07:55 +02:00
pt3 media: pt3: Use dma_set_mask_and_coherent() and simplify code 2022-12-07 17:58:46 +01:00
saa7134 media updates for v6.11-rc1 2024-07-17 18:30:10 -07:00
saa7146 media: pci: saa7146: advertise only those TV standard that are supported 2023-04-15 08:56:05 +01:00
saa7164 media: pci: saa7164: replace BUG with error return 2023-07-25 09:24:31 +02:00
smipcie media: Convert from tasklet to BH workqueue 2024-06-21 08:57:09 +02:00
solo6x10 media: solo6x10: use 'time_left' variable with wait_for_completion_timeout() 2024-08-09 07:56:39 +02:00
sta2x11 media: sta2x11: fix irq handler cast 2024-02-16 11:46:33 +01:00
ttpci media: Convert from tasklet to BH workqueue 2024-06-21 08:57:09 +02:00
tw68 media: videobuf2: core: Rename min_buffers_needed field in vb2_queue 2023-12-13 17:31:27 +01:00
tw686x media: videobuf2: core: Rename min_buffers_needed field in vb2_queue 2023-12-13 17:31:27 +01:00
tw5864 media: Convert from tasklet to BH workqueue 2024-06-21 08:57:09 +02:00
zoran media: zoran: Remove zoran_fh structure 2025-10-15 12:00:04 +02:00
Kconfig media: pci: mgb4: Added Digiteq Automotive MGB4 driver 2023-10-07 10:51:58 +02:00
Makefile media: pci: mgb4: Added Digiteq Automotive MGB4 driver 2023-10-07 10:51:58 +02:00