CVE-2025-37971

Source
https://cve.org/CVERecord?id=CVE-2025-37971
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-37971.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-37971
Downstream
Published
2025-05-20T16:47:17.879Z
Modified
2026-03-09T23:52:03.171853Z
Summary
staging: bcm2835-camera: Initialise dev in v4l2_dev
Details

In the Linux kernel, the following vulnerability has been resolved:

staging: bcm2835-camera: Initialise dev in v4l2_dev

Commit 42a2f6664e18 ("staging: vc04services: Move global gstate to vchiqstate") changed mmalinit to pass dev->v4l2dev.dev to vchiqmmalinit, however nothing iniitialised dev->v4l2dev, so we got a NULL pointer dereference.

Set dev->v4l2dev.dev during bcm2835mmalprobe. The device pointer could be passed into v4l2device_register to set it, however that also has other effects that would need additional changes.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37971.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
42a2f6664e18874302623f31edef545ef41e1d14
Fixed
06753f49336ab161ea0e249a0720125b81b7b31b
Fixed
b70bdd4923e8b8edbacde2af83ca337bb7005261
Fixed
98698ca0e58734bc5c1c24e5bbc7429f981cd186

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-37971.json"