What’s Vulnerable › Vulnerabilities
CVE-2026-98144: accel/amdxdna: put the chained BO when its mapping fails
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-09-25 · updated 2026-10-26
- Weakness: CWE-401
Description
In the Linux kernel, the following vulnerability has been resolved: accel/amdxdna: put the chained BO when its mapping fails amdxdna_cmd_set_error() looks up the first BO of a command chain, which takes a reference, and drops it at the end of the function. The mapping of that BO is established in between, and the failure path returns without the put, so the reference is leaked. Ordinary use does not reach it. The chain has been submitted before any of this runs, so aie2_cmdlist_fill_slot() has already called amdxdna_cmd_get_op() on that BO and amdxdna_gem_vmap() has cached its address. What makes it reachable is that the BO is resolved again by handle here, and the handle is userspace's to recycle: closing it after submission and importing a dma-buf whose exporter implements no vmap onto the same id leaves amdxdna_gem_get_obj() returning an object this cannot map, since prime_import() types every import AMDXDNA_BO_SHARE.
Affected products
- Linux kernel: from 7.1 before 7.2.7; 7.3-rc1 — fixed in 7.2.7
- Linux kernel: from 6.18.57 before 6.19; 7.1 — fixed in 6.19, 7.3
How to fix
Upgrade to a fixed version: Linux kernel 7.2.7; Linux kernel 6.19, 7.3. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/7e33ba3a1d48c2d20ed270dec9d2d08332585c8e
- https://git.kernel.org/stable/c/eb90cb257e0792ac11f0347254bad3fc72417db6
Get alerted when CVE-2026-98144 or the next vulnerability affects your stack