# CVE-2026-99149: drm/amdgpu: fix GEM object leak on ENOMEM in userptr ioctl

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.20% (percentile 5, 2026-11-26)
- **Published:** 2026-10-28T10:35:05.015Z
- **Modified:** 2026-10-28T11:17:34.990Z

## Who should check

- Anyone running Linux \>= e095b55155ef69a8ae0eb114a7fd2a381c012f33, \< 64a6d40156ae98caafc922c6d79fe202b0acd836; \>= e095b55155ef69a8ae0eb114a7fd2a381c012f33, \< 3c516a5646285442e1cd71dff2584b77eb4fc421
- Anyone running Linux 6.19

## Description

In the Linux kernel, the following vulnerability has been resolved:

drm/amdgpu: fix GEM object leak on ENOMEM in userptr ioctl

When amdgpu\_hmm\_range\_alloc() fails amdgpu\_gem\_userptr\_ioctl() returns
-ENOMEM right away and skips the cleanup every other error path goes
through. The GEM object, the bo-\>parent reference on the VM root and the
MMU notifier registration are all left behind.

Use release\_object here, not user\_pages\_done, range is still NULL at
this point.

(cherry picked from commit bbe739e407a542073ec1a7872b14843566b4919e)

## Affected and fixed versions

- Linux: \>= e095b55155ef69a8ae0eb114a7fd2a381c012f33, \< 64a6d40156ae98caafc922c6d79fe202b0acd836; \>= e095b55155ef69a8ae0eb114a7fd2a381c012f33, \< 3c516a5646285442e1cd71dff2584b77eb4fc421 (cvelist)
- Linux: 6.19 (cvelist)

## Mitigation

- Upgrade Linux to 3c516a5646285442e1cd71dff2584b77eb4fc421 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-99149. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-99149.md
Affected: Linux >= e095b55155ef69a8ae0eb114a7fd2a381c012f33, < 64a6d40156ae98caafc922c6d79fe202b0acd836; >= e095b55155ef69a8ae0eb114a7fd2a381c012f33, < 3c516a5646285442e1cd71dff2584b77eb4fc421; Linux 6.19
Fixed in: Linux 64a6d40156ae98caafc922c6d79fe202b0acd836, Linux 3c516a5646285442e1cd71dff2584b77eb4fc421

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-99149 being exploited?

There is no confirmed exploitation: CVE-2026-99149 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.20% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-99149?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-99149?

Linux \>= e095b55155ef69a8ae0eb114a7fd2a381c012f33, \< 64a6d40156ae98caafc922c6d79fe202b0acd836; \>= e095b55155ef69a8ae0eb114a7fd2a381c012f33, \< 3c516a5646285442e1cd71dff2584b77eb4fc421; Linux 6.19.

### Is there a fix for CVE-2026-99149?

Yes. Fixed in Linux 64a6d40156ae98caafc922c6d79fe202b0acd836, Linux 3c516a5646285442e1cd71dff2584b77eb4fc421. Upgrade Linux to 3c516a5646285442e1cd71dff2584b77eb4fc421 or later.

### How do I check if I'm affected by CVE-2026-99149?

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

- other: <https://git.kernel.org/stable/c/64a6d40156ae98caafc922c6d79fe202b0acd836>
- other: <https://git.kernel.org/stable/c/3c516a5646285442e1cd71dff2584b77eb4fc421>

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

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