CVE-2026-74721
kernel: accel/amxdna: Fix page-insertion errors in amdxdna_insert_pages()
Overview
Description
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.
Source: OX vulnerability database
Severity
7.8 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected packages · 0
No registry package. This ID affects operating system packages only.
Operating systems · 24 fixes
SUSE Linux Enterprise 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 16.1 | kernel-devel-nvidia +2 | 6.12.0-160100.6.1 | SUSE-SU-2026:24691-1 |
debian 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 14 | linux | 7.1.9-1 |
openSUSE Leap 1 release · 3 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 16.1 | cluster-md-kmp-nvidia64kb +11 | 6.12.0-160100.6.1 | openSUSE-SU-2026:22313-1 |
| 16.1 | cluster-md-kmp-64kb +74 | 6.12.0-160100.9.1 | openSUSE-SU-2026:22309-1 |
| 16.1 | kernel-default-base | 6.12.0-160100.9.1.160100.3.14 | openSUSE-SU-2026:22309-1 |
ubuntu 2 releases · 19 packages
| Release | Package | Fixed in |
|---|---|---|
| 24.04 | linux-azure-7-0 +1 | affected |
| 24.04 | linux-oracle-7-0 | 7.0.0-1016.18~24.04.1 |
| 24.04 | linux-aws-7-0 | 7.0.0-1017.18~24.04.1 |
| 24.04 | linux-gcp-7-0 | 7.0.0-1017.19~24.04.1 |
| 24.04 | linux-azure-fde-7-0 | 7.0.0-1019.19~24.04.1 |
| 24.04 | linux-riscv-7-0 | 7.0.0-42.42.1~24.04.1 |
13 more rows
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-74721
- git.kernel.org https://git.kernel.org/stable/c/1501e4d07c6fee0d50531a0d1cb2be01a63e6e75
- git.kernel.org https://git.kernel.org/stable/c/8d51e0fd3e698919d2adeff71936377f0c0d4aa0
- git.kernel.org https://git.kernel.org/stable/c/b3d05a335cbd3d89538e9dde1621dccf33ae945a
- lore.kernel.org https://lore.kernel.org/linux-cve-announce/2026082240-CVE-2026-74721-18a0@gregkh/T
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-74721
- ubuntu.com https://ubuntu.com/security/notices/USN-8959-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8960-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9019-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9020-1
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.