{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2024-46817", "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "state": "PUBLISHED", "assignerShortName": "Linux", "dateReserved": "2024-09-11T15:12:18.284Z", "datePublished": "2024-09-27T12:35:58.517Z", "dateUpdated": "2026-08-05T11:38:48.140Z" }, "containers": { "cna": { "providerMetadata": { "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "shortName": "Linux", "dateUpdated": "2026-08-05T11:38:48.140Z" }, "descriptions": [ { "lang": "en", "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amd/display: Stop amdgpu_dm initialize when stream nums greater than 6\n\n[Why]\nCoverity reports OVERRUN warning. Should abort amdgpu_dm\ninitialize.\n\n[How]\nReturn failure to amdgpu_dm_init." } ], "metrics": [ { "cvssV3_1": { "version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 7.4, "baseSeverity": "HIGH" }, "scenarios": [ { "lang": "en", "value": "AV:L - The vulnerable code is `amdgpu_dm_initialize_drm_device()`, reached only via `dm_hw_init()` during amdgpu device probe on the local machine (boot, `modprobe amdgpu`, PCI rescan, or eGPU attach); no network, adjacent-network, or remote-peer data reaches it, and the resulting corrupted plane capabilities are read back through local DRM ioctls on `/dev/dri/card*`.\nAC:H - The overrun only occurs if `dc->caps.max_streams` exceeds 6, and that value is `min(res_pool->pipe_count, res_pool->stream_enc_count)` derived from compile-time per-ASIC `struct resource_caps` tables whose maximum `num_timing_generator` is 6, with hardware pipe fuses only ever decrementing it. Whether the machine contains an ASIC reporting more than six streams is entirely a property of the installed silicon and wholly outside any attacker's influence.\nPR:N - No capability check, credential test, or access-control gate exists anywhere on the path — `amdgpu_dm_initialize_drm_device()` runs unconditionally as part of the IP-block hardware init during device probe. On a system with qualifying hardware the out-of-bounds accesses occur automatically at boot before any account exists, so the attacker needs no privileges at all.\nUI:N - The amdgpu display manager initializes automatically when the PCI device is probed at boot; no victim must open a file, mount anything, or take any other action.\nS:U - The out-of-bounds read and write both stay inside kernel memory (`struct dc_caps` and `struct amdgpu_device`) and are handled entirely by the kernel's own security authority; no VM, IOMMU, or sandbox boundary is crossed.\nC:H - Reading `dc->caps.planes[i]` past index 5 pulls adjacent `struct dc_caps` bytes (`color`, `dmub_caps`, and following fields) and misinterprets them as a `struct dc_plane_cap`, from which `amdgpu_dm_plane_init()` derives the advertised pixel formats, DRM format modifiers, and upscale/downscale limits that any local user holding a DRM fd can read back via `DRM_IOCTL_MODE_GETPLANE` and the `IN_FORMATS` blob. The accompanying heap-pointer overwrite of `struct amdgpu_device` is memory corruption that can be leveraged for further disclosure.\nI:H - `initialize_plane()` writes a freshly kzalloc'd `struct drm_plane *` past the end of `mode_info->planes[6]`, corrupting the adjacent `afmt[9]` pointer array and DRM property pointers inside `struct amdgpu_device`; the subsequent `amdgpu_dm_crtc_init(dm, mode_info->planes[i], i)` reads those slots back out of bounds and passes type-confused pointers to `drm_crtc_init_with_planes()`. An out-of-bounds pointer write combined with type confusion is a control-flow-relevant corruption primitive.\nA:H - The pre-fix `ASSERT()` expands to `WARN_ON_ONCE()`, which panics outright on the many builds running `panic_on_warn=1`, and execution then continues into the out-of-bounds accesses that corrupt `struct amdgpu_device` and dereference type-confused pointers during display init, crashing the kernel or leaving the machine unbootable/headless." } ] } ], "affected": [ { "product": "Linux", "vendor": "Linux", "defaultStatus": "unaffected", "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "programFiles": [ "drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c" ], "versions": [ { "version": "4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c", "lessThan": "d619b91d3c4af60ac422f1763ce53d721fb91262", "status": "affected", "versionType": "git" }, { "version": "4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c", "lessThan": "754321ed63f0a4a31252ca72e0bd89a9e1888018", "status": "affected", "versionType": "git" }, { "version": "4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c", "lessThan": "21bbb39863f10f5fb4bf772d15b07d5d13590e9d", "status": "affected", "versionType": "git" }, { "version": "4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c", "lessThan": "28b515c458aa9c92bfcb99884c94713a5f471cea", "status": "affected", "versionType": "git" }, { "version": "4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c", "lessThan": "94cb77700fa4ae6200486bfa0ba2ac547534afd2", "status": "affected", "versionType": "git" }, { "version": "4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c", "lessThan": "d398c74c881dee695f6eb6138c9891644e1c3d9d", "status": "affected", "versionType": "git" }, { "version": "4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c", "lessThan": "84723eb6068c50610c5c0893980d230d7afa2105", "status": "affected", "versionType": "git" } ] }, { "product": "Linux", "vendor": "Linux", "defaultStatus": "affected", "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "programFiles": [ "drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c" ], "versions": [ { "version": "4.15", "status": "affected" }, { "version": "0", "lessThan": "4.15", "status": "unaffected", "versionType": "semver" }, { "version": "5.4.284", "lessThanOrEqual": "5.4.*", "status": "unaffected", "versionType": "semver" }, { "version": "5.10.226", "lessThanOrEqual": "5.10.*", "status": "unaffected", "versionType": "semver" }, { "version": "5.15.167", "lessThanOrEqual": "5.15.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.1.109", "lessThanOrEqual": "6.1.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.6.50", "lessThanOrEqual": "6.6.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.10.9", "lessThanOrEqual": "6.10.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.11", "lessThanOrEqual": "*", "status": "unaffected", "versionType": "original_commit_for_fix" } ] } ], "cpeApplicability": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.15", "versionEndExcluding": "5.4.284" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.15", "versionEndExcluding": "5.10.226" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.15", "versionEndExcluding": "5.15.167" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.15", "versionEndExcluding": "6.1.109" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.15", "versionEndExcluding": "6.6.50" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.15", "versionEndExcluding": "6.10.9" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.15", "versionEndExcluding": "6.11" } ] } ] } ], "references": [ { "url": "https://git.kernel.org/stable/c/d619b91d3c4af60ac422f1763ce53d721fb91262" }, { "url": "https://git.kernel.org/stable/c/754321ed63f0a4a31252ca72e0bd89a9e1888018" }, { "url": "https://git.kernel.org/stable/c/21bbb39863f10f5fb4bf772d15b07d5d13590e9d" }, { "url": "https://git.kernel.org/stable/c/28b515c458aa9c92bfcb99884c94713a5f471cea" }, { "url": "https://git.kernel.org/stable/c/94cb77700fa4ae6200486bfa0ba2ac547534afd2" }, { "url": "https://git.kernel.org/stable/c/d398c74c881dee695f6eb6138c9891644e1c3d9d" }, { "url": "https://git.kernel.org/stable/c/84723eb6068c50610c5c0893980d230d7afa2105" } ], "title": "drm/amd/display: Stop amdgpu_dm initialize when stream nums greater than 6", "x_generator": { "engine": "bippy-1.2.0" } }, "adp": [ { "metrics": [ { "other": { "type": "ssvc", "content": { "timestamp": "2024-09-29T14:15:16.825068Z", "id": "CVE-2024-46817", "options": [ { "Exploitation": "none" }, { "Automatable": "no" }, { "Technical Impact": "partial" } ], "role": "CISA Coordinator", "version": "2.0.3" } } } ], "title": "CISA ADP Vulnrichment", "providerMetadata": { "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP", "dateUpdated": "2024-09-29T14:15:54.377Z" } }, { "title": "CVE Program Container", "references": [ { "url": "https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html" }, { "url": "https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html" } ], "providerMetadata": { "orgId": "af854a3a-2127-422b-91ae-364da2661108", "shortName": "CVE", "dateUpdated": "2025-11-03T22:19:02.205Z" } } ] } }