{"id":"CVE-2025-37971","aliases":["CVE-2025-37971"],"related":[],"kind":"vulnerability","state":"published","title":"staging: bcm2835-camera: Initialise dev in v4l2_dev","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: staging: bcm2835-camera: Inicializar dev en v4l2_dev. el commit 42a2f6664e18 (\"staging: vc04_services: Mover global g_state a vchiq_state\") modificó mmal_init para pasar dev-&gt;v4l2_dev.dev a vchiq_mmal_init. Sin embargo, no se inicializó dev-&gt;v4l2_dev, por lo que se obtuvo una desreferencia de puntero nulo. Se estableció dev-&gt;v4l2_dev.dev durante bcm2835_mmal_probe. El puntero del dispositivo se podría pasar a v4l2_device_register para establecerlo; sin embargo, esto también tiene otros efectos que requerirían cambios adicionales.","source":"nvd"}],"published":"2025-05-20T16:47:17.879Z","modified":"2026-06-17T09:15:48.167Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"42a2f6664e18874302623f31edef545ef41e1d14","fixed":"06753f49336ab161ea0e249a0720125b81b7b31b","status":"affected"},{"type":"git","introduced":"42a2f6664e18874302623f31edef545ef41e1d14","fixed":"b70bdd4923e8b8edbacde2af83ca337bb7005261","status":"affected"},{"type":"git","introduced":"42a2f6664e18874302623f31edef545ef41e1d14","fixed":"98698ca0e58734bc5c1c24e5bbc7429f981cd186","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.10","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.10","status":"unaffected"},{"type":"semver","introduced":"6.12.29","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.14.7","lastAffected":"6.14.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.15","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.10","fixed":"6.12.29"},{"status":"affected","introduced":"6.13","fixed":"6.14.7"},{"status":"affected","version":"6.15"},{"status":"affected","version":"6.15"},{"status":"affected","version":"6.15"},{"status":"affected","version":"6.15"},{"status":"affected","version":"6.15"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/06753f49336ab161ea0e249a0720125b81b7b31b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b70bdd4923e8b8edbacde2af83ca337bb7005261","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/98698ca0e58734bc5c1c24e5bbc7429f981cd186","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-37971","url":"https://www.cve.org/CVERecord?id=CVE-2025-37971","licence":"CVE Terms of Use","modified":"2026-05-11T21:18:47.057Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-37971","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-37971","licence":"Public domain","modified":"2026-06-17T09:15:48.167Z"}],"updatedAt":"2026-11-25T22:58:58.315Z","epss":{"score":0.00187,"percentile":0.08691,"date":"2026-12-01T12:00:22.000Z"}}