linux/drivers/media/pci
David Lechner b792eba444 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:37:20 +02:00
..
b2c2 media: b2c2: Fix use-after-free causing by irq_check_work in flexcop_pci_remove 2025-10-06 11:20:05 +02:00
bt8xx treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
cobalt media: replace obsolete hans.verkuil@cisco.com alias 2024-11-08 13:38:09 +01:00
cx18 media: cx18: Add missing check after DMA map 2025-10-19 16:37:20 +02:00
cx88 media: Switch to use hrtimer_setup() 2025-02-18 11:19:04 +01:00
cx23885 media: cx23885: Add analog support for AVerMedia H789-C PCIe card 2025-03-04 15:56:11 +01:00
cx25821 media: pci: drop vb2_ops_wait_prepare/finish 2024-10-28 09:19:53 +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: drop vb2_ops_wait_prepare/finish 2024-10-28 09:19:53 +01:00
intel media: ipu6: isys: Set minimum height to 1 2025-07-10 11:32:23 +02:00
ivtv media: pci: ivtv: Add missing check after DMA map 2025-10-19 16:37:20 +02:00
mantis media: mantis: remove orphan mantis_core.h 2024-10-28 15:35:56 +01:00
mgb4 media: pci: mg4b: fix uninitialized iio scan data 2025-10-19 16:37:20 +02:00
netup_unidvb treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02: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: Replace deprecated PCI functions 2025-04-25 15:14:30 +02:00
saa7134 treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
saa7146 media: pci: saa7146: advertise only those TV standard that are supported 2023-04-15 08:56:05 +01:00
saa7164 media: saa7164: Remove unused functions 2025-06-17 10:35:14 +02:00
smipcie media: Convert from tasklet to BH workqueue 2024-06-21 08:57:09 +02:00
solo6x10 treewide: rename GPIO set callbacks back to their original names 2025-08-07 10:07:06 +02:00
ttpci media: Convert from tasklet to BH workqueue 2024-06-21 08:57:09 +02:00
tw68 media: pci: drop vb2_ops_wait_prepare/finish 2024-10-28 09:19:53 +01:00
tw686x treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
tw5864 media: tw5864: Replace deprecated PCI functions 2025-04-25 15:14:31 +02:00
zoran media: zoran: Remove zoran_fh structure 2025-10-15 12:03:41 +02:00
Kconfig media: remove STA2x11 media pci driver 2025-04-25 15:14:25 +02:00
Makefile media: remove STA2x11 media pci driver 2025-04-25 15:14:25 +02:00