CVE-2026-63880·Kernel vulnerability
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)
- Severity
- medium
- Software
- Kernel
- Fixed in
- 7.0.12
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.12% — higher than 2% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Affected versions
From: 6.19
Until: 7.0.12
Fixed in: 7.0.12
How to fix this CVE
Update your Linux kernel to version 7.0.12 or later to resolve a resource leak in the AMDGPU GEM operation handler. This vulnerability allows unprivileged local users with GPU device access to cause denial of service by exhausting kernel locks. Apply the patch immediately if you are running kernel versions 6.19 through 7.0.11 with AMD GPU drivers enabled.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check installed kernel version: uname -r
- Verify if AMDGPU driver is loaded: lsmod | grep amdgpu
- Check for vulnerable kernel versions in the 6.19–7.0.11 range: if [[ $(uname -r | cut -d. -f1,2) =~ ^(6.19|6.2[0-9]|7.0) ]]; then echo 'Potentially vulnerable'; fi
- Monitor dmesg for drm/amdgpu GEM operation errors: sudo dmesg | grep -i 'amdgpu.*gem.*enomem'
- Verify the fix by checking kernel version is 7.0.12 or later: uname -r | awk -F. '{if ($3 >= 12) print "Patched"; else print "Vulnerable"}'
- Confirm lock leak events are absent: sudo journalctl -u kernel | grep -i 'drm_exec\|dma_resv.*lock' | wc -l
FAQ
What is CVE-2026-63880?
This is a kernel resource leak in AMD GPU driver's GEM operation handler that fails to clean up kernel locks when memory allocation fails, allowing unprivileged GPU users to cause denial of service through lock exhaustion.
Is CVE-2026-63880 being actively exploited?
No, this vulnerability is not listed on CISA's Known Exploited Vulnerabilities catalog and no public exploits are currently available, though it poses a practical local DoS risk to systems with multi-user GPU access.
What versions of Kernel are affected by CVE-2026-63880?
Linux kernel versions 6.19 through 7.0.11 are vulnerable; the fix is included in 7.0.12 and later stable releases.
How do I check if my server is vulnerable to CVE-2026-63880?
Run uname -r to display your kernel version and lsmod | grep amdgpu to confirm AMD GPU driver is loaded; if your kernel version is between 6.19 and 7.0.11 and amdgpu is present, your system is vulnerable.
Does Defensia detect CVE-2026-63880?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2026-63880 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-63880. Free for 1 server.
Get started free