{"api_version":"1","generated_at":"2026-08-22T21:53:03+00:00","cve":"CVE-2026-74716","urls":{"html":"https://cve.report/CVE-2026-74716","api":"https://cve.report/api/cve/CVE-2026-74716.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-74716","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-74716"},"summary":{"title":"accel/amdxdna: Fix locally exploitable BUG_ON in amdxdna_insert_pages()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\naccel/amdxdna: Fix locally exploitable BUG_ON in amdxdna_insert_pages()\n\nIn amdxdna_insert_pages(), vm_flags_mod() sets VM_MIXEDMAP and clears\nVM_PFNMAP. If an unprivileged userspace process mmaps a non-imported GEM\nobject and then calls madvise(MADV_DONTNEED), the PTEs will be\nsuccessfully cleared because VM_MIXEDMAP allows this (unlike VM_PFNMAP).\n\nWhen userspace subsequently accesses the memory, drm_gem_shmem_fault()\nhandles the page fault and attempts to map the backing shmem page via\nvmf_insert_pfn() which calls vmf_insert_pfn_prot(). Because the backing\nshmem page is normal system memory (pfn_valid(pfn) is true) and the VMA\nnow has VM_MIXEDMAP set, won't this predictably trigger the explicit\nassertion BUG_ON((vma->vm_flags & VM_MIXEDMAP) && pfn_valid(pfn))\n\nFix by removing the vm_flags_mod() call and replacing the vm_insert_pages()\npre-population with the handle_mm_fault() loop that was already used for\nthe import (dma-buf) path.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-08-22 16:16:46","updated_at":"2026-08-22 16:16:46"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/13339132d89d00b513dff0730bff3a313b9b13b5","name":"https://git.kernel.org/stable/c/13339132d89d00b513dff0730bff3a313b9b13b5","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/4a19f7ab5972ef608b31ae921419bc3e04b3f8ad","name":"https://git.kernel.org/stable/c/4a19f7ab5972ef608b31ae921419bc3e04b3f8ad","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-74716","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74716","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e486147c912f653ef4b60a6c7dbd4168a4c56a9f 13339132d89d00b513dff0730bff3a313b9b13b5 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e486147c912f653ef4b60a6c7dbd4168a4c56a9f 4a19f7ab5972ef608b31ae921419bc3e04b3f8ad git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.16","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.16 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.1.9 7.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/accel/amdxdna/amdxdna_gem.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"13339132d89d00b513dff0730bff3a313b9b13b5","status":"affected","version":"e486147c912f653ef4b60a6c7dbd4168a4c56a9f","versionType":"git"},{"lessThan":"4a19f7ab5972ef608b31ae921419bc3e04b3f8ad","status":"affected","version":"e486147c912f653ef4b60a6c7dbd4168a4c56a9f","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/accel/amdxdna/amdxdna_gem.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.16"},{"lessThan":"6.16","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"7.1.*","status":"unaffected","version":"7.1.9","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.2","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.1.9","versionStartIncluding":"6.16","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2","versionStartIncluding":"6.16","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\naccel/amdxdna: Fix locally exploitable BUG_ON in amdxdna_insert_pages()\n\nIn amdxdna_insert_pages(), vm_flags_mod() sets VM_MIXEDMAP and clears\nVM_PFNMAP. If an unprivileged userspace process mmaps a non-imported GEM\nobject and then calls madvise(MADV_DONTNEED), the PTEs will be\nsuccessfully cleared because VM_MIXEDMAP allows this (unlike VM_PFNMAP).\n\nWhen userspace subsequently accesses the memory, drm_gem_shmem_fault()\nhandles the page fault and attempts to map the backing shmem page via\nvmf_insert_pfn() which calls vmf_insert_pfn_prot(). Because the backing\nshmem page is normal system memory (pfn_valid(pfn) is true) and the VMA\nnow has VM_MIXEDMAP set, won't this predictably trigger the explicit\nassertion BUG_ON((vma->vm_flags & VM_MIXEDMAP) && pfn_valid(pfn))\n\nFix by removing the vm_flags_mod() call and replacing the vm_insert_pages()\npre-population with the handle_mm_fault() loop that was already used for\nthe import (dma-buf) path."}],"providerMetadata":{"dateUpdated":"2026-08-22T15:33:10.876Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/13339132d89d00b513dff0730bff3a313b9b13b5"},{"url":"https://git.kernel.org/stable/c/4a19f7ab5972ef608b31ae921419bc3e04b3f8ad"}],"title":"accel/amdxdna: Fix locally exploitable BUG_ON in amdxdna_insert_pages()","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-74716","datePublished":"2026-08-22T15:33:10.876Z","dateReserved":"2026-08-15T05:44:03.928Z","dateUpdated":"2026-08-22T15:33:10.876Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-08-22 16:16:46","lastModifiedDate":"2026-08-22 16:16:46","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"74716","Ordinal":"1","Title":"accel/amdxdna: Fix locally exploitable BUG_ON in amdxdna_insert_","CVE":"CVE-2026-74716","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"74716","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\naccel/amdxdna: Fix locally exploitable BUG_ON in amdxdna_insert_pages()\n\nIn amdxdna_insert_pages(), vm_flags_mod() sets VM_MIXEDMAP and clears\nVM_PFNMAP. If an unprivileged userspace process mmaps a non-imported GEM\nobject and then calls madvise(MADV_DONTNEED), the PTEs will be\nsuccessfully cleared because VM_MIXEDMAP allows this (unlike VM_PFNMAP).\n\nWhen userspace subsequently accesses the memory, drm_gem_shmem_fault()\nhandles the page fault and attempts to map the backing shmem page via\nvmf_insert_pfn() which calls vmf_insert_pfn_prot(). Because the backing\nshmem page is normal system memory (pfn_valid(pfn) is true) and the VMA\nnow has VM_MIXEDMAP set, won't this predictably trigger the explicit\nassertion BUG_ON((vma->vm_flags & VM_MIXEDMAP) && pfn_valid(pfn))\n\nFix by removing the vm_flags_mod() call and replacing the vm_insert_pages()\npre-population with the handle_mm_fault() loop that was already used for\nthe import (dma-buf) path.","Type":"Description","Title":"accel/amdxdna: Fix locally exploitable BUG_ON in amdxdna_insert_"}]}}}