drm/amdgpu: fix lifetime issue of amdgpu_vm_get_task_info_pasid()
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)
CVE-2026-68245
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-68245
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "b8f67b9ddf4f8fe6dd536590712b5912ad78f99c",
"lessThan": "fe16a7e5336ae888751984e30c451fbf7cfa5df7",
"versionType": "git"
},
{
"status": "affected",
"version": "b8f67b9ddf4f8fe6dd536590712b5912ad78f99c",
"lessThan": "1173190412fb9d12e7efce76734118d9712ff970",
"versionType": "git"
},
{
"status": "affected",
"version": "b8f67b9ddf4f8fe6dd536590712b5912ad78f99c",
"lessThan": "5d5fb9124a2bba96a7807086d8fe0f7ce810d546",
"versionType": "git"
},
{
"status": "affected",
"version": "b8f67b9ddf4f8fe6dd536590712b5912ad78f99c",
"lessThan": "04cc4aa3617b0ed67e859f91f09de5d896a46f3a",
"versionType": "git"
},
{
"status": "affected",
"version": "251840f22eff35c25de531a3fcb523df94c128c0",
"versionType": "git"
},
{
"status": "affected",
"version": "6.6.160",
"lessThan": "6.7",
"versionType": "semver"
}
],
"programFiles": [
"drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "6.9"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "6.9",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.12.101",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.42",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.1.6",
"versionType": "semver",
"lessThanOrEqual": "7.1.*"
},
{
"status": "unaffected",
"version": "7.2",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-68245
Source reference:
/cveMetadata/cveId
Publisher severity
high
Source reference: /containers/cna/metrics
- Event
- #46453 · Revision 1
- Added to Heist Feed
- Publisher date