CVE-2025-37971
JSON

5.5medium

staging: bcm2835-camera: Initialise dev in v4l2_dev

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.19% (higher than 8% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: staging: bcm2835-camera: Initialise dev in v4l2_dev Commit 42a2f6664e18 ("staging: vc04_services: Move global g_state to vchiq_state") changed mmal_init to pass dev->v4l2_dev.dev to vchiq_mmal_init, however nothing iniitialised dev->v4l2_dev, so we got a NULL pointer dereference. Set dev->v4l2_dev.dev during bcm2835_mmal_probe. The device pointer could be passed into v4l2_device_register to set it, however that also has other effects that would need additional changes.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 42a2f6664e18874302623f31edef545ef41e1d14 before 06753f49336ab161ea0e249a0720125b81b7b31b, from 42a2f6664e18874302623f31edef545ef41e1d14 before b70bdd4923e8b8edbacde2af83ca337bb7005261, from 42a2f6664e18874302623f31edef545ef41e1d14 before 98698ca0e58734bc5c1c24e5bbc7429f981cd186, 6.10
Not affected: before 6.10, from 6.12.29 up to 6.12.*, from 6.14.7 up to 6.14.*, from 6.15 up to *
CVE List
linux linux_kernelfrom 6.10 before 6.12.29, from 6.13 before 6.14.7, 6.15NVD

Classification

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: staging: bcm2835-camera: Initialise dev in v4l2_dev Commit 42a2f6664e18 ("staging: vc04_services: Move global g_state to vchiq_state") changed mmal_init to pass dev->v4l2_dev.dev to vchiq_mmal_init, however nothing iniitialised dev->v4l2_dev, so we got a NULL pointer dereference. Set dev->v4l2_dev.dev during bcm2835_mmal_probe. The device pointer could be passed into v4l2_device_register to set it, however that also has other effects that would need additional changes.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: staging: bcm2835-camera: Inicializar dev en v4l2_dev. el commit 42a2f6664e18 ("staging: vc04_services: Mover global g_state a vchiq_state") modificó mmal_init para pasar dev->v4l2_dev.dev a vchiq_mmal_init. Sin embargo, no se inicializó dev->v4l2_dev, por lo que se obtuvo una desreferencia de puntero nulo. Se estableció dev->v4l2_dev.dev durante bcm2835_mmal_probe. El puntero del dispositivo se podría pasar a v4l2_device_register para establecerlo; sin embargo, esto también tiene otros efectos que requerirían cambios adicionales.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-37971 changed 2026-05-11CVE Terms of Use
NVDCVE-2025-37971 changed 2026-06-17Public domain