# CVE-2026-63880: drm/amdgpu: fix lock leak on ENOMEM in AMDGPU\_GEM\_OP\_GET\_MAPPING\_INFO

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.12% (percentile 1, 2026-11-28)
- **CWE:** CWE-667
- **Published:** 2026-07-19T14:54:52.397Z
- **Modified:** 2026-10-30T14:49:06.277Z

## Who should check

- Anyone running Linux \>= 4d82724f7f2b847eb0454b1aab5450545b39abd4, \< 1eb86334e391695d4a40743b114afc15df4dc506; \>= 4d82724f7f2b847eb0454b1aab5450545b39abd4, \< 8f643d534ffc6f1b6182e4f3acff8f04890504b9; \>= 4d82724f7f2b847eb0454b1aab5450545b39abd4, \< 2e7f55eb408c3f72ee1957a0d0ad11d8648a6379
- Anyone running Linux 6.18

## 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

- Linux: \>= 4d82724f7f2b847eb0454b1aab5450545b39abd4, \< 1eb86334e391695d4a40743b114afc15df4dc506; \>= 4d82724f7f2b847eb0454b1aab5450545b39abd4, \< 8f643d534ffc6f1b6182e4f3acff8f04890504b9; \>= 4d82724f7f2b847eb0454b1aab5450545b39abd4, \< 2e7f55eb408c3f72ee1957a0d0ad11d8648a6379 (cvelist)
- Linux: 6.18 (cvelist)

## Mitigation

- Upgrade Linux to 2e7f55eb408c3f72ee1957a0d0ad11d8648a6379 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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-28).

### 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.

## References

- patch: <https://git.kernel.org/stable/c/1eb86334e391695d4a40743b114afc15df4dc506>
- patch: <https://git.kernel.org/stable/c/8f643d534ffc6f1b6182e4f3acff8f04890504b9>
- patch: <https://git.kernel.org/stable/c/2e7f55eb408c3f72ee1957a0d0ad11d8648a6379>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-63880>

HTML: <https://flawdb.com/CVE-2026-63880> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-63880>
