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

Published Aug 22, 2026
·
Updated

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

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

Two error paths in amdxdnainsertpages() called vma->vmops->close(vma) before returning an error code to the caller. This is incorrect: amdxdnagemobjmmap() registers an HMM interval notifier before calling amdxdnainsertpages(), and on a hard error it jumps to hmmunreg to undo that registration. Calling vmops->close() manually — which drops the shmem pagespincount 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 vmops->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.

Affected Software

1 affected component
Linux Kernel

Event History

Aug 22, 2026
CVE Published
via MITRE·03:33 PM
Data Sourced
via MITRE·03:33 PM
Description
Data Sourced
via NVD·04:16 PM
Description

Frequently Asked Questions

1

What conditions are needed to trigger the faulty error paths?

The issue is reached when amdxdna_insert_pages() encounters one of its hard error conditions during mmap setup after amdxdna_gem_obj_mmap() has registered an HMM interval notifier. The provided information does not identify the specific page-insertion failures that lead to those paths.

2

What is the practical consequence if the affected path is triggered?

Resources backing the VMA, including shmem pages_pin_count and the GEM object reference, can be released while the VMA remains alive. When the process later unmaps the range, normal VMA teardown calls close again, causing a reference-count underflow.

3

How does the fix change behavior when page insertion fails?

Instead of manually invoking the VMA close operation and returning a hard error, the fix uses a deferred-fault approach. This keeps the VMA alive and retries page insertion through the HMM range-fault path.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203