NULL pointer dereference in Linux
CVE-2025-37971
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.
EPSS: 0.002 (4.9th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
Affected products
- Linux — versions 42a2f6664e18874302623f31edef545ef41e1d14, 6.10, 0
- Linux Linux_kernel — versions 6.15
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2025-37971?
- CVE-2025-37971 is a medium-severity vulnerability in Linux, classified under NULL Pointer Dereference. CVSS score: 5.5/10. Published 2025-05-20.
- How severe is CVE-2025-37971?
- Medium severity. CVSS v3 base score is 5.5 out of 10.