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

Summary

CVECVE-2026-53135
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-06-25 09:16:30 UTC
Updated2026-06-25 09:16:30 UTC
DescriptionIn 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)

Risk And Classification

EPSS: 0.001760000 probability, percentile 0.073860000 (date 2026-06-26)

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected c7ba3653e9773256b2b08508a2ed2ca28ea7566b ee9cfcf77a8e8af637396dc00966df5f701e661c git Not specified
CNA Linux Linux affected c7ba3653e9773256b2b08508a2ed2ca28ea7566b b781f90a9528555c709e59789550893581ef0be4 git Not specified
CNA Linux Linux affected c7ba3653e9773256b2b08508a2ed2ca28ea7566b a2de1d71891a038a9346b2c1a72b88c8350f2479 git Not specified
CNA Linux Linux affected c7ba3653e9773256b2b08508a2ed2ca28ea7566b 7fc4fab4acc307ad2903312c195872b2953d32c3 git Not specified
CNA Linux Linux affected c7ba3653e9773256b2b08508a2ed2ca28ea7566b 7ae95c0275c330b5dbae806f8e431720edad776f git Not specified
CNA Linux Linux affected c7ba3653e9773256b2b08508a2ed2ca28ea7566b bb6f705b73b5f191f14ad004e2c8c4b615806187 git Not specified
CNA Linux Linux affected c7ba3653e9773256b2b08508a2ed2ca28ea7566b c90954cdea4d6998ec345de0d840d030c145b89e git Not specified
CNA Linux Linux affected c7ba3653e9773256b2b08508a2ed2ca28ea7566b adf67034b1f61f7119295208085bfd43f85f56af git Not specified
CNA Linux Linux affected 5.2 Not specified
CNA Linux Linux unaffected 5.2 semver Not specified
CNA Linux Linux unaffected 5.10.259 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.210 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.176 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.143 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.94 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.36 6.18.* semver Not specified
CNA Linux Linux unaffected 7.0.13 7.0.* semver Not specified
CNA Linux Linux unaffected 7.1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/b781f90a9528555c709e59789550893581ef0be4 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/adf67034b1f61f7119295208085bfd43f85f56af 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/ee9cfcf77a8e8af637396dc00966df5f701e661c 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/7ae95c0275c330b5dbae806f8e431720edad776f 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/bb6f705b73b5f191f14ad004e2c8c4b615806187 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/a2de1d71891a038a9346b2c1a72b88c8350f2479 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/7fc4fab4acc307ad2903312c195872b2953d32c3 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/c90954cdea4d6998ec345de0d840d030c145b89e 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report