{"schema_version":"1.9.0","id":"CVE-2025-37971","published":"2025-05-20T16:47:17.879Z","modified":"2026-08-12T03:51:24.018711302Z","summary":"staging: bcm2835-camera: Initialise dev in v4l2_dev","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nstaging: bcm2835-camera: Initialise dev in v4l2_dev\n\nCommit 42a2f6664e18 (\"staging: vc04_services: Move global g_state to\nvchiq_state\") changed mmal_init to pass dev->v4l2_dev.dev to\nvchiq_mmal_init, however nothing iniitialised dev->v4l2_dev, so we got\na NULL pointer dereference.\n\nSet dev->v4l2_dev.dev during bcm2835_mmal_probe. The device pointer\ncould be passed into v4l2_device_register to set it, however that also\nhas other effects that would need additional changes.","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/cve-osv-conversion/osv-output/CVE-2025-37971.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.10.0"},{"fixed":"6.12.29"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.14.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-37971.json"}}],"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/06753f49336ab161ea0e249a0720125b81b7b31b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/98698ca0e58734bc5c1c24e5bbc7429f981cd186"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b70bdd4923e8b8edbacde2af83ca337bb7005261"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37971.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-37971"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37971.json"}}