accel/amdxdna: Reject device heap BO when dev_mem_size is not set
- CVE-2026-139434
- GHSA-r7qf-vfmg-8w6h
- EUVD-2026-139140
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.
Text from the CVE.org record.
Recommendation
Linux
- If you run a version from 6.18.57 to before 6.19update to 6.19 or laterMinor version change: check the release notes
Some affected versions have no stated fix.
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
Linux
Affected versions Fixed in from 6.18.57 to before 6.19 6.19 7.1 none stated before 7.1: not affected none stated from 7.3.6 up to 7.3.*: not affected none stated from 7.4-rc1 onwards: not affected none stated
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.