{"id":"CVE-2026-68245","summary":"drm/amdgpu: fix lifetime issue of amdgpu_vm_get_task_info_pasid()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu: fix lifetime issue of amdgpu_vm_get_task_info_pasid()\n\nThe vm pointer returned from amdgpu_vm_get_vm_from_pasid() is only\nvalid while the lock is still being held. Once xa_unlock_irqrestore is\ncalled and returned, the pointer is no longer under lock and is subject\nto modification. Since, the caller still dereferences vm-\u003etask_info in\namdgpu_vm_get_task_info_vm() after the lock is removed, this causes a\nuse after unlock problem.\n\nRemove the lifetime issue present in amdgpu_vm_get_task_info_pasid()\nthrough removing the amdgpu_vm_get_vm_from_pasid() function from\namdgpu_vm.c and making the relevant code inline to hold the lock while\nit is still in use.\n\n(cherry picked from commit 9d01579f3f868b333acc901815972685989092c7)","modified":"2026-08-20T03:30:50.457390149Z","published":"2026-08-10T12:01:11.501Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68245.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/04cc4aa3617b0ed67e859f91f09de5d896a46f3a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1173190412fb9d12e7efce76734118d9712ff970"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5d5fb9124a2bba96a7807086d8fe0f7ce810d546"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fe16a7e5336ae888751984e30c451fbf7cfa5df7"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68245.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-68245"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"b8f67b9ddf4f8fe6dd536590712b5912ad78f99c"},{"fixed":"fe16a7e5336ae888751984e30c451fbf7cfa5df7"},{"fixed":"1173190412fb9d12e7efce76734118d9712ff970"},{"fixed":"5d5fb9124a2bba96a7807086d8fe0f7ce810d546"},{"fixed":"04cc4aa3617b0ed67e859f91f09de5d896a46f3a"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-68245.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.9.0"},{"fixed":"6.12.101"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.42"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.1.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-68245.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}