CVE-2025-37971 – Raspberry Pi bcm2835-camera Null Pointer Dereference Vulnerability

The following table lists the changes that have been made to the
CVE-2025-37971 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution
of a vulnerability, and for identifying the most recent changes that may
impact the vulnerability’s severity, exploitability, or other characteristics.

  • New CVE Received
    by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    May. 20, 2025

    Action Type Old Value New Value
    Added Description 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.

    Added Reference https://git.kernel.org/stable/c/06753f49336ab161ea0e249a0720125b81b7b31b
    Added Reference https://git.kernel.org/stable/c/98698ca0e58734bc5c1c24e5bbc7429f981cd186
    Added Reference https://git.kernel.org/stable/c/b70bdd4923e8b8edbacde2af83ca337bb7005261
Share the Post:

Related Posts