VYPR
Unrated severityNVD Advisory· Published Dec 16, 2025· Updated Apr 15, 2026

CVE-2025-40360

CVE-2025-40360

Description

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

drm/sysfb: Do not dereference NULL pointer in plane reset

The plane state in __drm_gem_reset_shadow_plane() can be NULL. Do not deref that pointer, but forward NULL to the other plane-reset helpers. Clears plane->state to NULL.

v2: - fix typo in commit description (Javier)

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

A null-pointer dereference in the Linux kernel's drm/sysfb plane reset was fixed by adding a NULL check.

Vulnerability

Description

A null-pointer dereference vulnerability exists in the Linux kernel's drm/sysfb subsystem, specifically in the __drm_gem_reset_shadow_plane() function. The function does not check if the plane state pointer is NULL before dereferencing it, leading to a potential crash when a system with certain graphics configurations attempts to reset the plane [1].

Exploitation

An attacker would need to be able to trigger a plane reset operation on a system using the affected kernel versions. This could be achieved by a user with local access or by unprivileged code that causes the DRM subsystem to perform a plane reset, such as during display mode changes or certain graphics operations. No authentication is required beyond the ability to interact with the DRM subsystem [2].

Impact

Successful exploitation could lead to a denial of service (system crash) or potentially other undefined behavior due to the null-pointer dereference. The issue is considered moderate severity as it requires local access or specific conditions to trigger, but it could result in system instability [3].

Mitigation

The fix, which checks for NULL before dereferencing the plane state pointer and properly forwards NULL to other helpers, has been applied to the Linux kernel stable tree [1]. Systems should apply the available kernel updates to remediate this vulnerability.

AI Insight generated on May 19, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

2
  • Linux/Kernelinferred2 versions
    (expand)+ 1 more
    • (no CPE)
    • (no CPE)

Patches

6

Vulnerability mechanics

Generated on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.

References

6

News mentions

0

No linked articles in our index yet.