CyberAlerts is shutting down on June 30th, 2025. Thank you for your support!

CVE-2025-37971: staging: bcm2835-camera: Initialise dev in v4l2_dev

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.

Classification

CVE ID: CVE-2025-37971

Affected Products

Vendor: Linux

Product: Linux

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.02% (probability of being exploited)

EPSS Percentile: 4.26% (scored less or equal to compared to others)

EPSS Date: 2025-06-18 (when was this score calculated)

References

https://nvd.nist.gov/vuln/detail/CVE-2025-37971
https://git.kernel.org/stable/c/06753f49336ab161ea0e249a0720125b81b7b31b
https://git.kernel.org/stable/c/b70bdd4923e8b8edbacde2af83ca337bb7005261
https://git.kernel.org/stable/c/98698ca0e58734bc5c1c24e5bbc7429f981cd186

Timeline