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)
Published: 2026-10-28
Score: n/a
EPSS: n/a
KEV: No
Impact: Memory Leak / Resource Exhaustion
Action: Apply Patch
AI Analysis

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. No exploitation is in the CISA KEV list and EPSS data is not available, suggesting that public exploitation is limited; however, the low complexity of triggering a resource leak means the risk remains non‑negligible for exposed systems.

Generated by OpenCVE AI on October 28, 2026 at 12:07 UTC.

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 28, 2026 at 12:07 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 28 Oct 2026 12:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-401

Wed, 28 Oct 2026 10:45:00 +0000

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

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-28T10:35:05.015Z

Reserved: 2026-09-25T10:25:14.396Z

Link: CVE-2026-99149

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-28T11:17:34.990

Modified: 2026-10-28T11:17:34.990

Link: CVE-2026-99149

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-28T12:15:14Z

Weaknesses
  • CWE-401

    Missing Release of Memory after Effective Lifetime