CVE-2026-99149
Linux: drm/amdgpu: fix GEM object leak on ENOMEM in userptr ioctl
CVSS
NoneNot scoredExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)No scoreNo FIRST EPSS score in this snapshot yet
Fixed in64a6d40156ae98caafc922c6d79fe202b0acd836Also 3c516a5646285442e1cd71dff2584b77eb4fc421CVE List
What fixes it
- 64a6d40156ae98caafc922c6d79fe202b0acd836LinuxCVE List
- 3c516a5646285442e1cd71dff2584b77eb4fc421LinuxCVE List
A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.
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)
Text from CVE List
Affected versions 6
- Linuxaffected: e095b55155ef69a8ae0eb114a7fd2a381c012f33 before 64a6d40156ae98caafc922c6d79fe202b0acd836CVE List
- Linuxaffected: e095b55155ef69a8ae0eb114a7fd2a381c012f33 before 3c516a5646285442e1cd71dff2584b77eb4fc421CVE List
- Linuxaffected: 6.19CVE List
- Linuxunaffected: all versions before 6.19CVE List
- Linuxunaffected: 7.2.13 through 7.2.*CVE List
- Linuxunaffected: 7.3CVE List