# CVE-2026-74672: mm/vmalloc: acquire init\_mm lock on huge vmap to avoid ptdump UAF

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.22% (percentile 7, 2026-11-26)
- **Published:** 2026-08-22T15:32:42.210Z
- **Modified:** 2026-11-06T17:19:53.590Z

## Who should check

- Anyone running Linux \>= b6bdb7517c3d3f41f20e5c2948d6bc3f8897394e, \< 51eaba47b3dc258d1182fc3a88da544ed6b6bb2d; \>= b6bdb7517c3d3f41f20e5c2948d6bc3f8897394e, \< e85ed734611616d4a9d8a240bde563dd6ac7452f; \>= b6bdb7517c3d3f41f20e5c2948d6bc3f8897394e, \< 39c6772b56a6bbdd62794833f74232971d94d7c9; \>= b6bdb7517c3d3f41f20e5c2948d6bc3f8897394e, \< 8d7f560f4b0482d469de962fbe4b59c37561052e; \>= b6bdb7517c3d3f41f20e5c2948d6bc3f8897394e, \< 7ac8a333dd41ba5e1b4e8c6edbc48b15446c5468; \>= b6bdb7517c3d3f41f20e5c2948d6bc3f8897394e, \< c5bf8cd148cfea948cfa3db71da427294b20db0f; \>= b6bdb7517c3d3f41f20e5c2948d6bc3f8897394e, \< 3cc26c8907db0f5d1ff8043b5851ee572e9b3c98; \>= b6bdb7517c3d3f41f20e5c2948d6bc3f8897394e, \< 26444eb71465c9934d9d418ef69c43f61185329b; 31895cfd79564111cdd5a9f48c5d491ae26a238e; 9c7f7bdb1932f8c1e5f80d32c717184701afe701; …
- Anyone running Linux 4.16

## Description

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

mm/vmalloc: acquire init\_mm lock on huge vmap to avoid ptdump UAF

Patch series "mm: fix UAF caused by race between ptdump and vmap pgtable
freeing", v6.

Kernel page table walkers fall into two broad categories - those ranges
where no exclusion is required via walk\_kernel\_page\_table\_range\_lockless()
and those where exclusion is required via walk\_kernel\_page\_table\_range()
or walk\_page\_range\_debug().

The former category is used only by arm64 arch code operating on ranges it
both wholly owns and does not concurrently write.

The latter category consists of kernel page table walkers operating on
ranges that are wholly owned (but which need exclusion against concurrent
writers).

The lock used for exclusion is the mmap lock, and for kernel ranges this
is the mmap lock on init\_mm.

ptdump is a special case being both the only user of
walk\_page\_range\_debug(), and the only case in which it walks ranges it
does not own.

This presents a problem, as page tables may be freed under ptdump.  And
indeed there is a use-after-free bug in the kernel as a result, which this
series addresses.

vmap promotes page tables to huge leaf entries where possible, freeing the
lower page table when it does.  It does this with no meaningful locks held
against concurrent ptdump walks.

As a result, use-after-free can currently occur.  This series addresses
the issue by having the vmap huge promotion logic acquire the mmap read
lock while both setting the huge page table entry and freeing the prior
leaf page table.

The ptdump code already acquires the mmap write lock, so by doing so we
ensure that the ptdump walker only ever observes either the huge page
table entry or the existing page table entry, and nothing is freed
underneath it.

A mitigation for this issue was already applied for arm64 in commit
fa93b45fd397 ("arm64: Enable vmalloc-huge with ptdump"), which this series
has to deal with carefully.

This mitigation resolves the issue by acquiring the mmap read lock on
init\_mm on vmap page table free if a ptdump is in progress.

However the fix in this series would cause a deadlock if we were to simply
apply it for arm64 without also reverting the change.

This is because vmap may acquire the read lock before ptdump attempts to
acquire the write lock, which then gets queued, and rwsem starvation rules
mean that the (unacknowledged) nested mmap read lock in the arm64 code
would also block, meaning the original read lock is never released and
thus deadlock.

This series works around this by \#ifndef CONFIG\_ARM64'ing the mmap read
lock in vmap logic, then partially reverting commit fa93b45fd397 ("arm64:
Enable vmalloc-huge with ptdump"), keeping the enablement of huge vmap
support, and removing the ifdeffery with the partial revert patch.

There are related issues that are also addressed in this series:

\* x86 page attribute logic, specifically Change Page Attributes (CPA),
  implements a feature whereby huge ranges can be collapsed into huge leaf
  entries. This can similarly cause a UAF when done in parallel with a
  ptdump walk, so similarly acquire the init\_mm mmap lock to avoid this.

\* The CPA logic allows concurrent page table manipulation and CPA
  collapse, meaning the former risks accessing a page table the latter
  frees. Fix this by acquiring mmap write lock on init\_mm across the
  whole CPA collapse operation and read lock on the page table
  manipulation.

\* x86 and arm64 permit walks of non-kernel mm's (both allowing efi mm
  walks, and in x86's case arbitrary mm's), so we ensure kernel mappings
  remain stable by locking the init\_mm as well as the mm being walked.

The ordering of patches is established for both strict dependencies (the
arm64 partial revert in particular has to be done after the vmap changes)
and logical ones (the non-kernel mm fix only makes sense once the vmap/CPA
fixes are in place).


This patch (of 3):

Currently there is a nasty ra
---truncated---

## Affected and fixed versions

