---
id: CVE-2026-74721
title: |-
  In the Linux kernel, the following vulnerability has been resolved:

  accel/amxdna: Fix page-insertion errors in amdxdna_insert_pages()

  Two error paths in amdxdna_insert_pages() called vma->vm_ops->close(vma)
  before returning an error co…
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  accel/amxdna: Fix page-insertion errors in amdxdna_insert_pages()

  Two error paths in amdxdna_insert_pages() called vma->vm_ops->close(vma)
  before returning an error co…
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= e486147c912f653ef4b60a6c7dbd4168a4c56a9f <
    b3d05a335cbd3d89538e9dde1621dccf33ae945a
  - >-
    Linux >= e486147c912f653ef4b60a6c7dbd4168a4c56a9f <
    1501e4d07c6fee0d50531a0d1cb2be01a63e6e75
  - >-
    Linux >= e486147c912f653ef4b60a6c7dbd4168a4c56a9f <
    8d51e0fd3e698919d2adeff71936377f0c0d4aa0
  - Linux 6.16
published: '2026-08-22'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T11:17:48.843'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-74721'
references:
  - url: 'https://git.kernel.org/stable/c/1501e4d07c6fee0d50531a0d1cb2be01a63e6e75'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/8d51e0fd3e698919d2adeff71936377f0c0d4aa0'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/b3d05a335cbd3d89538e9dde1621dccf33ae945a'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
tags:
  - nvd
  - cve.org
epss: 0.00173
epssPercentile: 0.06734
ingestedAt: '2026-10-14T13:30:58.547Z'
---

## Overview

In the Linux kernel, the following vulnerability has been resolved:

accel/amxdna: Fix page-insertion errors in amdxdna_insert_pages()

Two error paths in amdxdna_insert_pages() called vma->vm_ops->close(vma)
before returning an error code to the caller.  This is incorrect:
amdxdna_gem_obj_mmap() registers an HMM interval notifier before calling
amdxdna_insert_pages(), and on a hard error it jumps to hmm_unreg to undo
that registration.  Calling vm_ops->close() manually — which drops the
shmem pages_pin_count and the GEM object reference that backs the VMA —
before the mmap syscall has even returned causes those resources to be
released while the VMA is still alive.  The kernel VMA teardown will call
vm_ops->close() a second time when the process later unmaps the range,
producing a reference count underflow.

Replace both hard-error returns with a deferred-fault approach that keeps
the VMA alive and retries page insertion through the HMM range-fault path.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
