linux-stable/drivers/staging/vc04_services
Dan Carpenter b5b47f4677 staging: vc04_services: fix information leak in create_component()
commit f37e76abd6 upstream.

The m.u.component_create.pid field is for debugging and in the mainline
kernel it's not used anything.  However, it still needs to be set to
something to prevent disclosing uninitialized stack data.  Set it to
zero.

Fixes: 7b3ad5abf0 ("staging: Import the BCM2835 MMAL-based V4L2 camera driver.")
Cc: stable <stable@kernel.org>
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://lore.kernel.org/r/2d972847-9ebd-481b-b6f9-af390f5aabd3@moroto.mountain
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-04-03 15:32:45 +02:00
..
bcm2835-audio staging: bcm2835-audio: remove function snd_bcm2835_new_ctl() 2023-10-21 12:00:39 +02:00
bcm2835-camera staging: vc04_services: use snprintf instead of sprintf 2023-10-27 13:09:42 +02:00
include/linux/raspberrypi staging: vchiq_arm: Remove extra struct vchiq_instance declaration 2023-06-20 16:11:16 +02:00
interface staging: vc04_services: vchiq_dev: Use %p to log pointer address 2023-12-09 15:06:35 +01:00
vchiq-mmal staging: vc04_services: fix information leak in create_component() 2024-04-03 15:32:45 +02:00
Kconfig staging: vc04_services: Re-add dependency on HAS_DMA to BCM2835_VCHIQ 2022-04-26 11:29:59 +02:00
Makefile staging: vc04_services: vchiq_arm: Add new bus type and device type 2023-10-05 10:04:45 +02:00