- Linux: \>= b6bdb7517c3d3f41f20e5c2948d6bc3f8897394e, \< 51eaba47b3dc258d1182fc3a88da544ed6b6bb2d; \>= b6bdb7517c3d3f41f20e5c2948d6bc3f8897394e, \< e85ed734611616d4a9d8a240bde563dd6ac7452f; \>= b6bdb7517c3d3f41f20e5c2948d6bc3f8897394e, \< 39c6772b56a6bbdd62794833f74232971d94d7c9; \>= b6bdb7517c3d3f41f20e5c2948d6bc3f8897394e, \< 8d7f560f4b0482d469de962fbe4b59c37561052e; \>= b6bdb7517c3d3f41f20e5c2948d6bc3f8897394e, \< 7ac8a333dd41ba5e1b4e8c6edbc48b15446c5468; \>= b6bdb7517c3d3f41f20e5c2948d6bc3f8897394e, \< c5bf8cd148cfea948cfa3db71da427294b20db0f; \>= b6bdb7517c3d3f41f20e5c2948d6bc3f8897394e, \< 3cc26c8907db0f5d1ff8043b5851ee572e9b3c98; \>= b6bdb7517c3d3f41f20e5c2948d6bc3f8897394e, \< 26444eb71465c9934d9d418ef69c43f61185329b; 31895cfd79564111cdd5a9f48c5d491ae26a238e; 9c7f7bdb1932f8c1e5f80d32c717184701afe701; … (cvelist)
- Linux: 4.16 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-74672. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-74672.md
Affected: Linux >= b6bdb7517c3d3f41f20e5c2948d6bc3f8897394e, < 51eaba47b3dc258d1182fc3a88da544ed6b6bb2d; >= b6bdb7517c3d3f41f20e5c2948d6bc3f8897394e, < e85ed734611616d4a9d8a240bde563dd6ac7452f; >= b6bdb7517c3d3f41f20e5c2948d6bc3f8897394e, < 39c6772b56a6bbdd62794833f74232971d94d7c9; >= b6bdb7517c3d3f41f20e5c2…
Fixed in: Linux 51eaba47b3dc258d1182fc3a88da544ed6b6bb2d, Linux 39c6772b56a6bbdd62794833f74232971d94d7c9, Linux 8d7f560f4b0482d469de962fbe4b59c37561052e, Linux 7ac8a333dd41ba5e1b4e8c6edbc48b15446c5468, Linux 3cc26c8907db0f5d1ff8043b5851ee572e9b3c98, Linux 26444eb71465c9934d9d418ef69c43f61185329b

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-74672 being exploited?

There is no confirmed exploitation: CVE-2026-74672 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-74672?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-74672?

Linux \>= b6bdb7517c3d3f41f20e5c2948d6bc3f8897394e, \< 51eaba47b3dc258d1182fc3a88da544ed6b6bb2d; \>= b6bdb7517c3d3f41f20e5c2948d6bc3f8897394e, \< e85ed734611616d4a9d8a240bde563dd6ac7452f; \>= b6bdb7517c3d3f41f20e5c2948d6bc3f8897394e, \< 39c6772b56a6bbdd62794833f74232971d94d7c9; \>= b6bdb7517c3d3f41f20e5c2948d6bc3f8897394e, \< 8d7f560f4b0482d469de962fbe4b59c37561052e; \>= b6bdb7517c3d3f41f20e5c2948d6bc3f8897394e, \< 7ac8a333dd41ba5e1b4e8c6edbc48b15446c5468; \>= b6bdb7517c3d3f41f20e5c2948d6bc3f8897394e, \< c5bf8cd148cfea948cfa3db71da427294b20db0f; \>= b6bdb7517c3d3f41f20e5c2948d6bc3f8897394e, \< 3cc26c8907db0f5d1ff8043b5851ee572e9b3c98; \>= b6bdb7517c3d3f41f20e5c2948d6bc3f8897394e, \< 26444eb71465c9934d9d418ef69c43f61185329b; 31895cfd79564111cdd5a9f48c5d491ae26a238e; 9c7f7bdb1932f8c1e5f80d32c717184701afe701; …; Linux 4.16.

### Is there a fix for CVE-2026-74672?

Yes. Fixed in Linux 51eaba47b3dc258d1182fc3a88da544ed6b6bb2d, Linux 39c6772b56a6bbdd62794833f74232971d94d7c9, Linux 8d7f560f4b0482d469de962fbe4b59c37561052e, Linux 7ac8a333dd41ba5e1b4e8c6edbc48b15446c5468, Linux 3cc26c8907db0f5d1ff8043b5851ee572e9b3c98, Linux 26444eb71465c9934d9d418ef69c43f61185329b. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-74672?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/51eaba47b3dc258d1182fc3a88da544ed6b6bb2d>
- other: <https://git.kernel.org/stable/c/e85ed734611616d4a9d8a240bde563dd6ac7452f>
- other: <https://git.kernel.org/stable/c/39c6772b56a6bbdd62794833f74232971d94d7c9>
- other: <https://git.kernel.org/stable/c/8d7f560f4b0482d469de962fbe4b59c37561052e>
- other: <https://git.kernel.org/stable/c/7ac8a333dd41ba5e1b4e8c6edbc48b15446c5468>
- other: <https://git.kernel.org/stable/c/c5bf8cd148cfea948cfa3db71da427294b20db0f>
- other: <https://git.kernel.org/stable/c/3cc26c8907db0f5d1ff8043b5851ee572e9b3c98>
- other: <https://git.kernel.org/stable/c/26444eb71465c9934d9d418ef69c43f61185329b>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-74672>

HTML: <https://flawdb.com/CVE-2026-74672> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-74672>
