# CVE-2026-23366: drm/client: Do not destroy NULL modes

- 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.14%, higher than 3% of CVEs (2026-12-02)
- Published: 2026-03-25T10:27:48.311Z
- Modified: 2026-11-05T22:18:17.700Z
- Weaknesses: CWE-476
- 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/client: Do not destroy NULL modes

'modes' in drm_client_modeset_probe may fail to kcalloc.  If this
occurs, we jump to 'out', calling modes_destroy on it, which
dereferences it.  This may result in a NULL pointer dereference in the
error case.  Prevent that.

(As written by CVE List.)

## Affected

- Linux Linux: from 3039cc0c0653c6e15130a8719c3237329a954670 before 4e3ca5f82346cc23c0a71f1ceb006115ff6b0745; from 3039cc0c0653c6e15130a8719c3237329a954670 before 9aa3e33f0c7f2679ac599a09e3102c8f716a6321; from 3039cc0c0653c6e15130a8719c3237329a954670 before c601fd5414315fc515f746b499110e46272e7243; 6.16 (not affected: before 6.16; from 6.18.17 up to 6.18.*; from 6.19.7 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 6.16.1 before 6.18.17; from 6.19 before 6.19.7; 6.16; 7.0

## References

- <https://git.kernel.org/stable/c/4e3ca5f82346cc23c0a71f1ceb006115ff6b0745> (patch)
- <https://git.kernel.org/stable/c/9aa3e33f0c7f2679ac599a09e3102c8f716a6321> (patch)
- <https://git.kernel.org/stable/c/c601fd5414315fc515f746b499110e46272e7243> (patch)

## Sources

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

---

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