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

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-02)
- Published: 2025-12-16T13:39:59.490Z
- Modified: 2026-10-14T13:10:00.187Z
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from b715650220311e50448cb499c71084ca8aeeeece before 6abeff03cb79a2c7f4554a8e8738acd35bb37152; from b715650220311e50448cb499c71084ca8aeeeece before c4faf7f417eea8b8d5cc570a1015736f307aa2d5; from b715650220311e50448cb499c71084ca8aeeeece before b61ed8005bd3102510fab5015ac6a275c9c5ea16; from b715650220311e50448cb499c71084ca8aeeeece before 6bdef5648a60e49d4a3b02461ab7ae3776877e77; from b715650220311e50448cb499c71084ca8aeeeece before c7d5e69866bbe95c1e4ab4c10a81e0a02d9ea232; from b715650220311e50448cb499c71084ca8aeeeece before 14e02ed3876f4ab0ed6d3f41972175f8b8df3d70; 5.15 (not affected: before 5.15; from 5.15.197 up to 5.15.*; from 6.1.159 up to 6.1.*; from 6.6.117 up to 6.6.*; from 6.12.58 up to 6.12.*; from 6.17.8 up to 6.17.*; from 6.18 up to *)

## References

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

## Sources

- CVE List: [CVE-2025-40360](https://www.cve.org/CVERecord?id=CVE-2025-40360), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2025-40360](https://nvd.nist.gov/vuln/detail/CVE-2025-40360), Public domain, modified 2026-10-14

---

Page: https://cve.day/CVE-2025-40360 · Whole record: https://cve.day/CVE-2025-40360.json · Rebuilt by cve.day 2026-11-25T22:59:09.473Z
