drm/amdgpu: validate and share PSP fw_pri_buf copies via psp_copy_fw
In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: validate and share PSP fw_pri_buf copies via psp_copy_fw Change psp_copy_fw from void to int: return -ENODEV when drm_dev_enter fails, and -EINVAL when the image size is zero or larger than the 1 MiB PSP private buffer. Replace open-coded memset/memcpy into fw_pri_buf with psp_copy_fw.
CVE-2026-97494
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-97494
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": "2b0c3aee2172451e9f982b25f3fdf59a1b687dc3",
"lessThan": "8ddda06ae356fda0418b7017e658d976dad6214e",
"versionType": "git"
},
{
"status": "affected",
"version": "2b0c3aee2172451e9f982b25f3fdf59a1b687dc3",
"lessThan": "25bec2425c3d50ba9a92ad87bbf8628be29e5c32",
"versionType": "git"
},
{
"status": "affected",
"version": "2b0c3aee2172451e9f982b25f3fdf59a1b687dc3",
"lessThan": "1aa55af304a2decaacca1d1fabe4257c277ca54a",
"versionType": "git"
},
{
"status": "affected",
"version": "2b0c3aee2172451e9f982b25f3fdf59a1b687dc3",
"lessThan": "d1f9f5839bd785a3a06335a01d53282e80f8e5fa",
"versionType": "git"
}
],
"programFiles": [
"drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c",
"drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h",
"drivers/gpu/drm/amd/amdgpu/psp_v11_0.c",
"drivers/gpu/drm/amd/amdgpu/psp_v12_0.c",
"drivers/gpu/drm/amd/amdgpu/psp_v13_0.c",
"drivers/gpu/drm/amd/amdgpu/psp_v13_0_4.c",
"drivers/gpu/drm/amd/amdgpu/psp_v14_0.c",
"drivers/gpu/drm/amd/amdgpu/psp_v3_1.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "4.12"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "4.12",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.6.160",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.111",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.53",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.2",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c",
"drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h",
"drivers/gpu/drm/amd/amdgpu/psp_v11_0.c",
"drivers/gpu/drm/amd/amdgpu/psp_v12_0.c",
"drivers/gpu/drm/amd/amdgpu/psp_v13_0.c",
"drivers/gpu/drm/amd/amdgpu/psp_v13_0_4.c",
"drivers/gpu/drm/amd/amdgpu/psp_v14_0.c",
"drivers/gpu/drm/amd/amdgpu/psp_v3_1.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-97494
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #48765 · Revision 1
- Added to Heist Feed
- Publisher date