← Back to CVE Explorer

CVE-2026-99149

Full vulnerability record from the local CVENow database.

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)

Severity
Not scored
CVSS score
Not available
Vulnerability status
Received
Source identifier
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2026-10-28 11:17:34.990000
Last modified
2026-10-28 11:17:34.990000
View original CVE JSON
{
  "id": "CVE-2026-99149",
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "published": "2026-10-28T11:17:34.990",
  "lastModified": "2026-10-28T11:17:34.990",
  "vulnStatus": "Received",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu: fix GEM object leak on ENOMEM in userptr ioctl\n\nWhen amdgpu_hmm_range_alloc() fails amdgpu_gem_userptr_ioctl() returns\n-ENOMEM right away and skips the cleanup every other error path goes\nthrough. The GEM object, the bo->parent reference on the VM root and the\nMMU notifier registration are all left behind.\n\nUse release_object here, not user_pages_done, range is still NULL at\nthis point.\n\n(cherry picked from commit bbe739e407a542073ec1a7872b14843566b4919e)"
    }
  ],
  "affected": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "affectedData": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "programFiles": [
            "drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "e095b55155ef69a8ae0eb114a7fd2a381c012f33",
              "lessThan": "64a6d40156ae98caafc922c6d79fe202b0acd836",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "e095b55155ef69a8ae0eb114a7fd2a381c012f33",
              "lessThan": "3c516a5646285442e1cd71dff2584b77eb4fc421",
              "versionType": "git",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "programFiles": [
            "drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "6.19",
              "status": "affected"
            },
            {
              "version": "0",
              "lessThan": "6.19",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.2.13",
              "lessThanOrEqual": "7.2.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.3",
              "lessThanOrEqual": "*",
              "versionType": "original_commit_for_fix",
              "status": "unaffected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {},
  "references": [
    {
      "url": "https://git.kernel.org/stable/c/3c516a5646285442e1cd71dff2584b77eb4fc421",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/64a6d40156ae98caafc922c6d79fe202b0acd836",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ]
}