CVE-2026-63880
drm/amdgpu: fix lock leak on ENOMEM in AMDGPU_GEM_OP_GET_MAPPING_INFO
Mitigation
- Upgrade Linux to 2e7f55eb408c3f72ee1957a0d0ad11d8648a6379 or later.
Who should check
- Anyone running Linux >= 4d82724f7f2b847eb0454b1aab5450545b39abd4, < 1eb86334e391695d4a40743b114afc15df4dc506; >= 4d82724f7f2b847eb0454b1aab5450545b39abd4, < 8f643d534ffc6f1b6182e4f3acff8f04890504b9; >= 4d82724f7f2b847eb0454b1aab5450545b39abd4, < 2e7f55eb408c3f72ee1957a0d0ad11d8648a6379
- Anyone running Linux 6.18
Vulnerability facts
- Affected
- Linux >= 4d82724f7f2b847eb0454b1aab5450545b39abd4, < 1eb86334e391695d4a40743b114afc15df4dc506; >= 4d82724f7f2b847eb0454b1aab5450545b39abd4, < 8f643d534ffc6f1b6182e4f3acff8f04890504b9; >= 4d82724f7f2b847eb0454b1aab5450545b39abd4, < 2e7f55eb408c3f72ee1957a0d0ad11d8648a6379; Linux 6.18
- Fixed in
- Linux 1eb86334e391695d4a40743b114afc15df4dc506, Linux 8f643d534ffc6f1b6182e4f3acff8f04890504b9, Linux 2e7f55eb408c3f72ee1957a0d0ad11d8648a6379
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.12% chance of exploitation in 30 days (percentile 1, 2026-11-26)
- CWE
- CWE-667
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: fix lock leak on ENOMEM in AMDGPU_GEM_OP_GET_MAPPING_INFO The AMDGPU_GEM_OP_GET_MAPPING_INFO branch of amdgpu_gem_op_ioctl() holds three cleanup-tracked resources before calling kvcalloc(): the drm_gem_object reference from drm_gem_object_lookup(), the drm_exec lock on the looked-up GEM via drm_exec_lock_obj(), and the drm_exec lock on the per-process VM root page directory via amdgpu_vm_lock_pd(). All three are released by the out_exec label that every other error path in this function jumps to. The kvcalloc() failure path returns -ENOMEM directly, skipping out_exec and leaking all three. The leaked per-process VM root PD dma_resv lock is the load-bearing leak: any subsequent operation on the same VM (further GEM ops, command-submission, eviction, TTM shrinker callbacks) blocks on the held lock. DRM_IOCTL_AMDGPU_GEM_OP is DRM_AUTH | DRM_RENDER_ALLOW, so this is an unprivileged-local denial of service against the caller's GPU context, reachable by any process with /dev/dri/renderD* access. Route the failure through out_exec so drm_exec_fini() and drm_gem_object_put() run. Reproduced on stock 7.0.0-10, Ryzen 7 5700U / Radeon Vega (Lucienne): the failing ioctl returns -ENOMEM and a second GET_MAPPING_INFO on the same fd then blocks in drm_exec_lock_obj() on the leaked dma_resv. SIGKILL on the caller does not reap the task; the fd-release path during process exit goes through amdgpu_gem_object_close() -> drm_exec_prepare_obj() on the same lock, leaving the task in D state until the box is rebooted. The patched kernel was not rebuilt and re-tested on this hardware; the fix is mechanical. Tested on a single Lucienne / Vega box only. Ziyi Guo posted an independent INT_MAX-bound check for args->num_entries in the same branch [1]; the two patches are complementary and can land in either order. (cherry picked from commit b69d3256d79de15f54c322986ff4da68f1d65b0a)
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 4d82724f7f2b847eb0454b1aab5450545b39abd4, < 1eb86334e391695d4a40743b114afc15df4dc506; >= 4d82724f7f2b847eb0454b1aab5450545b39abd4, < 8f643d534ffc6f1b6182e4f3acff8f04890504b9; >= 4d82724f7f2b847eb0454b1aab5450545b39abd4, < 2e7f55eb408c3f72ee1957a0d0ad11d8648a6379 | — | cvelist |
| Linux | 6.18 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-63880. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-63880.md Affected: Linux >= 4d82724f7f2b847eb0454b1aab5450545b39abd4, < 1eb86334e391695d4a40743b114afc15df4dc506; >= 4d82724f7f2b847eb0454b1aab5450545b39abd4, < 8f643d534ffc6f1b6182e4f3acff8f04890504b9; >= 4d82724f7f2b847eb0454b1aab5450545b39abd4, < 2e7f55eb408c3f72ee1957a0d0ad11d8648a6379; Linux 6.18 Fixed in: Linux 1eb86334e391695d4a40743b114afc15df4dc506, Linux 8f643d534ffc6f1b6182e4f3acff8f04890504b9, Linux 2e7f55eb408c3f72ee1957a0d0ad11d8648a6379 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2026-63880 being exploited?
There is no confirmed exploitation: CVE-2026-63880 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.12% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-63880?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2026-63880?
Linux >= 4d82724f7f2b847eb0454b1aab5450545b39abd4, < 1eb86334e391695d4a40743b114afc15df4dc506; >= 4d82724f7f2b847eb0454b1aab5450545b39abd4, < 8f643d534ffc6f1b6182e4f3acff8f04890504b9; >= 4d82724f7f2b847eb0454b1aab5450545b39abd4, < 2e7f55eb408c3f72ee1957a0d0ad11d8648a6379; Linux 6.18.
Is there a fix for CVE-2026-63880?
Yes. Fixed in Linux 1eb86334e391695d4a40743b114afc15df4dc506, Linux 8f643d534ffc6f1b6182e4f3acff8f04890504b9, Linux 2e7f55eb408c3f72ee1957a0d0ad11d8648a6379. Upgrade Linux to 2e7f55eb408c3f72ee1957a0d0ad11d8648a6379 or later.
How do I check if I'm affected by CVE-2026-63880?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.