{"id":"CVE-2025-37971","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-\u003ev4l2_dev.dev to\nvchiq_mmal_init, however nothing iniitialised dev-\u003ev4l2_dev, so we got\na NULL pointer dereference.\n\nSet dev-\u003ev4l2_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.","modified":"2026-04-02T12:47:41.791853Z","published":"2025-05-20T16:47:17.879Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37971.json","cna_assigner":"Linux"},"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"}],"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"}}],"schema_version":"1.7.5"}