
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-40360 is a NULL pointer dereference vulnerability in the Linux kernel's DRM (Direct Rendering Manager) subsystem, specifically in the drm/sysfb driver's plane reset handling. The flaw exists in __drm_gem_reset_shadow_plane(), where the plane state can be NULL but was previously dereferenced without validation. It was published on December 16, 2025, and affects Linux kernel versions from 5.15 onward, with fixes backported to stable releases 5.15.197, 6.1.159, 6.6.117, 6.12.58, 6.17.8, and 6.18. The EPSS score is approximately 0.024% (very low), and no CVSS score has been formally assigned (Feedly, EUVD).
The root cause is a NULL pointer dereference (CWE-476) in the __drm_gem_reset_shadow_plane() function within the Linux kernel's drm/sysfb subsystem. When the plane state is NULL, the code previously attempted to dereference it directly rather than forwarding the NULL value to downstream plane-reset helper functions, which can handle NULL inputs. The fix ensures that NULL is propagated correctly and that plane->state is cleared to NULL rather than causing a kernel crash. No public proof-of-concept exploit code or technical write-ups beyond the kernel commit description are known at this time (Feedly).
Successful triggering of this vulnerability would cause a kernel NULL pointer dereference, resulting in a kernel panic or system crash, impacting availability. The vulnerability is local in nature and primarily affects systems using the drm/sysfb framebuffer driver. There is no known confidentiality or integrity impact, and lateral movement potential is minimal given the crash-only nature of the flaw (Feedly, EUVD).
The Linux kernel maintainers have released patches addressing this vulnerability in the following stable versions: 5.15.197, 6.1.159, 6.6.117, 6.12.58, 6.17.8, and 6.18. Downstream distributions including Ubuntu (USN-8096-1, USN-8096-2, USN-8096-3, USN-8116-1), Debian (DLA-4436-1), and Amazon Linux 2 (ALAS2KERNEL-5.15-2025-096) have also issued updated kernel packages. Administrators should update to the patched kernel version appropriate for their distribution as soon as possible (Ubuntu Advisory, Debian LTS, Amazon Linux).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."