CVE-2026-139434

accel/amdxdna: Reject device heap BO when dev_mem_size is not set

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

accel/amdxdna: Reject device heap BO when dev_mem_size is not set

NPU3 devices do not set dev_mem_size, since they do not use a device
heap. Creating an AMDXDNA_BO_DEV_HEAP BO on such a device hits the
WARN_ON(!is_power_of_2(dev_mem_size)) check, which any user with
access to the device node can trigger.

Return -EOPNOTSUPP when dev_mem_size is 0.

Analysis

AI-generated

Technical impact

The vulnerability occurs in the Linux kernel’s AMDXDNA driver when a device that does not define a device memory size creates a device‑heap buffer object. This triggers a warning that disables the operation and returns an error code, effectively preventing the device from handling the buffer. While the kernel does not crash, the failure can disrupt normal device operation for any user that has access to the device node, potentially leading to a denial of service on the affected hardware. The weakness is an improper handling of absent configuration data, allowing the creation of unsupported objects.

Affected Systems

This issue affects the Linux kernel for systems utilizing NPU3 devices that omit the dev_mem_size field. The specific vendors and exact kernel versions are not enumerated in the advisory, so the problem applies to any kernel build that includes the AMDXDNA driver without a dev_mem_size configuration for the target device.

Risk and Exploitability

The CVSS score is not disclosed in the publicly available information, and the EPSS score is missing. The vulnerability is not listed in the CISA KEV catalog, indicating no known widespread exploitation. The likely attack vector is local access to the device node, which is typically restricted to privileged users; however, any user with such access can trigger the failure. Given the lack of a crash or escalation path, the exploitation risk is moderate, primarily resulting in service disruption rather than full system compromise.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest Linux kernel patch that secures the AMDXDNA driver against unsupported device‑heap buffer objects
  • Restrict access to the affected device nodes to privileged processes only (e.g., set device mode to 0600 or configure ACLs)
  • If a kernel update is not immediately available, remove or block the device node for the vulnerable device to prevent users from creating unsupported buffer objects

Generated by OpenCVE AI on November 30, 2026 at 22:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-665
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: accel/amdxdna: Reject device heap BO when dev_mem_size is not set NPU3 devices do not set dev_mem_size, since they do not use a device heap. Creating an AMDXDNA_BO_DEV_HEAP BO on such a device hits the WARN_ON(!is_power_of_2(dev_mem_size)) check, which any user with access to the device node can trigger. Return -EOPNOTSUPP when dev_mem_size is 0.
Title accel/amdxdna: Reject device heap BO when dev_mem_size is not set
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:34 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:19 PM
Modified
Nov 30, 2026, 2:19 PM