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.
Published: 2026-08-22
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service via kernel crash
Action: Immediate Patch
AI Analysis

Impact

A flaw in the Linux kernel’s AMD XDNA acceleration module causes a BUG_ON assertion when an unprivileged userspace process maps a non-imported GEM object, overwrites its page entries via madvise(MADV_DONTNEED), and then accesses the resulting memory. The kernel then attempts to map a backing shmem page with VM_MIXEDMAP set and a valid PFN, which triggers an explicit assertion and causes the kernel to die. The vulnerability is locally exploitable from user‑space and results in a kernel panic, effectively taking the system offline.

Affected Systems

All Linux kernel builds that include the accel/amdxdna driver and have not yet applied the patch that removes the vm_flags_mod call are affected. Versions prior to the commit that introduced the fix are vulnerable; current stable kernels awaiting the merge are also at risk until the update is deployed.

Risk and Exploitability

The EPSS score of <1% indicates a very low probability of exploitation, but the vulnerability remains locally exploitable from user space. Because it triggers a BUG_ON that causes the kernel to crash, the impact is a denial of service. The CVSS score of 5.5 reflects that no escalation or data disclosure is achievable, and the primary effect is an unstable kernel. The vulnerability is not listed in the CISA KEV catalog.

Generated by OpenCVE AI on August 25, 2026 at 17:36 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the most recent Linux kernel update that incorporates the amdxdna_insert_pages patch which removes the vm_flags_mod call and corrects the handling of VM_MIXEDMAP and VM_PFNMAP.
  • If the update cannot be applied immediately, unload or disable the AMD XDNA acceleration module to prevent the buggy code path from being executed.
  • Configure kernel logging and monitoring to detect any BUG_ON occurrences and alert administrators to potential exploitation attempts.

Generated by OpenCVE AI on August 25, 2026 at 17:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 25 Aug 2026 15:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-400
CWE-665

Tue, 25 Aug 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-617
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Sat, 22 Aug 2026 18:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-400
CWE-665

Sat, 22 Aug 2026 15:45:00 +0000

Type Values Removed Values Added
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.
Title accel/amdxdna: Fix locally exploitable BUG_ON in amdxdna_insert_pages()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-22T15:33:10.876Z

Reserved: 2026-08-15T05:44:03.928Z

Link: CVE-2026-74716

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-22T16:16:46.443

Modified: 2026-08-22T16:16:46.443

Link: CVE-2026-74716

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-22T00:00:00Z

Links: CVE-2026-74716 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-25T17:45:04Z

Weaknesses