CVE-2026-74716
accel/amdxdna: Fix locally exploitable BUG_ON in amdxdna_insert_pages()
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.
INFO
Published Date :
Aug. 22, 2026, 4:16 p.m.
Last Modified :
Oct. 15, 2026, 11:17 a.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Remove vm_flags_mod() call.
- Replace pre-population with handle_mm_fault() loop.
- Update the Linux kernel.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-74716.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-74716 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-74716
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-74716 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-74716 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Oct. 15, 2026
Action Type Old Value New Value Added Affected Affected value modified. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/74xxx/CVE-2026-74716.json">CVE-2026-74716</a> Added Reference https://git.kernel.org/stable/c/13339132d89d00b513dff0730bff3a313b9b13b5 Added Reference https://git.kernel.org/stable/c/4a19f7ab5972ef608b31ae921419bc3e04b3f8ad Added Reference https://git.kernel.org/stable/c/618fc8dc219c11b8b85f0c8e3f7ff46cc1544339 Removed Reference https://git.kernel.org/stable/c/13339132d89d00b513dff0730bff3a313b9b13b5 Removed Reference https://git.kernel.org/stable/c/4a19f7ab5972ef608b31ae921419bc3e04b3f8ad -
CVE Translated by [email protected]
Oct. 14, 2026
Action Type Old Value New Value Added Translation Title: Linux, Description: En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: accel/amdxdna: Corrección de un BUG_ON explotable localmente en amdxdna_insert_pages() En amdxdna_insert_pages(), vm_flags_mod() establece VM_MIXEDMAP y borra VM_PFNMAP. Si un proceso de espacio de usuario no privilegiado mapea un objeto GEM no importado y luego llama a madvise(MADV_DONTNEED), los PTEs serán borrados exitosamente porque VM_MIXEDMAP lo permite (a diferencia de VM_PFNMAP). Cuando el espacio de usuario accede posteriormente a la memoria, drm_gem_shmem_fault() maneja el fallo de página e intenta mapear la página shmem de respaldo a través de vmf_insert_pfn() que llama a vmf_insert_pfn_prot(). Debido a que la página shmem de respaldo es memoria normal del sistema (pfn_valid(pfn) es verdadero) y el VMA ahora tiene VM_MIXEDMAP establecido, ¿no activará esto predeciblemente la aserción explícita BUG_ON((vma -> vm_flags & VM_MIXEDMAP) && pfn_valid(pfn))? Corrección eliminando la llamada a vm_flags_mod() y reemplazando la pre-población de vm_insert_pages() con el bucle handle_mm_fault() que ya se utilizaba para la ruta de importación (dma-buf). -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 22, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'e486147c912f653ef4b60a6c7dbd4168a4c56a9f', 'lessThan': '13339132d89d00b513dff0730bff3a313b9b13b5', 'versionType': 'git'}, {'status': 'affected', 'version': 'e486147c912f653ef4b60a6c7dbd4168a4c56a9f', 'lessThan': '4a19f7ab5972ef608b31ae921419bc3e04b3f8ad', 'versionType': 'git'}], 'programFiles': ['drivers/accel/amdxdna/amdxdna_gem.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '6.16'}, {'status': 'unaffected', 'version': '0', 'lessThan': '6.16', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '7.1.9', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/accel/amdxdna/amdxdna_gem.c'], 'defaultStatus': 'affected'}] 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. Added Reference https://git.kernel.org/stable/c/13339132d89d00b513dff0730bff3a313b9b13b5 Added Reference https://git.kernel.org/stable/c/4a19f7ab5972ef608b31ae921419bc3e04b3f8ad