# CVE-2025-40360: drm/sysfb: Do not dereference NULL pointer in plane reset

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.29% (percentile 14, 2026-11-26)
- **Published:** 2025-12-16T13:39:59.490Z
- **Modified:** 2026-10-14T13:10:00.187Z

## Who should check

- Anyone running Linux \>= b715650220311e50448cb499c71084ca8aeeeece, \< 6abeff03cb79a2c7f4554a8e8738acd35bb37152; \>= b715650220311e50448cb499c71084ca8aeeeece, \< c4faf7f417eea8b8d5cc570a1015736f307aa2d5; \>= b715650220311e50448cb499c71084ca8aeeeece, \< b61ed8005bd3102510fab5015ac6a275c9c5ea16; \>= b715650220311e50448cb499c71084ca8aeeeece, \< 6bdef5648a60e49d4a3b02461ab7ae3776877e77; \>= b715650220311e50448cb499c71084ca8aeeeece, \< c7d5e69866bbe95c1e4ab4c10a81e0a02d9ea232; \>= b715650220311e50448cb499c71084ca8aeeeece, \< 14e02ed3876f4ab0ed6d3f41972175f8b8df3d70
- Anyone running Linux 5.15

## 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

- Linux: \>= b715650220311e50448cb499c71084ca8aeeeece, \< 6abeff03cb79a2c7f4554a8e8738acd35bb37152; \>= b715650220311e50448cb499c71084ca8aeeeece, \< c4faf7f417eea8b8d5cc570a1015736f307aa2d5; \>= b715650220311e50448cb499c71084ca8aeeeece, \< b61ed8005bd3102510fab5015ac6a275c9c5ea16; \>= b715650220311e50448cb499c71084ca8aeeeece, \< 6bdef5648a60e49d4a3b02461ab7ae3776877e77; \>= b715650220311e50448cb499c71084ca8aeeeece, \< c7d5e69866bbe95c1e4ab4c10a81e0a02d9ea232; \>= b715650220311e50448cb499c71084ca8aeeeece, \< 14e02ed3876f4ab0ed6d3f41972175f8b8df3d70 (cvelist)
- Linux: 5.15 (cvelist)

## Mitigation

- Upgrade Linux to 14e02ed3876f4ab0ed6d3f41972175f8b8df3d70 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

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

## References

- other: <https://git.kernel.org/stable/c/6abeff03cb79a2c7f4554a8e8738acd35bb37152>
- other: <https://git.kernel.org/stable/c/c4faf7f417eea8b8d5cc570a1015736f307aa2d5>
- other: <https://git.kernel.org/stable/c/b61ed8005bd3102510fab5015ac6a275c9c5ea16>
- other: <https://git.kernel.org/stable/c/6bdef5648a60e49d4a3b02461ab7ae3776877e77>
- other: <https://git.kernel.org/stable/c/c7d5e69866bbe95c1e4ab4c10a81e0a02d9ea232>
- other: <https://git.kernel.org/stable/c/14e02ed3876f4ab0ed6d3f41972175f8b8df3d70>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-40360>

HTML: <https://flawdb.com/CVE-2025-40360> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-40360>
