# CVE-2026-64131: mm/memory: fix spurious warning when unmapping device-private/exclusive pages

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

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.16% (percentile 3, 2026-11-26)
- **Published:** 2026-07-19T15:40:26.854Z
- **Modified:** 2026-11-06T17:18:37.280Z

## Who should check

- Anyone running Linux \>= 999dad824c39ed14dee7c4412aae531ba9e74a90, \< e81446b559db4c98a6c2c5e039ac9cb23658432e; \>= 999dad824c39ed14dee7c4412aae531ba9e74a90, \< e7af1b15c884ed12bb69da11aec095045d861ee8; \>= 999dad824c39ed14dee7c4412aae531ba9e74a90, \< a825691b804b35141aaf4eac91003a70846e316d; \>= 999dad824c39ed14dee7c4412aae531ba9e74a90, \< 2fff0cdd942261497fb8922a194b4da3315ae864; \>= 999dad824c39ed14dee7c4412aae531ba9e74a90, \< 52f72b3f8f6fa64abb71b711962b97f1f6aced1c; \>= 999dad824c39ed14dee7c4412aae531ba9e74a90, \< be3f38d05cc5a7c3f13e51994c5dd043ab604d28
- Anyone running Linux 5.19

## Description

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

mm/memory: fix spurious warning when unmapping device-private/exclusive pages

Device private and exclusive entries are only supported for anonymous
folios.  This condition is tested in \_\_migrate\_device\_pages() and
make\_device\_exclusive() using folio\_test\_anon().  However the unmap path
tests this assumption using vma\_is\_anonymous().

This is wrong because whilst anonymous VMAs can only contain folios where
folio\_test\_anon() is true the opposite relation does not hold.  A folio
for which folio\_test\_anon() is true does not imply vma\_is\_anonymous() is
true.  Such a condition can occur if for example a folio is part of a
private filebacked mapping.

In this case vma\_is\_anonymous() is false as the mapping is filebacked, but
folio\_test\_anon() may be true, thus permitting devices to migrate the
folio to device private memory.  This can lead to the following spurious
warnings during process teardown:

\[  772.737706\] ------------\[ cut here \]------------
\[  772.739201\] WARNING: mm/memory.c:1754 at unmap\_page\_range.cold+0x26/0x18a, CPU\#17: hmm-tests/2041
\[  772.742050\] Modules linked in: test\_hmm nvidia\_uvm(O) nvidia(O)
\[  772.743959\] CPU: 17 UID: 0 PID: 2041 Comm: hmm-tests Tainted: G        W  O        7.0.0+ \#387 PREEMPT(full)
\[  772.747104\] Tainted: \[W\]=WARN, \[O\]=OOT\_MODULE
\[  772.748509\] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.17.0-0-gb52ca86e094d-prebuilt.qemu.org 04/01/2014
\[  772.752117\] RIP: 0010:unmap\_page\_range.cold+0x26/0x18a
\[  772.753780\] Code: 7e fe ff ff 48 89 4c 24 78 4c 89 44 24 38 e8 f2 ff b1 00 48 8b 4c 24 78 4c 8b 44 24 38 48 8b 44 24 18 48 83 78 48 00 74 04 90 \<0f\> 0b 90 48 89 ca b8 ff ff 37 00 48 c1 ea 03 48 c1 e0 2a 80 3c 02
\[  772.759602\] RSP: 0018:ffff888112607550 EFLAGS: 00010286
\[  772.761310\] RAX: ffff88811bbf4dc0 RBX: dffffc0000000000 RCX: ffffea03e9bfffd8
\[  772.763583\] RDX: 1ffff1102377e9c1 RSI: 0000000000000008 RDI: ffff88811bbf4e08
\[  772.765914\] RBP: 0000000000000006 R08: ffff8881059f7448 R09: ffffed10224c0e68
\[  772.768184\] R10: ffff888112607347 R11: 0000000000000001 R12: 0000000000000001
\[  772.770461\] R13: ffffea03e9bfffc0 R14: ffff888112607908 R15: ffffea03e9bfffc0
\[  772.772782\] FS:  00007f327caa2780(0000) GS:ffff888427b7d000(0000) knlGS:0000000000000000
\[  772.775328\] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
\[  772.777187\] CR2: 00007f327ca89000 CR3: 00000001994d5000 CR4: 00000000000006f0
\[  772.779135\] Call Trace:
\[  772.779792\]  \<TASK\>
\[  772.780317\]  ? dmirror\_interval\_invalidate+0x1a3/0x290 \[test\_hmm\]
\[  772.781873\]  ? vm\_normal\_page\_pud+0x2b0/0x2b0
\[  772.782992\]  ? \_\_rwlock\_init+0x150/0x150
\[  772.784006\]  ? lock\_release+0x216/0x2b0
\[  772.785008\]  ? \_\_mmu\_notifier\_invalidate\_range\_start+0x505/0x6e0
\[  772.786522\]  ? lock\_release+0x216/0x2b0
\[  772.787498\]  ? unmap\_single\_vma+0xb6/0x210
\[  772.788573\]  unmap\_vmas+0x27d/0x520
\[  772.789506\]  ? unmap\_single\_vma+0x210/0x210
\[  772.790607\]  ? mas\_update\_gap.part.0+0x620/0x620
\[  772.791834\]  unmap\_region+0x19e/0x350
\[  772.792769\]  ? remove\_vma+0x130/0x130
\[  772.793684\]  ? mas\_alloc\_nodes+0x1f2/0x300
\[  772.794730\]  vms\_complete\_munmap\_vmas+0x8c1/0xe20
\[  772.795926\]  ? unmap\_region+0x350/0x350
\[  772.796917\]  do\_vmi\_align\_munmap+0x36a/0x4e0
\[  772.798018\]  ? lock\_release+0x216/0x2b0
\[  772.799024\]  ? vma\_shrink+0x620/0x620
\[  772.799983\]  do\_vmi\_munmap+0x150/0x2c0
\[  772.800939\]  \_\_vm\_munmap+0x161/0x2c0
\[  772.801872\]  ? expand\_downwards+0xd60/0xd60
\[  772.802948\]  ? clockevents\_program\_event+0x1ef/0x540
\[  772.804217\]  ? lock\_release+0x216/0x2b0
\[  772.805158\]  \_\_x64\_sys\_munmap+0x59/0x80
\[  772.805776\]  do\_syscall\_64+0xfc/0x670
\[  772.806336\]  ? irqentry\_exit+0xda/0x580
\[  772.806976\]  entry\_SYSCALL\_64\_after\_hwframe+0x4b/0x53
\[  772.807772\] RIP: 0033:0x7f327cbb2717
\[  772.808323\] Code: 73 01 c3 48 8b 0d f9 76 0d 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 0b 00 00 00 0f 05 \<48\> 3d 01 f0 ff
---truncated---

