What’s Vulnerable › Vulnerabilities
CVE-2025-37971: staging: bcm2835-camera: Initialise dev in v4l2_dev
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-05-20 · updated 2026-06-17
- Weakness: CWE-476
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 products
- Linux kernel: from 6.10 before 6.12.29; from 6.13 before 6.14.7; 6.15-rc1, 6.15-rc2, 6.15-rc3, 6.15-rc4, 6.15-rc5 — fixed in 6.12.29, 6.14.7
How to fix
Upgrade to a fixed version: Linux kernel 6.12.29, 6.14.7. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/06753f49336ab161ea0e249a0720125b81b7b31b
- https://git.kernel.org/stable/c/98698ca0e58734bc5c1c24e5bbc7429f981cd186
- https://git.kernel.org/stable/c/b70bdd4923e8b8edbacde2af83ca337bb7005261
Get alerted when CVE-2025-37971 or the next vulnerability affects your stack