KernelScan.io

HIGH Introduced in 6.14

amdxdna DeviceBuffer Bypass

CVE-2026-98436

CVSS 7.8 / 10.0 NVD

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

KernelScan AI5.4MEDIUM

01

In the Linux kernel, the following vulnerability has been resolved: accel/amdxdna: Disable device buffer exporting Device buffers are never intended to be exported. Disable exporting support explicitly.

02

Engine v0.9.0

Risk summary

Local users with access to the AMD XDNA accelerator device can export device buffers via DMA-BUF even though these buffers were never designed to support exporting. This could allow unauthorized access to buffer contents containing model data or inputs, buffer corruption, or device instability. The issue affects systems with AMD XDNA NPU hardware (e.g., Ryzen AI processors) where the driver is loaded and the device node is accessible.

Affecteddrivers/accel/amdxdna/amdxdna_gem.c (amdxdna accelerator driver)

Vulnerability analysis

The AMD XDNA accelerator driver's device buffers lacked an explicit export handler in their DRM GEM object operations, which allowed them to be exported as DMA-BUF file descriptors despite never being designed for sharing. A local user with access to the accelerator device node (typically via the render group) could trigger this export, potentially passing buffer references to other processes. Because the driver's memory management does not account for external references, this could lead to use-after-free, information disclosure of buffer contents, or device malfunction. The fix adds an explicit export function that returns -EOPNOTSUPP, cleanly rejecting any export attempt and enforcing the design intent that device buffers remain private to the owning process.

03

BranchIntroducedFixed inPatch commit
7.26.147.2.733b00fa8023e
mainline6.147.39480dd7ec3fc