# CVE-2026-53135: drm/amd/display: Fix NULL deref and buffer over-read in SDP debugfs

- 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.12%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-06-25T08:38:24.216Z
- Modified: 2026-11-06T17:18:09.507Z
- 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/amd/display: Fix NULL deref and buffer over-read in SDP debugfs

[Why & How]
dp_sdp_message_debugfs_write() dereferences connector->base.state->crtc
without checking for NULL. A connector can be connected but not bound to
any CRTC (e.g. after hot-plug before the next atomic commit), causing a
kernel crash when writing to the sdp_message debugfs node.

The function also ignores the user-provided size argument and always
passes 36 bytes to copy_from_user(), reading past the user buffer when
size < 36.

Fix both issues by:
- Returning -ENODEV when connector->base.state or state->crtc is NULL
- Clamping write_size to min(size, sizeof(data))

(cherry picked from commit 6ab4c36a522842ff70474a1c0af2e40e50fc8300)

(As written by CVE List.)

## Affected

- Linux Linux: from c7ba3653e9773256b2b08508a2ed2ca28ea7566b before ee9cfcf77a8e8af637396dc00966df5f701e661c; from c7ba3653e9773256b2b08508a2ed2ca28ea7566b before b781f90a9528555c709e59789550893581ef0be4; from c7ba3653e9773256b2b08508a2ed2ca28ea7566b before a2de1d71891a038a9346b2c1a72b88c8350f2479; from c7ba3653e9773256b2b08508a2ed2ca28ea7566b before 7fc4fab4acc307ad2903312c195872b2953d32c3; from c7ba3653e9773256b2b08508a2ed2ca28ea7566b before 7ae95c0275c330b5dbae806f8e431720edad776f; from c7ba3653e9773256b2b08508a2ed2ca28ea7566b before bb6f705b73b5f191f14ad004e2c8c4b615806187; from c7ba3653e9773256b2b08508a2ed2ca28ea7566b before c90954cdea4d6998ec345de0d840d030c145b89e; from c7ba3653e9773256b2b08508a2ed2ca28ea7566b before adf67034b1f61f7119295208085bfd43f85f56af; 5.2 (not affected: before 5.2; from 5.10.259 up to 5.10.*; from 5.15.210 up to 5.15.*; from 6.1.176 up to 6.1.*; from 6.6.143 up to 6.6.*; from 6.12.94 up to 6.12.*; from 6.18.36 up to 6.18.*; from 7.0.13 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 5.2 before 5.10.259; from 5.11 before 5.15.210; from 5.16 before 6.1.176; from 6.2 before 6.6.143; from 6.7 before 6.12.94; from 6.13 before 6.18.36; from 6.19 before 7.0.13; 7.1

## References

- <https://git.kernel.org/stable/c/ee9cfcf77a8e8af637396dc00966df5f701e661c> (patch)
- <https://git.kernel.org/stable/c/b781f90a9528555c709e59789550893581ef0be4> (patch)
- <https://git.kernel.org/stable/c/a2de1d71891a038a9346b2c1a72b88c8350f2479> (patch)
- <https://git.kernel.org/stable/c/7fc4fab4acc307ad2903312c195872b2953d32c3> (patch)
- <https://git.kernel.org/stable/c/7ae95c0275c330b5dbae806f8e431720edad776f> (patch)
- <https://git.kernel.org/stable/c/bb6f705b73b5f191f14ad004e2c8c4b615806187> (patch)
- <https://git.kernel.org/stable/c/c90954cdea4d6998ec345de0d840d030c145b89e> (patch)
- <https://git.kernel.org/stable/c/adf67034b1f61f7119295208085bfd43f85f56af> (patch)

## Sources

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

---

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