# CVE-2026-31571: drm/i915: Unlink NV12 planes earlier

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- 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.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-04-24T14:35:50.094Z
- Modified: 2026-11-11T23:10:00.263Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

drm/i915: Unlink NV12 planes earlier

unlink_nv12_plane() will clobber parts of the plane state
potentially already set up by plane_atomic_check(), so we
must make sure not to call the two in the wrong order.
The problem happens when a plane previously selected as
a Y plane is now configured as a normal plane by user space.
plane_atomic_check() will first compute the proper plane
state based on the userspace request, and unlink_nv12_plane()
later clears some of the state.

This used to work on account of unlink_nv12_plane() skipping
the state clearing based on the plane visibility. But I removed
that check, thinking it was an impossible situation. Now when
that situation happens unlink_nv12_plane() will just WARN
and proceed to clobber the state.

Rather than reverting to the old way of doing things, I think
it's more clear if we unlink the NV12 planes before we even
compute the new plane state.

(cherry picked from commit 017ecd04985573eeeb0745fa2c23896fb22ee0cc)

(As written by CVE List.)

## Affected

- Linux Linux: from 6a01df2f1b2a3b29721143729a3feff816bc0083 before 70e2eb91cb6310a3508439f6f2539dfffa0abf77; from 6a01df2f1b2a3b29721143729a3feff816bc0083 before 12f3b6cbab8fbeb95097685b40f0147406cf9746; from 6a01df2f1b2a3b29721143729a3feff816bc0083 before bfa71b7a9dc6b5b8af157686e03308291141d00c; 6.15 (not affected: before 6.15; from 6.18.21 up to 6.18.*; from 6.19.11 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 6.15.1 before 6.18.21; from 6.19 before 6.19.11; 6.15; 7.0

## References

- <https://git.kernel.org/stable/c/70e2eb91cb6310a3508439f6f2539dfffa0abf77> (patch)
- <https://git.kernel.org/stable/c/12f3b6cbab8fbeb95097685b40f0147406cf9746> (patch)
- <https://git.kernel.org/stable/c/bfa71b7a9dc6b5b8af157686e03308291141d00c> (patch)

## Sources

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

---

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