CVE-2025-37971

published 20 May 2025 · updated 11 May 2026

staging: bcm2835-camera: Initialise dev in v4l2_dev

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 06753f49336ab161ea0e249a0720125b81b7b31b, Kernel 98698ca0e58734bc5c1c24e5bbc7429f981cd186 and Kernel b70bdd4923e8b8edbacde2af83ca337bb7005261.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.10, >=42a2f6664e18874302623f31edef545ef41e1d14 <06753f49336ab161ea0e249a0720125b81b7b31b, >=42a2f6664e18874302623f31edef545ef41e1d14 <98698ca0e58734bc5c1c24e5bbc7429f981cd186, >=42a2f6664e18874302623f31edef545ef41e1d14 <b70bdd4923e8b8edbacde2af83ca337bb700526106753f49336ab161ea0e249a0720125b81b7b31b, 98698ca0e58734bc5c1c24e5bbc7429f981cd186, b70bdd4923e8b8edbacde2af83ca337bb7005261

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-37971 severity on Zeptric[![CVE-2025-37971](https://zeptric.io/badge/cve/CVE-2025-37971.svg)](https://zeptric.io/cve/CVE-2025-37971)