Skip to content
Heist/ feed
Unrated

accel/amdxdna: Fix locally exploitable BUG_ON in amdxdna_insert_pages()

Type: advisorySource: Official CVE List1 source record

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.

Announced Group revision 1
Original source ↗

CVE-2026-74716

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-74716

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "e486147c912f653ef4b60a6c7dbd4168a4c56a9f",
        "lessThan": "618fc8dc219c11b8b85f0c8e3f7ff46cc1544339",
        "versionType": "git"
      },
      {
        "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": "6.18.57",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "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"
  }
]
Related CVEs
CVE-2026-74716

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

Event
#28632 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement