{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2023-52921", "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "state": "PUBLISHED", "assignerShortName": "Linux", "dateReserved": "2024-08-21T06:07:11.018Z", "datePublished": "2024-11-19T01:26:30.495Z", "dateUpdated": "2026-08-05T09:12:01.402Z" }, "containers": { "cna": { "providerMetadata": { "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "shortName": "Linux", "dateUpdated": "2026-08-05T09:12:01.402Z" }, "descriptions": [ { "lang": "en", "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu: fix possible UAF in amdgpu_cs_pass1()\n\nSince the gang_size check is outside of chunk parsing\nloop, we need to reset i before we free the chunk data.\n\nSuggested by Ye Zhang (@VAR10CK) of Baidu Security." } ], "metrics": [ { "cvssV3_1": { "version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "baseScore": 7.8, "baseSeverity": "HIGH" }, "scenarios": [ { "lang": "en", "value": "AV:L - The vulnerable path is reached via the AMDGPU_CS DRM ioctl on a local render/primary node (/dev/dri/renderD*), not via network packet processing or adjacent-network protocols.\nAC:L - An attacker reliably triggers the bug by opening the render node, creating a context, and submitting a command submission with accepted non-IB chunks (e.g. DEPENDENCIES/SYNCOBJ_*) so gang_size stays 0; no race or attacker-uncontrollable condition is required.\nPR:L - AMDGPU_CS is registered with DRM_AUTH|DRM_RENDER_ALLOW, so any unprivileged local user who can open the render node (typical video/render group membership on desktops, GPU-capable apps, Steam Deck, etc.) can reach the bug without root or init-namespace capabilities.\nUI:N - The attacker issues the ioctls themselves; no separate victim action such as mounting a filesystem or opening a malicious file is required.\nS:U - Impact is confined to the host kernel privilege boundary (local privilege escalation / memory corruption in amdgpu); this is not a VM escape, IOMMU bypass, or other cross-authority boundary crossing.\nC:H - The OOB kvfree of adjacent heap contents is an invalid/arbitrary free that enables classic UAF primitives after heap shaping, which per kernel CVSS guidance supports arbitrary memory disclosure.\nI:H - The same arbitrary-free/UAF primitive enables heap reuse and write primitives sufficient for control-flow hijacking or arbitrary kernel writes, so integrity impact is high.\nA:H - Freeing a garbage or live adjacent pointer readily causes kernel oops/panic or heap corruption crashes, so availability impact is high even without full exploitation." } ] } ], "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/amdgpu/amdgpu_cs.c" ], "versions": [ { "version": "2ebf61f2cfb9a11bc17db30df3e675a4cd7418d3", "lessThan": "e08e9dd09809b16f8f8cee8c466841b33d24ed96", "status": "affected", "versionType": "git" }, { "version": "2ebf61f2cfb9a11bc17db30df3e675a4cd7418d3", "lessThan": "90e065677e0362a777b9db97ea21d43a39211399", "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/amdgpu/amdgpu_cs.c" ], "versions": [ { "version": "6.2", "status": "affected" }, { "version": "0", "lessThan": "6.2", "status": "unaffected", "versionType": "semver" }, { "version": "6.4.11", "lessThanOrEqual": "6.4.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.5", "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": "6.2", "versionEndExcluding": "6.4.11" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "6.2", "versionEndExcluding": "6.5" } ] } ] } ], "references": [ { "url": "https://git.kernel.org/stable/c/e08e9dd09809b16f8f8cee8c466841b33d24ed96" }, { "url": "https://git.kernel.org/stable/c/90e065677e0362a777b9db97ea21d43a39211399" } ], "title": "drm/amdgpu: fix possible UAF in amdgpu_cs_pass1()", "x_generator": { "engine": "bippy-1.2.0" } }, "adp": [ { "metrics": [ { "cvssV3_1": { "scope": "UNCHANGED", "version": "3.1", "baseScore": 7.8, "attackVector": "LOCAL", "baseSeverity": "HIGH", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "integrityImpact": "HIGH", "userInteraction": "NONE", "attackComplexity": "LOW", "availabilityImpact": "HIGH", "privilegesRequired": "LOW", "confidentialityImpact": "HIGH" } }, { "other": { "type": "ssvc", "content": { "id": "CVE-2023-52921", "role": "CISA Coordinator", "options": [ { "Exploitation": "none" }, { "Automatable": "no" }, { "Technical Impact": "total" } ], "version": "2.0.3", "timestamp": "2024-12-11T14:25:32.419190Z" } } } ], "problemTypes": [ { "descriptions": [ { "lang": "en", "type": "CWE", "cweId": "CWE-416", "description": "CWE-416 Use After Free" } ] } ], "title": "CISA ADP Vulnrichment", "providerMetadata": { "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP", "dateUpdated": "2024-12-11T14:58:32.296Z" } } ] } }