## Affected and fixed versions

- Linux: \>= 999dad824c39ed14dee7c4412aae531ba9e74a90, \< e81446b559db4c98a6c2c5e039ac9cb23658432e; \>= 999dad824c39ed14dee7c4412aae531ba9e74a90, \< e7af1b15c884ed12bb69da11aec095045d861ee8; \>= 999dad824c39ed14dee7c4412aae531ba9e74a90, \< a825691b804b35141aaf4eac91003a70846e316d; \>= 999dad824c39ed14dee7c4412aae531ba9e74a90, \< 2fff0cdd942261497fb8922a194b4da3315ae864; \>= 999dad824c39ed14dee7c4412aae531ba9e74a90, \< 52f72b3f8f6fa64abb71b711962b97f1f6aced1c; \>= 999dad824c39ed14dee7c4412aae531ba9e74a90, \< be3f38d05cc5a7c3f13e51994c5dd043ab604d28 (cvelist)
- Linux: 5.19 (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-64131. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-64131.md
Affected: Linux >= 999dad824c39ed14dee7c4412aae531ba9e74a90, < e81446b559db4c98a6c2c5e039ac9cb23658432e; >= 999dad824c39ed14dee7c4412aae531ba9e74a90, < e7af1b15c884ed12bb69da11aec095045d861ee8; >= 999dad824c39ed14dee7c4412aae531ba9e74a90, < a825691b804b35141aaf4eac91003a70846e316d; >= 999dad824c39ed14dee7c44…
Fixed in: Linux 2fff0cdd942261497fb8922a194b4da3315ae864, Linux 52f72b3f8f6fa64abb71b711962b97f1f6aced1c

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-64131 being exploited?

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

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

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= 999dad824c39ed14dee7c4412aae531ba9e74a90, \< e81446b559db4c98a6c2c5e039ac9cb23658432e; \>= 999dad824c39ed14dee7c4412aae531ba9e74a90, \< e7af1b15c884ed12bb69da11aec095045d861ee8; \>= 999dad824c39ed14dee7c4412aae531ba9e74a90, \< a825691b804b35141aaf4eac91003a70846e316d; \>= 999dad824c39ed14dee7c4412aae531ba9e74a90, \< 2fff0cdd942261497fb8922a194b4da3315ae864; \>= 999dad824c39ed14dee7c4412aae531ba9e74a90, \< 52f72b3f8f6fa64abb71b711962b97f1f6aced1c; \>= 999dad824c39ed14dee7c4412aae531ba9e74a90, \< be3f38d05cc5a7c3f13e51994c5dd043ab604d28; Linux 5.19.

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

Yes. Fixed in Linux 2fff0cdd942261497fb8922a194b4da3315ae864, Linux 52f72b3f8f6fa64abb71b711962b97f1f6aced1c. No fix listed yet: follow the vendor advisory.

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

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

- patch: <https://git.kernel.org/stable/c/e81446b559db4c98a6c2c5e039ac9cb23658432e>
- patch: <https://git.kernel.org/stable/c/e7af1b15c884ed12bb69da11aec095045d861ee8>
- patch: <https://git.kernel.org/stable/c/a825691b804b35141aaf4eac91003a70846e316d>
- patch: <https://git.kernel.org/stable/c/2fff0cdd942261497fb8922a194b4da3315ae864>
- patch: <https://git.kernel.org/stable/c/52f72b3f8f6fa64abb71b711962b97f1f6aced1c>
- patch: <https://git.kernel.org/stable/c/be3f38d05cc5a7c3f13e51994c5dd043ab604d28>

## 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-64131>

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