CVE-2026-99149

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

Published Oct 28, 2026 CVSS 3.1 · 2.5 Low EPSS < 1% KEV · Not listed
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)

Analysis

AI-generated

Technical impact

The vulnerability in the AMDGPU driver causes a memory leak when an amdgpu_hmm_range_alloc() call fails with an ENOMEM error. amdgpu_gem_userptr_ioctl() returns -ENOMEM immediately but does not remove the partially allocated GEM object, its parent reference on the VM root, or its MMU notifier registration. This leaves stale objects that consume kernel memory and can lead to a gradual exhaustion of the graphics memory subsystem.

Affected Systems

Affected systems are Linux distributions that ship the upstream Linux kernel with the AMDGPU graphics driver and that enable the userptr ioctl interface. The problem affects all kernel versions where the bug exists before the patch commit bbe739e407a542073ec1a7872b14843566b4919e is applied. Vendor information shows only Linux:Linux per CNA, indicating an upstream kernel vulnerability rather than a specific vendor patch.

Risk and Exploitability

Because the bug is triggered only when a memory allocation fails during a userptr ioctl request, an attacker would need to repeatedly invoke this ioctl under low memory conditions. The resulting resource exhaustion could cause the kernel to throttle or OOM‑kill processes, potentially allowing a local attacker to disrupt graphics workloads or trigger a denial of service. The EPSS score of < 1% indicates a very low probability of exploitation, and the vulnerability is not listed in the CISA KEV catalog. The CVSS score of 2.5 classifies the issue as low severity.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade your Linux kernel to a version that includes commit bbe739e407a542073ec1a7872b14843566b4919e or later.
  • If the userptr ioctl functionality is not required, disable it by setting the amdgpu driver’s userptr parameter to zero or unloading the amdgpu module.
  • Monitor the system for abnormal GEM object growth using dmesg or tools that report MMU notifier registrations, and verify that memory usage remains stable after applying the patch.

Generated by OpenCVE AI on October 30, 2026 at 05:18 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-401
Type Values Removed Values Added
Weaknesses CWE-772
References
Metrics threat_severity

None

cvssV3_1

{'score': 2.5, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L'}

threat_severity

Low

Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux
Type Values Removed Values Added
Weaknesses CWE-401
Type Values Removed Values Added
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)
Title drm/amdgpu: fix GEM object leak on ENOMEM in userptr ioctl
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-772

    Missing Release of Resource after Effective Lifetime

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 28, 2026, 10:35 AM
Reserved
Sep 25, 2026, 10:25 AM
Status
Received
Published
Oct 28, 2026, 11:17 AM
Modified
Oct 28, 2026, 11:17 AM
Severity
Low
Public date
Oct 28, 2026, 10:35 AM