{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2024-46815", "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "state": "PUBLISHED", "assignerShortName": "Linux", "dateReserved": "2024-09-11T15:12:18.283Z", "datePublished": "2024-09-27T12:35:57.062Z", "dateUpdated": "2026-08-05T11:38:46.003Z" }, "containers": { "cna": { "providerMetadata": { "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "shortName": "Linux", "dateUpdated": "2026-08-05T11:38:46.003Z" }, "descriptions": [ { "lang": "en", "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amd/display: Check num_valid_sets before accessing reader_wm_sets[]\n\n[WHY & HOW]\nnum_valid_sets needs to be checked to avoid a negative index when\naccessing reader_wm_sets[num_valid_sets - 1].\n\nThis fixes an OVERRUN issue reported by Coverity." } ], "metrics": [ { "cvssV3_1": { "version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H", "baseScore": 7.1, "baseSeverity": "HIGH" }, "scenarios": [ { "lang": "en", "value": "AV:L - The affected code is amdgpu display clock-manager init for DCN2.1 (Renoir/Cezanne APUs), reached only through local GPU bring-up — driver probe and `dc_set_power_state(D0)` on system/runtime-PM resume — with no network, packet, or remote-peer input anywhere on the path. Local is selected over Physical as the higher-severity of the two defensible options.\nAC:L - Once a platform presents the anomalous watermark table (first valid entry typed `WM_TYPE_RETRAINING`), the negative-index write occurs deterministically on every `rn_notify_wm_ranges()` call — there is no race, timing window, or memory-layout condition outside the attacker's control. Chosen as the higher-severity option even though the driver's own table-population code cannot produce that state.\nPR:L - On an affected platform the vulnerable path is re-entered on every GPU D0 transition, and an unprivileged local user holding `/dev/dri/cardN` (normal desktop/kiosk seat access) can force repeated runtime suspend/resume cycles to re-run `dcn10_init_hw()` → `rn_notify_wm_ranges()`. No root, CAP_SYS_ADMIN, or namespace privilege is needed to reach the code.\nUI:N - The attacker drives the GPU power-state transitions themselves via their own DRM device access; no separate victim has to log in, open a file, or perform any action.\nS:U - The corrupted memory is the kernel's own `struct clk_mgr_internal` allocation inside the amdgpu driver, so the fault and its impact stay within the kernel's security authority — no VM, IOMMU, or sandbox boundary is crossed.\nC:N - The defect is a write of the fixed constant `PP_SMU_WM_SET_RANGE_CLK_UNCONSTRAINED_MAX` (0xFFFF) to a fixed negative offset; there is no out-of-bounds read, no attacker-chosen address, and no value returned to userspace or any observable channel.\nI:H - This is an out-of-bounds (negative-index) write that lands squarely on the upper half of the live `clk_mgr->bw_params` kernel pointer, corrupting kernel state that is dereferenced repeatedly afterwards by the clock manager and DML code. Per kernel scoring guidance, an out-of-bounds write is High.\nA:H - After the write, `bw_params` is a wild pointer dereferenced throughout `rn_clk_mgr`/DML on every clock update, producing an oops or panic; because it recurs on each GPU resume, the system is left unusable rather than transiently degraded." } ] } ], "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/dc/clk_mgr/dcn21/rn_clk_mgr.c" ], "versions": [ { "version": "4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c", "lessThan": "a72d4996409569027b4609414a14a87679b12267", "status": "affected", "versionType": "git" }, { "version": "4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c", "lessThan": "7c47dd2e92341f2989ab73dbed07f8894593ad7b", "status": "affected", "versionType": "git" }, { "version": "4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c", "lessThan": "c4a7f7c0062fe2c73f70bb7e335199e25bd71492", "status": "affected", "versionType": "git" }, { "version": "4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c", "lessThan": "b36e9b3104c4ba0f2f5dd083dcf6159cb316c996", "status": "affected", "versionType": "git" }, { "version": "4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c", "lessThan": "21f9cb44f8c60bf6c26487d428b1a09ad3e8aebf", "status": "affected", "versionType": "git" }, { "version": "4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c", "lessThan": "6a4a08e45e614cfa7a56498cdfaeb7fae2f07fa0", "status": "affected", "versionType": "git" }, { "version": "4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c", "lessThan": "b38a4815f79b87efb196cd5121579fc51e29a7fb", "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/dc/clk_mgr/dcn21/rn_clk_mgr.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/a72d4996409569027b4609414a14a87679b12267" }, { "url": "https://git.kernel.org/stable/c/7c47dd2e92341f2989ab73dbed07f8894593ad7b" }, { "url": "https://git.kernel.org/stable/c/c4a7f7c0062fe2c73f70bb7e335199e25bd71492" }, { "url": "https://git.kernel.org/stable/c/b36e9b3104c4ba0f2f5dd083dcf6159cb316c996" }, { "url": "https://git.kernel.org/stable/c/21f9cb44f8c60bf6c26487d428b1a09ad3e8aebf" }, { "url": "https://git.kernel.org/stable/c/6a4a08e45e614cfa7a56498cdfaeb7fae2f07fa0" }, { "url": "https://git.kernel.org/stable/c/b38a4815f79b87efb196cd5121579fc51e29a7fb" } ], "title": "drm/amd/display: Check num_valid_sets before accessing reader_wm_sets[]", "x_generator": { "engine": "bippy-1.2.0" } }, "adp": [ { "metrics": [ { "other": { "type": "ssvc", "content": { "timestamp": "2024-09-29T14:18:10.423569Z", "id": "CVE-2024-46815", "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:18:21.693Z" } }, { "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:18:59.251Z" } } ] } }