Description
In the Linux kernel, the following vulnerability has been resolved:

drm/amdgpu: fix check in amdgpu_hmm_invalidate_gfx

For a short moment during alloc/free the userptr BO is not part of his VM,
so bo->vm_bo can be NULL.

Keep a reference to the VM root PD as parent of the userptr BO so that
we can always use that to wait for all submissions of the VM instead of
only the one involving the userptr BO.

(cherry picked from commit 631849ff5d603841e74f19f4a5e30fe1f7d7cf30)
Published: 2026-08-10
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability involves the Linux kernel AMDGPU driver’s handling of userptr buffer objects (BOs). During a brief period while allocating or freeing a userptr BO, the BO’s virtual memory reference can become NULL, and the code would attempt to use it without checking for this state. This oversight could lead to a null pointer dereference, potentially causing the kernel to crash or become unstable. The fix commits a new check and a reference to the VM root to avoid undefined behavior during that race.

Affected Systems

The issue affects the Linux kernel’s AMDGPU driver in all versions that contain the buggy code before the patch commit 631849ff5d603841e74f19f4a5e30fe1f7d7cf30. In practice, this is any kernel build that lacks the recent kernel update or the specific commit that introduced the null‑check. System administrators should verify whether their kernel packages include this commit and apply an update if it is missing.

Risk and Exploitability

No EPSS score is available and the vulnerability is not listed in the CISA KEV catalog. The CVSS score was not published for this bug, so the severity cannot be quantified precisely. The attack vector is inferred to be local or privileged access that can manipulate userptr BO allocation and deallocation within the AMDGPU context, which might enable an attacker to trigger the null dereference. Because the exploitation requires control over GPU buffer management, the risk is likely moderate, and the vulnerability is not actively exploited in the wild according to the available data.

Generated by OpenCVE AI on August 10, 2026 at 14:12 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Linux kernel to include commit 631849ff5d603841e74f19f4a5e30fe1f7d7cf30 or later
  • If possible, limit the use of userptr buffer objects in applications to reduce exposure
  • Monitor system logs and kernel panic messages related to amdgpu for abnormal activity

Generated by OpenCVE AI on August 10, 2026 at 14:12 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 10 Aug 2026 14:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-476

Mon, 10 Aug 2026 12:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: fix check in amdgpu_hmm_invalidate_gfx For a short moment during alloc/free the userptr BO is not part of his VM, so bo->vm_bo can be NULL. Keep a reference to the VM root PD as parent of the userptr BO so that we can always use that to wait for all submissions of the VM instead of only the one involving the userptr BO. (cherry picked from commit 631849ff5d603841e74f19f4a5e30fe1f7d7cf30)
Title drm/amdgpu: fix check in amdgpu_hmm_invalidate_gfx
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-08-10T11:58:16.578Z

Reserved: 2026-07-30T09:28:09.368Z

Link: CVE-2026-68101

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-10T14:15:03Z

Weaknesses