CVE-2026-53135 (GCVE-0-2026-53135)
Vulnerability from cvelistv5 – Published: 2026-06-25 08:38 – Updated: 2026-06-25 08:38
VLAI
Title
drm/amd/display: Fix NULL deref and buffer over-read in SDP debugfs
Summary
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)
Severity
No CVSS data available.
Assigner
References
8 references
Impacted products
2 products
| Vendor | Product | Version | |
|---|---|---|---|
| Linux | Linux |
Affected:
c7ba3653e9773256b2b08508a2ed2ca28ea7566b , < ee9cfcf77a8e8af637396dc00966df5f701e661c
(git)
Affected: c7ba3653e9773256b2b08508a2ed2ca28ea7566b , < b781f90a9528555c709e59789550893581ef0be4 (git) Affected: c7ba3653e9773256b2b08508a2ed2ca28ea7566b , < a2de1d71891a038a9346b2c1a72b88c8350f2479 (git) Affected: c7ba3653e9773256b2b08508a2ed2ca28ea7566b , < 7fc4fab4acc307ad2903312c195872b2953d32c3 (git) Affected: c7ba3653e9773256b2b08508a2ed2ca28ea7566b , < 7ae95c0275c330b5dbae806f8e431720edad776f (git) Affected: c7ba3653e9773256b2b08508a2ed2ca28ea7566b , < bb6f705b73b5f191f14ad004e2c8c4b615806187 (git) Affected: c7ba3653e9773256b2b08508a2ed2ca28ea7566b , < c90954cdea4d6998ec345de0d840d030c145b89e (git) Affected: c7ba3653e9773256b2b08508a2ed2ca28ea7566b , < adf67034b1f61f7119295208085bfd43f85f56af (git) |
|
| Linux | Linux |
Affected:
5.2
Unaffected: 0 , < 5.2 (semver) Unaffected: 5.10.259 , ≤ 5.10.* (semver) Unaffected: 5.15.210 , ≤ 5.15.* (semver) Unaffected: 6.1.176 , ≤ 6.1.* (semver) Unaffected: 6.6.143 , ≤ 6.6.* (semver) Unaffected: 6.12.94 , ≤ 6.12.* (semver) Unaffected: 6.18.36 , ≤ 6.18.* (semver) Unaffected: 7.0.13 , ≤ 7.0.* (semver) Unaffected: 7.1 , ≤ * (original_commit_for_fix) |
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "ee9cfcf77a8e8af637396dc00966df5f701e661c",
"status": "affected",
"version": "c7ba3653e9773256b2b08508a2ed2ca28ea7566b",
"versionType": "git"
},
{
"lessThan": "b781f90a9528555c709e59789550893581ef0be4",
"status": "affected",
"version": "c7ba3653e9773256b2b08508a2ed2ca28ea7566b",
"versionType": "git"
},
{
"lessThan": "a2de1d71891a038a9346b2c1a72b88c8350f2479",
"status": "affected",
"version": "c7ba3653e9773256b2b08508a2ed2ca28ea7566b",
"versionType": "git"
},
{
"lessThan": "7fc4fab4acc307ad2903312c195872b2953d32c3",
"status": "affected",
"version": "c7ba3653e9773256b2b08508a2ed2ca28ea7566b",
"versionType": "git"
},
{
"lessThan": "7ae95c0275c330b5dbae806f8e431720edad776f",
"status": "affected",
"version": "c7ba3653e9773256b2b08508a2ed2ca28ea7566b",
"versionType": "git"
},
{
"lessThan": "bb6f705b73b5f191f14ad004e2c8c4b615806187",
"status": "affected",
"version": "c7ba3653e9773256b2b08508a2ed2ca28ea7566b",
"versionType": "git"
},
{
"lessThan": "c90954cdea4d6998ec345de0d840d030c145b89e",
"status": "affected",
"version": "c7ba3653e9773256b2b08508a2ed2ca28ea7566b",
"versionType": "git"
},
{
"lessThan": "adf67034b1f61f7119295208085bfd43f85f56af",
"status": "affected",
"version": "c7ba3653e9773256b2b08508a2ed2ca28ea7566b",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "5.2"
},
{
"lessThan": "5.2",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"version": "5.10.259",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"version": "5.15.210",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"version": "6.1.176",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"version": "6.6.143",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.12.*",
"status": "unaffected",
"version": "6.12.94",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.36",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.0.*",
"status": "unaffected",
"version": "7.0.13",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.1",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.10.259",
"versionStartIncluding": "5.2",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.15.210",
"versionStartIncluding": "5.2",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.1.176",
"versionStartIncluding": "5.2",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.6.143",
"versionStartIncluding": "5.2",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.12.94",
"versionStartIncluding": "5.2",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.18.36",
"versionStartIncluding": "5.2",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.0.13",
"versionStartIncluding": "5.2",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.1",
"versionStartIncluding": "5.2",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "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 \u0026 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)"
}
],
"providerMetadata": {
"dateUpdated": "2026-06-25T08:38:24.216Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/ee9cfcf77a8e8af637396dc00966df5f701e661c"
},
{
"url": "https://git.kernel.org/stable/c/b781f90a9528555c709e59789550893581ef0be4"
},
{
"url": "https://git.kernel.org/stable/c/a2de1d71891a038a9346b2c1a72b88c8350f2479"
},
{
"url": "https://git.kernel.org/stable/c/7fc4fab4acc307ad2903312c195872b2953d32c3"
},
{
"url": "https://git.kernel.org/stable/c/7ae95c0275c330b5dbae806f8e431720edad776f"
},
{
"url": "https://git.kernel.org/stable/c/bb6f705b73b5f191f14ad004e2c8c4b615806187"
},
{
"url": "https://git.kernel.org/stable/c/c90954cdea4d6998ec345de0d840d030c145b89e"
},
{
"url": "https://git.kernel.org/stable/c/adf67034b1f61f7119295208085bfd43f85f56af"
}
],
"title": "drm/amd/display: Fix NULL deref and buffer over-read in SDP debugfs",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2026-53135",
"datePublished": "2026-06-25T08:38:24.216Z",
"dateReserved": "2026-06-09T07:44:35.387Z",
"dateUpdated": "2026-06-25T08:38:24.216Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"epss": {
"cve": "CVE-2026-53135",
"date": "2026-06-30",
"epss": "0.00176",
"percentile": "0.07371"
},
"nvd": "{\"cve\":{\"id\":\"CVE-2026-53135\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-06-25T09:16:30.787\",\"lastModified\":\"2026-06-30T14:44:27.313\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"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 \u0026 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)\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"c7ba3653e9773256b2b08508a2ed2ca28ea7566b\",\"lessThan\":\"ee9cfcf77a8e8af637396dc00966df5f701e661c\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"c7ba3653e9773256b2b08508a2ed2ca28ea7566b\",\"lessThan\":\"b781f90a9528555c709e59789550893581ef0be4\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"c7ba3653e9773256b2b08508a2ed2ca28ea7566b\",\"lessThan\":\"a2de1d71891a038a9346b2c1a72b88c8350f2479\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"c7ba3653e9773256b2b08508a2ed2ca28ea7566b\",\"lessThan\":\"7fc4fab4acc307ad2903312c195872b2953d32c3\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"c7ba3653e9773256b2b08508a2ed2ca28ea7566b\",\"lessThan\":\"7ae95c0275c330b5dbae806f8e431720edad776f\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"c7ba3653e9773256b2b08508a2ed2ca28ea7566b\",\"lessThan\":\"bb6f705b73b5f191f14ad004e2c8c4b615806187\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"c7ba3653e9773256b2b08508a2ed2ca28ea7566b\",\"lessThan\":\"c90954cdea4d6998ec345de0d840d030c145b89e\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"c7ba3653e9773256b2b08508a2ed2ca28ea7566b\",\"lessThan\":\"adf67034b1f61f7119295208085bfd43f85f56af\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"5.2\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"5.2\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.10.259\",\"lessThanOrEqual\":\"5.10.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.15.210\",\"lessThanOrEqual\":\"5.15.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.1.176\",\"lessThanOrEqual\":\"6.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.6.143\",\"lessThanOrEqual\":\"6.6.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.12.94\",\"lessThanOrEqual\":\"6.12.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.36\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.0.13\",\"lessThanOrEqual\":\"7.0.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.1\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/7ae95c0275c330b5dbae806f8e431720edad776f\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/7fc4fab4acc307ad2903312c195872b2953d32c3\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/a2de1d71891a038a9346b2c1a72b88c8350f2479\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/adf67034b1f61f7119295208085bfd43f85f56af\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b781f90a9528555c709e59789550893581ef0be4\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/bb6f705b73b5f191f14ad004e2c8c4b615806187\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/c90954cdea4d6998ec345de0d840d030c145b89e\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/ee9cfcf77a8e8af637396dc00966df5f701e661c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
}
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…