{"id":"CVE-2026-53135","summary":"drm/amd/display: Fix NULL deref and buffer over-read in SDP debugfs","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amd/display: Fix NULL deref and buffer over-read in SDP debugfs\n\n[Why & How]\ndp_sdp_message_debugfs_write() dereferences connector-\u003ebase.state-\u003ecrtc\nwithout checking for NULL. A connector can be connected but not bound to\nany CRTC (e.g. after hot-plug before the next atomic commit), causing a\nkernel crash when writing to the sdp_message debugfs node.\n\nThe function also ignores the user-provided size argument and always\npasses 36 bytes to copy_from_user(), reading past the user buffer when\nsize \u003c 36.\n\nFix both issues by:\n- Returning -ENODEV when connector-\u003ebase.state or state-\u003ecrtc is NULL\n- Clamping write_size to min(size, sizeof(data))\n\n(cherry picked from commit 6ab4c36a522842ff70474a1c0af2e40e50fc8300)","modified":"2026-07-09T18:29:36.060984111Z","published":"2026-06-25T08:38:24.216Z","related":["CGA-mhcm-jjg4-r87m"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53135.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/7ae95c0275c330b5dbae806f8e431720edad776f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7fc4fab4acc307ad2903312c195872b2953d32c3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a2de1d71891a038a9346b2c1a72b88c8350f2479"},{"type":"WEB","url":"https://git.kernel.org/stable/c/adf67034b1f61f7119295208085bfd43f85f56af"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b781f90a9528555c709e59789550893581ef0be4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bb6f705b73b5f191f14ad004e2c8c4b615806187"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c90954cdea4d6998ec345de0d840d030c145b89e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ee9cfcf77a8e8af637396dc00966df5f701e661c"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53135.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-53135"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"c7ba3653e9773256b2b08508a2ed2ca28ea7566b"},{"fixed":"ee9cfcf77a8e8af637396dc00966df5f701e661c"},{"fixed":"b781f90a9528555c709e59789550893581ef0be4"},{"fixed":"a2de1d71891a038a9346b2c1a72b88c8350f2479"},{"fixed":"7fc4fab4acc307ad2903312c195872b2953d32c3"},{"fixed":"7ae95c0275c330b5dbae806f8e431720edad776f"},{"fixed":"bb6f705b73b5f191f14ad004e2c8c4b615806187"},{"fixed":"c90954cdea4d6998ec345de0d840d030c145b89e"},{"fixed":"adf67034b1f61f7119295208085bfd43f85f56af"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53135.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.2.0"},{"fixed":"5.10.259"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.210"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.176"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.143"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.94"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.36"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.0.13"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53135.json"}}],"schema_version":"1.7.5"}