# CVE-2026-68245: drm/amdgpu: fix lifetime issue of amdgpu_vm_get_task_info_pasid()

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2026-08-10T12:01:11.501Z
- Modified: 2026-11-30T23:24:54.710Z
- Weaknesses: CWE-362
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## 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)

(As written by CVE List.)

## Affected

- Linux Linux: from b8f67b9ddf4f8fe6dd536590712b5912ad78f99c before fe16a7e5336ae888751984e30c451fbf7cfa5df7; from b8f67b9ddf4f8fe6dd536590712b5912ad78f99c before 1173190412fb9d12e7efce76734118d9712ff970; from b8f67b9ddf4f8fe6dd536590712b5912ad78f99c before 5d5fb9124a2bba96a7807086d8fe0f7ce810d546; from b8f67b9ddf4f8fe6dd536590712b5912ad78f99c before 04cc4aa3617b0ed67e859f91f09de5d896a46f3a; aa22d6c58505d239814b5ef8fa7da4ce43e9212b; 251840f22eff35c25de531a3fcb523df94c128c0; from 6.1.191 before 6.2; from 6.6.160 before 6.7; 6.9 (not affected: before 6.9; from 6.12.101 up to 6.12.*; from 6.18.42 up to 6.18.*; from 7.1.6 up to 7.1.*; from 7.2 up to *)
- linux linux_kernel: from 6.1.191 before 6.2; from 6.6.160 before 6.7; from 6.9 before 6.12.101; from 6.13 before 6.18.42; from 6.19 before 7.1.6; 7.2

## References

- <https://git.kernel.org/stable/c/fe16a7e5336ae888751984e30c451fbf7cfa5df7> (patch)
- <https://git.kernel.org/stable/c/1173190412fb9d12e7efce76734118d9712ff970> (patch)
- <https://git.kernel.org/stable/c/5d5fb9124a2bba96a7807086d8fe0f7ce810d546> (patch)
- <https://git.kernel.org/stable/c/04cc4aa3617b0ed67e859f91f09de5d896a46f3a> (patch)

## Sources

- CVE List: [CVE-2026-68245](https://www.cve.org/CVERecord?id=CVE-2026-68245), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2026-68245](https://nvd.nist.gov/vuln/detail/CVE-2026-68245), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-68245 · Whole record: https://cve.day/CVE-2026-68245.json · Rebuilt by cve.day 2026-11-30T23:32:34.028Z
