CVE-2025-40360
drm/sysfb: Do not dereference NULL pointer in plane reset
Mitigation
- Upgrade Linux to 14e02ed3876f4ab0ed6d3f41972175f8b8df3d70 or later.
Who should check
- Anyone running Linux >= b715650220311e50448cb499c71084ca8aeeeece, < 6abeff03cb79a2c7f4554a8e8738acd35bb37152; >= b715650220311e50448cb499c71084ca8aeeeece, < c4faf7f417eea8b8d5cc570a1015736f307aa2d5; >= b715650220311e50448cb499c71084ca8aeeeece, < b61ed8005bd3102510fab5015ac6a275c9c5ea16; >= b715650220311e50448cb499c71084ca8aeeeece, < 6bdef5648a60e49d4a3b02461ab7ae3776877e77; >= b715650220311e50448cb499c71084ca8aeeeece, < c7d5e69866bbe95c1e4ab4c10a81e0a02d9ea232; >= b715650220311e50448cb499c71084ca8aeeeece, < 14e02ed3876f4ab0ed6d3f41972175f8b8df3d70
- Anyone running Linux 5.15
Vulnerability facts
- Affected
- Linux >= b715650220311e50448cb499c71084ca8aeeeece, < 6abeff03cb79a2c7f4554a8e8738acd35bb37152; >= b715650220311e50448cb499c71084ca8aeeeece, < c4faf7f417eea8b8d5cc570a1015736f307aa2d5; >= b715650220311e50448cb499c71084ca8aeeeece, < b61ed8005bd3102510fab5015ac6a275c9c5ea16; >= b715650220311e50448cb499c71084ca8aeeeece, < 6bdef5648a60e49d4a3b02461ab7ae3776877e77; >= b715650220311e50448cb499c71084ca8aeeeece, < c7d5e69866bbe95c1e4ab4c10a81e0a02d9ea232; >= b715650220311e50448cb499c71084ca8aeeeece, < 14e02ed3876f4ab0ed6d3f41972175f8b8df3d70; Linux 5.15
- Fixed in
- Linux 6abeff03cb79a2c7f4554a8e8738acd35bb37152, Linux 6bdef5648a60e49d4a3b02461ab7ae3776877e77, Linux 14e02ed3876f4ab0ed6d3f41972175f8b8df3d70
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.29% chance of exploitation in 30 days (percentile 14, 2026-11-26)
- Modified
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)
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= b715650220311e50448cb499c71084ca8aeeeece, < 6abeff03cb79a2c7f4554a8e8738acd35bb37152; >= b715650220311e50448cb499c71084ca8aeeeece, < c4faf7f417eea8b8d5cc570a1015736f307aa2d5; >= b715650220311e50448cb499c71084ca8aeeeece, < b61ed8005bd3102510fab5015ac6a275c9c5ea16; >= b715650220311e50448cb499c71084ca8aeeeece, < 6bdef5648a60e49d4a3b02461ab7ae3776877e77; >= b715650220311e50448cb499c71084ca8aeeeece, < c7d5e69866bbe95c1e4ab4c10a81e0a02d9ea232; >= b715650220311e50448cb499c71084ca8aeeeece, < 14e02ed3876f4ab0ed6d3f41972175f8b8df3d70 | — | cvelist |
| Linux | 5.15 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-40360. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-40360.md Affected: Linux >= b715650220311e50448cb499c71084ca8aeeeece, < 6abeff03cb79a2c7f4554a8e8738acd35bb37152; >= b715650220311e50448cb499c71084ca8aeeeece, < c4faf7f417eea8b8d5cc570a1015736f307aa2d5; >= b715650220311e50448cb499c71084ca8aeeeece, < b61ed8005bd3102510fab5015ac6a275c9c5ea16; >= b715650220311e50448cb49… Fixed in: Linux 6abeff03cb79a2c7f4554a8e8738acd35bb37152, Linux 6bdef5648a60e49d4a3b02461ab7ae3776877e77, Linux 14e02ed3876f4ab0ed6d3f41972175f8b8df3d70 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Other
- https://git.kernel.org/stable/c/6abeff03cb79a2c7f4554a8e8738acd35bb37152
- https://git.kernel.org/stable/c/c4faf7f417eea8b8d5cc570a1015736f307aa2d5
- https://git.kernel.org/stable/c/b61ed8005bd3102510fab5015ac6a275c9c5ea16
- https://git.kernel.org/stable/c/6bdef5648a60e49d4a3b02461ab7ae3776877e77
- https://git.kernel.org/stable/c/c7d5e69866bbe95c1e4ab4c10a81e0a02d9ea232
- https://git.kernel.org/stable/c/14e02ed3876f4ab0ed6d3f41972175f8b8df3d70
FAQ
Is CVE-2025-40360 being exploited?
There is no confirmed exploitation: CVE-2025-40360 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-40360?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2025-40360?
Linux >= b715650220311e50448cb499c71084ca8aeeeece, < 6abeff03cb79a2c7f4554a8e8738acd35bb37152; >= b715650220311e50448cb499c71084ca8aeeeece, < c4faf7f417eea8b8d5cc570a1015736f307aa2d5; >= b715650220311e50448cb499c71084ca8aeeeece, < b61ed8005bd3102510fab5015ac6a275c9c5ea16; >= b715650220311e50448cb499c71084ca8aeeeece, < 6bdef5648a60e49d4a3b02461ab7ae3776877e77; >= b715650220311e50448cb499c71084ca8aeeeece, < c7d5e69866bbe95c1e4ab4c10a81e0a02d9ea232; >= b715650220311e50448cb499c71084ca8aeeeece, < 14e02ed3876f4ab0ed6d3f41972175f8b8df3d70; Linux 5.15.
Is there a fix for CVE-2025-40360?
Yes. Fixed in Linux 6abeff03cb79a2c7f4554a8e8738acd35bb37152, Linux 6bdef5648a60e49d4a3b02461ab7ae3776877e77, Linux 14e02ed3876f4ab0ed6d3f41972175f8b8df3d70. Upgrade Linux to 14e02ed3876f4ab0ed6d3f41972175f8b8df3d70 or later.
How do I check if I'm affected by CVE-2025-40360?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.