HIGH Introduced in 6.14
amdxdna DeviceBuffer Bypass
CVE-2026-98436
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
KernelScan AI5.4MEDIUM
01Description
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.
02KernelScan AI Analysis
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.
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.
Lifecycle
03Fix Versions
| Branch | Introduced | Fixed in | Patch commit |
|---|---|---|---|
| 7.2 | 6.14 | 7.2.7 | 33b00fa8023e |
| mainline | 6.14 | 7.3 | 9480dd7ec3fc |