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

drm/amdgpu: fix lifetime issue of amdgpu_vm_get_task_info_pasid()

The vm pointer returned from amdgpu_vm_get_vm_from_pasid() is only
valid while the lock is still being held. Once xa_unlock_irqrestore is
called and returned, the pointer is no longer under lock and is subject
to modification. Since, the caller still dereferences vm->task_info in
amdgpu_vm_get_task_info_vm() after the lock is removed, this causes a
use after unlock problem.

Remove the lifetime issue present in amdgpu_vm_get_task_info_pasid()
through removing the amdgpu_vm_get_vm_from_pasid() function from
amdgpu_vm.c and making the relevant code inline to hold the lock while
it is still in use.

(cherry picked from commit 9d01579f3f868b333acc901815972685989092c7)
Published: 2026-08-10
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The kernel bug occurs when amdgpu_vm_get_vm_from_pasid() returns a virtual memory context pointer that is only safe to use while a lock is held. After the lock is released the pointer can be altered, yet the driver continues to dereference vm->task_info, leading to a use‑after‑unlock condition that can corrupt kernel memory and potentially allow local code execution with elevated privileges.

Affected Systems

This issue affects all Linux kernel builds that include the AMDGPU DRM driver before the commit that removed the problematic function. Distribution kernels that ship the unpatched driver, regardless of the vendor, are therefore vulnerable.

Risk and Exploitability

The CVSS score of 7.8 classifies the flaw as high severity, but the EPSS score of less than 1% suggests a low probability of exploitation. Based on the description, it is inferred that an attacker would need local or compromise-level access to trigger the race, and the problem is not yet listed in CISA KEV. Nevertheless, the potential for privilege escalation warrants prompt attention.

Generated by OpenCVE AI on August 14, 2026 at 03:47 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the kernel to a version that contains commit 9d01579f3f868b333acc901815972685989092c7 or backport the changes so that the lock remains held while vm->task_info is accessed
  • Disable the amdgpu kernel module or block all GPU‑passthrough functionality if an immediate patch cannot be applied
  • Monitor kernel logs for signs of memory corruption or abnormal GPU context handling and apply an emergency rebuild if symptoms appear

Generated by OpenCVE AI on August 14, 2026 at 03:47 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4745-1 linux-6.12 security update
History

Fri, 14 Aug 2026 02:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-362

Thu, 13 Aug 2026 22:45:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

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

cvssV3_1

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


Wed, 12 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-825
References
Metrics threat_severity

None

cvssV3_1

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

threat_severity

Moderate


Mon, 10 Aug 2026 18:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-362

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 lifetime issue of amdgpu_vm_get_task_info_pasid() The vm pointer returned from amdgpu_vm_get_vm_from_pasid() is only valid while the lock is still being held. Once xa_unlock_irqrestore is called and returned, the pointer is no longer under lock and is subject to modification. Since, the caller still dereferences vm->task_info in amdgpu_vm_get_task_info_vm() after the lock is removed, this causes a use after unlock problem. Remove the lifetime issue present in amdgpu_vm_get_task_info_pasid() through removing the amdgpu_vm_get_vm_from_pasid() function from amdgpu_vm.c and making the relevant code inline to hold the lock while it is still in use. (cherry picked from commit 9d01579f3f868b333acc901815972685989092c7)
Title drm/amdgpu: fix lifetime issue of amdgpu_vm_get_task_info_pasid()
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-18T06:55:46.886Z

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

Link: CVE-2026-68245

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-10T13:20:12.960

Modified: 2026-08-18T07:16:50.833

Link: CVE-2026-68245

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-10T00:00:00Z

Links: CVE-2026-68245 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-14T04:00:11Z

Weaknesses
  • CWE-825

    Expired Pointer Dereference