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

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 4% of CVEs (2026-12-02)
- Published: 2026-10-28T10:35:05.015Z
- Modified: 2026-10-28T11:17:34.990Z
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from e095b55155ef69a8ae0eb114a7fd2a381c012f33 before 64a6d40156ae98caafc922c6d79fe202b0acd836; from e095b55155ef69a8ae0eb114a7fd2a381c012f33 before 3c516a5646285442e1cd71dff2584b77eb4fc421; 6.19 (not affected: before 6.19; from 7.2.13 up to 7.2.*; from 7.3 up to *)

## References

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

## Sources

- CVE List: [CVE-2026-99149](https://www.cve.org/CVERecord?id=CVE-2026-99149), CVE Terms of Use, modified 2026-10-28
- NVD: [CVE-2026-99149](https://nvd.nist.gov/vuln/detail/CVE-2026-99149), Public domain, modified 2026-10-28

---

Page: https://cve.day/CVE-2026-99149 · Whole record: https://cve.day/CVE-2026-99149.json · Rebuilt by cve.day 2026-11-25T22:59:47.578Z
