CVE-2025-40360
Linux Kernel vulnerability analysis and mitigation

Overview

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).

Technical details

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).

Impact

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).

Mitigation and workarounds

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).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-64181HIGH7.8
  • Linux Kernel logoLinux Kernel
  • linux-azure-4.15
NoYesJul 19, 2026
CVE-2026-64186NONEN/A
  • Linux Kernel logoLinux Kernel
  • libperf
NoYesJul 19, 2026
CVE-2026-64183NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-aws-6.14
NoYesJul 19, 2026
CVE-2026-64182NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-oracle-6.17
NoYesJul 19, 2026
CVE-2026-64180NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-5.4
NoYesJul 19, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management