CVE-2026-97494

drm/amdgpu: validate and share PSP fw_pri_buf copies via psp_copy_fw

Published Sep 24, 2026 CVSS 3.1 · 7.0 High EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The patch corrects an oversight in the Direct Rendering Manager’s AMD GPU driver where the private buffer used for the Protected Storage Processor (PSP) firmware was copied via raw memcpy calls without length checks. By changing the helper to return errors when the firmware size is zero, exceeds one megabyte, or when device entry fails, the code prevents potential buffer overflows that could overwrite kernel memory (CWE-120). This mitigates an attack scenario where a malformed firmware image could trigger an overflow, leading to arbitrary kernel execution.

Affected Systems

All systems running Linux kernel configurations that include the AMDGPU DRM driver are affected. The vulnerability applies to any kernel version that implements the old memcpy-based copy routine before the patch, regardless of distribution. The specific affected products are the Linux kernel itself; no vendor or product name is different from the base kernel.

Risk and Exploitability

The CVSS score is 7.0, the EPSS score is <1%, and the vulnerability is not listed in CISA’s KEV catalog. The flaw resides in a privileged kernel module, so exploitation would require local or remote code that can invoke the driver, typically through a privilege escalation or malicious driver upload scenario. Given the medium‑high severity and potential for kernel memory corruption, exploitation would lead to high impact if successful.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a kernel version that contains the psp_copy_fw validation changes
  • Verify that the amdgpu module is loading valid firmware images and does not attempt to load zero‑byte or oversized firmware
  • If an updated kernel cannot be deployed immediately, temporarily unload or disable the amdgpu PSP firmware loading features until a patch is available

Generated by OpenCVE AI on October 1, 2026 at 10:31 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4817-1 linux-6.12 security update
Debian DLA Debian DLA DLA-4906-1 linux security update
Debian DSA Debian DSA DSA-6528-1 linux security update
Ubuntu USN Ubuntu USN USN-9019-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9020-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9022-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9023-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9024-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9025-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9026-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9039-1 Linux kernel (Azure CVM) vulnerabilities
Ubuntu USN Ubuntu USN USN-9040-1 Linux kernel (Low Latency NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9066-1 Linux kernel (HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-9091-1 Linux kernel (NVIDIA Tegra) vulnerabilities
Ubuntu USN Ubuntu USN USN-9160-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9183-1 Linux kernel (FIPS) vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-120
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

Type Values Removed Values Added
Weaknesses CWE-787
Type Values Removed Values Added
Description 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.
Title drm/amdgpu: validate and share PSP fw_pri_buf copies via psp_copy_fw
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-120

    Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')

  • CWE-787

    Out-of-bounds Write

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 30, 2026, 12:37 PM
Reserved
Sep 24, 2026, 4:01 PM
Status
Received
Published
Sep 24, 2026, 5:17 PM
Modified
Oct 30, 2026, 1:21 PM
Severity
Moderate
Public date
Sep 24, 2026, 12:00 AM