CVE-2026-23077
published high CVSS 3.1 · 7.8mm/vma: fix anon_vma UAF on mremap() faulted, unfaulted merge
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux879bca0a2c4f40b08d09a95a2a0c3c6513060b5c to < a4d9dbfc1bab16e25fefd34b5e537a46bed8fc96 · 879bca0a2c4f40b08d09a95a2a0c3c6513060b5c to < 61f67c230a5e7c741c352349ea80147fbe65bfae · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.16 (affected) · 0 to < 6.16 (unaffected · semver) · 6.18.8 through 6.18.* (unaffected · semver) · 6.19 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Ubuntu | noble | linux-azure-6.17 | Advisory build | 6.17.0-1021.21~24.04.1 | USN-8604-1 |
| Ubuntu | noble | linux-azure-6.17-cloud-tools-6.17.0-1021 | Advisory build | 6.17.0-1021.21~24.04.1 | USN-8604-1 |
| Ubuntu | noble | linux-azure-6.17-headers-6.17.0-1021 | Advisory build | 6.17.0-1021.21~24.04.1 | USN-8604-1 |
| Ubuntu | noble | linux-azure-6.17-tools-6.17.0-1021 | Advisory build | 6.17.0-1021.21~24.04.1 | USN-8604-1 |
Show 79 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | noble | linux-buildinfo-6.17.0-1018-realtime | Advisory build | 6.17.0-1018.20~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1019-oracle | Advisory build | 6.17.0-1019.19~24.04.3 | USN-8570-2 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1019-oracle-64k | Advisory build | 6.17.0-1019.19~24.04.3 | USN-8570-2 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1021-azure | Advisory build | 6.17.0-1021.21~24.04.1 | USN-8604-1 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1021-gcp | Advisory build | 6.17.0-1021.24~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1021-gcp-64k | Advisory build | 6.17.0-1021.24~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1030-oem | Advisory build | 6.17.0-1030.30 | USN-8594-1 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1031-nvidia | Advisory build | 6.17.0-1031.31 | USN-8669-1 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1031-nvidia-64k | Advisory build | 6.17.0-1031.31 | USN-8669-1 |
| Ubuntu | noble | linux-cloud-tools-6.17.0-1018-realtime | Advisory build | 6.17.0-1018.20~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-cloud-tools-6.17.0-1021-azure | Advisory build | 6.17.0-1021.21~24.04.1 | USN-8604-1 |
| Ubuntu | noble | linux-gcp-6.17 | Advisory build | 6.17.0-1021.24~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-gcp-6.17-headers-6.17.0-1021 | Advisory build | 6.17.0-1021.24~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-gcp-6.17-tools-6.17.0-1021 | Advisory build | 6.17.0-1021.24~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-headers-6.17.0-1018-realtime | Advisory build | 6.17.0-1018.20~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-headers-6.17.0-1019-oracle | Advisory build | 6.17.0-1019.19~24.04.3 | USN-8570-2 |
| Ubuntu | noble | linux-headers-6.17.0-1019-oracle-64k | Advisory build | 6.17.0-1019.19~24.04.3 | USN-8570-2 |
| Ubuntu | noble | linux-headers-6.17.0-1021-azure | Advisory build | 6.17.0-1021.21~24.04.1 | USN-8604-1 |
| Ubuntu | noble | linux-headers-6.17.0-1021-gcp | Advisory build | 6.17.0-1021.24~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-headers-6.17.0-1021-gcp-64k | Advisory build | 6.17.0-1021.24~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-headers-6.17.0-1030-oem | Advisory build | 6.17.0-1030.30 | USN-8594-1 |
| Ubuntu | noble | linux-headers-6.17.0-1031-nvidia | Advisory build | 6.17.0-1031.31 | USN-8669-1 |
| Ubuntu | noble | linux-headers-6.17.0-1031-nvidia-64k | Advisory build | 6.17.0-1031.31 | USN-8669-1 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1018-realtime | Advisory build | 6.17.0-1018.20~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1019-oracle | Advisory build | 6.17.0-1019.19~24.04.3 | USN-8570-2 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1019-oracle-64k | Advisory build | 6.17.0-1019.19~24.04.3 | USN-8570-2 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1021-azure | Advisory build | 6.17.0-1021.21~24.04.1 | USN-8604-1 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1021-gcp | Advisory build | 6.17.0-1021.24~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1021-gcp-64k | Advisory build | 6.17.0-1021.24~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1030-oem | Advisory build | 6.17.0-1030.30 | USN-8594-1 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1031-nvidia | Advisory build | 6.17.0-1031.31 | USN-8669-1 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1031-nvidia-64k | Advisory build | 6.17.0-1031.31 | USN-8669-1 |
| Ubuntu | noble | linux-lib-rust-6.17.0-1021-gcp | Advisory build | 6.17.0-1021.24~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-modules-6.17.0-1018-realtime | Advisory build | 6.17.0-1018.20~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-modules-6.17.0-1019-oracle | Advisory build | 6.17.0-1019.19~24.04.3 | USN-8570-2 |
| Ubuntu | noble | linux-modules-6.17.0-1019-oracle-64k | Advisory build | 6.17.0-1019.19~24.04.3 | USN-8570-2 |
| Ubuntu | noble | linux-modules-6.17.0-1021-azure | Advisory build | 6.17.0-1021.21~24.04.1 | USN-8604-1 |
| Ubuntu | noble | linux-modules-6.17.0-1021-gcp | Advisory build | 6.17.0-1021.24~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-modules-6.17.0-1021-gcp-64k | Advisory build | 6.17.0-1021.24~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-modules-6.17.0-1030-oem | Advisory build | 6.17.0-1030.30 | USN-8594-1 |
| Ubuntu | noble | linux-modules-6.17.0-1031-nvidia | Advisory build | 6.17.0-1031.31 | USN-8669-1 |
| Ubuntu | noble | linux-modules-6.17.0-1031-nvidia-64k | Advisory build | 6.17.0-1031.31 | USN-8669-1 |
| Ubuntu | noble | linux-modules-evdi-6.17.0-1030-oem | Advisory build | 6.17.0-1030.30 | USN-8594-1 |
| Ubuntu | noble | linux-modules-extra-6.17.0-1018-realtime | Advisory build | 6.17.0-1018.20~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-modules-extra-6.17.0-1019-oracle | Advisory build | 6.17.0-1019.19~24.04.3 | USN-8570-2 |
| Ubuntu | noble | linux-modules-extra-6.17.0-1019-oracle-64k | Advisory build | 6.17.0-1019.19~24.04.3 | USN-8570-2 |
| Ubuntu | noble | linux-modules-extra-6.17.0-1021-azure | Advisory build | 6.17.0-1021.21~24.04.1 | USN-8604-1 |
| Ubuntu | noble | linux-modules-extra-6.17.0-1021-gcp | Advisory build | 6.17.0-1021.24~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-modules-extra-6.17.0-1021-gcp-64k | Advisory build | 6.17.0-1021.24~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-modules-ipu6-6.17.0-1030-oem | Advisory build | 6.17.0-1030.30 | USN-8594-1 |
| Ubuntu | noble | linux-modules-ipu7-6.17.0-1030-oem | Advisory build | 6.17.0-1030.30 | USN-8594-1 |
| Ubuntu | noble | linux-modules-iwlwifi-6.17.0-1018-realtime | Advisory build | 6.17.0-1018.20~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-modules-iwlwifi-6.17.0-1030-oem | Advisory build | 6.17.0-1030.30 | USN-8594-1 |
| Ubuntu | noble | linux-modules-nvidia-fs-6.17.0-1031-nvidia | Advisory build | 6.17.0-1031.31 | USN-8669-1 |
| Ubuntu | noble | linux-modules-nvidia-fs-6.17.0-1031-nvidia-64k | Advisory build | 6.17.0-1031.31 | USN-8669-1 |
| Ubuntu | noble | linux-modules-usbio-6.17.0-1030-oem | Advisory build | 6.17.0-1030.30 | USN-8594-1 |
| Ubuntu | noble | linux-modules-vision-6.17.0-1030-oem | Advisory build | 6.17.0-1030.30 | USN-8594-1 |
| Ubuntu | noble | linux-nvidia-6.17 | Advisory build | 6.17.0-1031.31 | USN-8669-1 |
| Ubuntu | noble | linux-nvidia-6.17-headers-6.17.0-1031 | Advisory build | 6.17.0-1031.31 | USN-8669-1 |
| Ubuntu | noble | linux-nvidia-6.17-tools-6.17.0-1031 | Advisory build | 6.17.0-1031.31 | USN-8669-1 |
| Ubuntu | noble | linux-oem-6.17 | Advisory build | 6.17.0-1030.30 | USN-8594-1 |
| Ubuntu | noble | linux-oem-6.17-headers-6.17.0-1030 | Advisory build | 6.17.0-1030.30 | USN-8594-1 |
| Ubuntu | noble | linux-oem-6.17-tools-6.17.0-1030 | Advisory build | 6.17.0-1030.30 | USN-8594-1 |
| Ubuntu | noble | linux-oracle-6.17 | Advisory build | 6.17.0-1019.19~24.04.3 | USN-8570-2 |
| Ubuntu | noble | linux-oracle-6.17-headers-6.17.0-1019 | Advisory build | 6.17.0-1019.19~24.04.3 | USN-8570-2 |
| Ubuntu | noble | linux-oracle-6.17-tools-6.17.0-1019 | Advisory build | 6.17.0-1019.19~24.04.3 | USN-8570-2 |
| Ubuntu | noble | linux-realtime-6.17 | Advisory build | 6.17.0-1018.20~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-realtime-6.17-cloud-tools-6.17.0-1018 | Advisory build | 6.17.0-1018.20~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-realtime-6.17-headers-6.17.0-1018 | Advisory build | 6.17.0-1018.20~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-realtime-6.17-tools-6.17.0-1018 | Advisory build | 6.17.0-1018.20~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-tools-6.17.0-1018-realtime | Advisory build | 6.17.0-1018.20~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-tools-6.17.0-1019-oracle | Advisory build | 6.17.0-1019.19~24.04.3 | USN-8570-2 |
| Ubuntu | noble | linux-tools-6.17.0-1019-oracle-64k | Advisory build | 6.17.0-1019.19~24.04.3 | USN-8570-2 |
| Ubuntu | noble | linux-tools-6.17.0-1021-azure | Advisory build | 6.17.0-1021.21~24.04.1 | USN-8604-1 |
| Ubuntu | noble | linux-tools-6.17.0-1021-gcp | Advisory build | 6.17.0-1021.24~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-tools-6.17.0-1021-gcp-64k | Advisory build | 6.17.0-1021.24~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-tools-6.17.0-1030-oem | Advisory build | 6.17.0-1030.30 | USN-8594-1 |
| Ubuntu | noble | linux-tools-6.17.0-1031-nvidia | Advisory build | 6.17.0-1031.31 | USN-8669-1 |
| Ubuntu | noble | linux-tools-6.17.0-1031-nvidia-64k | Advisory build | 6.17.0-1031.31 | USN-8669-1 |
Description
In the Linux kernel, the following vulnerability has been resolved: mm/vma: fix anon_vma UAF on mremap() faulted, unfaulted merge Patch series "mm/vma: fix anon_vma UAF on mremap() faulted, unfaulted merge", v2. Commit 879bca0a2c4f ("mm/vma: fix incorrectly disallowed anonymous VMA merges") introduced the ability to merge previously unavailable VMA merge scenarios. However, it is handling merges incorrectly when it comes to mremap() of a faulted VMA adjacent to an unfaulted VMA. The issues arise in three cases: 1. Previous VMA unfaulted: copied -----| v |-----------|.............| | unfaulted |(faulted VMA)| |-----------|.............| prev 2. Next VMA unfaulted: copied -----| v |.............|-----------| |(faulted VMA)| unfaulted | |.............|-----------| next 3. Both adjacent VMAs unfaulted: copied -----| v |-----------|.............|-----------| | unfaulted |(faulted VMA)| unfaulted | |-----------|.............|-----------| prev next This series fixes each of these cases, and introduces self tests to assert that the issues are corrected. I also test a further case which was already handled, to assert that my changes continues to correctly handle it: 4. prev unfaulted, next faulted: copied -----| v |-----------|.............|-----------| | unfaulted |(faulted VMA)| faulted | |-----------|.............|-----------| prev next This bug was discovered via a syzbot report, linked to in the first patch in the series, I confirmed that this series fixes the bug. I also discovered that we are failing to check that the faulted VMA was not forked when merging a copied VMA in cases 1-3 above, an issue this series also addresses. I also added self tests to assert that this is resolved (and confirmed that the tests failed prior to this). I also cleaned up vma_expand() as part of this work, renamed vma_had_uncowed_parents() to vma_is_fork_child() as the previous name was unduly confusing, and simplified the comments around this function. This patch (of 4): Commit 879bca0a2c4f ("mm/vma: fix incorrectly disallowed anonymous VMA merges") introduced the ability to merge previously unavailable VMA merge scenarios. The key piece of logic introduced was the ability to merge a faulted VMA immediately next to an unfaulted VMA, which relies upon dup_anon_vma() to correctly handle anon_vma state. In the case of the merge of an existing VMA (that is changing properties of a VMA and then merging if those properties are shared by adjacent VMAs), dup_anon_vma() is invoked correctly. However in the case of the merge of a new VMA, a corner case peculiar to mremap() was missed. The issue is that vma_expand() only performs dup_anon_vma() if the target (the VMA that will ultimately become the merged VMA): is not the next VMA, i.e. the one that appears after the range in which the new VMA is to be established. A key insight here is that in all other cases other than mremap(), a new VMA merge either expands an existing VMA, meaning that the target VMA will be that VMA, or would have anon_vma be NULL. Specifically: * __mmap_region() - no anon_vma in place, initial mapping. * do_brk_flags() - expanding an existing VMA. * vma_merge_extend() - expanding an existing VMA. * relocate_vma_down() - no anon_vma in place, initial mapping. In addition, we are in the unique situation of needing to duplicate anon_vma state from a VMA that is neither the previous or next VMA being merged with. dup_anon_vma() deals exclusively with the target=unfaulted, src=faulted case. This leaves four possibilities, in each case where the copied VMA is faulted: 1. Previous VMA unfaulted: copied -----| ---truncated---
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The vulnerability is triggered via the mremap() syscall, which requires local access to the system. There is no network or adjacent network path to reach this code. AC:L - The attacker can deterministically set up the required VMA layout (faulted VMA adjacent to unfaulted VMA) and trigger the bug with mremap(MREMAP_DONTUNMAP). Syzbot found this automatically, confirming reliable reproducibility. PR:L - The mremap() syscall is available to any unprivileged local user. No special capabilities or root privileges are required to trigger this vulnerability. UI:N - No user interaction is required. The attacker can trigger the vulnerability entirely through their own syscall sequence. S:U - This is a standard kernel memory corruption vulnerability. It does not cross security boundaries like VM escape or IOMMU bypass. C:H - The use-after-free on anon_vma gives the attacker control over freed object contents via heap spraying, enabling arbitrary kernel memory reads through the dangling folio references. I:H - The use-after-free enables heap spraying where attacker-controlled data replaces the freed anon_vma, providing arbitrary write primitives and potential control flow hijacking through corrupted kernel structures. A:H - The use-after-free causes kernel crashes when the dangling anon_vma pointers are accessed, leading to kernel oops or panic. Syzbot confirmed crashes from this bug.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 879bca0a2c4f40b08d09a95a2a0c3c6513060b5c to < a4d9dbfc1bab16e25fefd34b5e537a46bed8fc96 (affected · git)879bca0a2c4f40b08d09a95a2a0c3c6513060b5c to < 61f67c230a5e7c741c352349ea80147fbe65bfae (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.16 (affected)0 to < 6.16 (unaffected · semver)6.18.8 through 6.18.* (unaffected · semver)6.19 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
1Linux · cna
mm/vma: fix anon_vma UAF on mremap() faulted, unfaulted merge
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 8532bb44158b57bcefe89e052f86b8038ec5f1d32194e35f78b8b107ff808b5d
- Ingested
- 23 Sep 2026, 09:05:46 UTC
- Source record
- Official CVE record