accel/amdxdna: Reject device heap BO when dev_mem_size is not set
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 30, 2026
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.
| Product | Versions |
|---|---|
| Linux Linux | d76856beb4a4a6c42244054cd780c00f2d33de4e to before a837ade9bec1861a0491346fd2d463385e18df65 Affectedd76856beb4a4a6c42244054cd780c00f2d33de4e to before 3e32932d3626d0279f9b3531bd648f8c0a16cb08 Affected33819cca7b76d5c2385c054f054c4b672ab989d5 Affected6.18.57 to before 6.19 Affected |
| Linux Linux | 7.1 Affectedbefore 7.1 Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.