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

- Priority: **Insufficient evidence**
- Reason: No CVSS vector published; no exploitation reported by the 5 checked sources
- Next step: Check the vendor advisory
- Status: published
- Published: 2025-12-16 · Modified: 2026-05-11
- Aliases: UBUNTU-CVE-2025-40360, DEBIAN-CVE-2025-40360
- Record: https://cvemate.com/vulnerability/CVE-2025-40360 · JSON: https://cvemate.com/vulnerability/CVE-2025-40360/json

## Description

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

## Signals

- CVSS: none published
- EPSS: 0.222%, percentile 13.557%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 144)

- debian linux (Debian): \< 6.1.159-1 \| \< 6.12.63-1 \| \< 6.17.8-1
- ubuntu linux (Ubuntu): \< 5.15.0-173.183 \| \< 6.8.0-106.106 \| \< 6.17.0-14.14
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 5.15.0-1103.110 \| \< 6.8.0-1050.53 \| \< 6.17.0-1007.7
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1103.110~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.14 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.17 (Ubuntu): \< 6.17.0-1007.7~24.04.1
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1050.53~22.04.1
- ubuntu linux-aws-fips (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1103.110+fips1 \| \< 6.8.0-1050.53+fips1
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1109.118 \| \< 6.8.0-1051.57 \| \< 6.17.0-1008.8
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 35)

- <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>
- <https://ubuntu.com/security/CVE-2025-40360>
- <https://www.cve.org/CVERecord?id=CVE-2025-40360>
- <https://git.kernel.org/linus/14e02ed3876f4ab0ed6d3f41972175f8b8df3d70>
- <https://ubuntu.com/security/notices/USN-8029-1>
- <https://ubuntu.com/security/notices/USN-8030-1>
- <https://ubuntu.com/security/notices/USN-8029-2>
- <https://ubuntu.com/security/notices/USN-8048-1>
- <https://ubuntu.com/security/notices/USN-8029-3>
- <https://ubuntu.com/security/notices/USN-8095-1>
- <https://ubuntu.com/security/notices/USN-8096-1>
- <https://ubuntu.com/security/notices/USN-8100-1>
- <https://ubuntu.com/security/notices/USN-8095-2>
- <https://ubuntu.com/security/notices/USN-8096-2>
- <https://ubuntu.com/security/notices/USN-8095-3>

---

Data as of 2026-12-05T06:59:52.614Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
