CVE-2026-99655
mm/memory: reject remote COW faults on PFN mappings
- CVSS
- —
- EPSS
- 0.23% (p14)
- Published
- 2026-11-20
- Age
- 14d old
- Modified
- 2026-11-23
- Product
- Linux Linux
Description
In the Linux kernel, the following vulnerability has been resolved: mm/memory: reject remote COW faults on PFN mappings When handling a COW fault without a normal source page (PFN mappings), __wp_page_copy_user() copies from the faulting user address. For remote faults, this accesses the wrong address space, resulting in wrong data getting copied. For example, user_events updates an enable bit in the registering process's memory. If that memory needs to be faulted in, user_event_enabler_fault_fixup() calls fixup_user_fault() from a work item. Placing the enable bit in a private PFN mapping can trigger this remote COW path. Reject these faults with VM_FAULT_SIGBUS when the target mm differs from current->mm: remote faults. Ordinary (non-PFN) mappings are not affected. The user-address copy dates back to commit 6aab341e0a28 ("mm: re-architect the VM_UNPAGED logic"); likely, actual ways to get remote faults in there on COW PFN mappings appeared afterwards. But the fix is simple and straight forward. Fix generated by an LLM and sent by Chris Mason in private. [ david: simplify comment and description ]
Fixed in
27b2e29733a837552f0f31370e9066fa28466353 · 5ca21505f1ff5f7b798b5e6a9695b1fee7d67d94 · 649937cf1df6c70b8e5b0cd13a34945c547235d1 · 8b7eebc64b4e01cdfb610c3c3da0e494872abfa8 · 8db6921cc07b74197a3866d62ed262b68aeadcf3 · ae33e75094c8b924da0fc487e76c4fcd9bd20004 · ccc4249323a503d4a6331351287155c30417b33d · dd273e2d8d20f681a0147f13c12a1eb748fb9621
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | Linux | >=6aab341e0a28aff100a09831c5300a2994b8b986, <27b2e29733a837552f0f31370e9066fa28466353 | 27b2e29733a837552f0f31370e9066fa28466353 |
| vendor | Linux | >=6aab341e0a28aff100a09831c5300a2994b8b986, <5ca21505f1ff5f7b798b5e6a9695b1fee7d67d94 | 5ca21505f1ff5f7b798b5e6a9695b1fee7d67d94 |
| vendor | Linux | >=6aab341e0a28aff100a09831c5300a2994b8b986, <649937cf1df6c70b8e5b0cd13a34945c547235d1 | 649937cf1df6c70b8e5b0cd13a34945c547235d1 |
| vendor | Linux | >=6aab341e0a28aff100a09831c5300a2994b8b986, <8b7eebc64b4e01cdfb610c3c3da0e494872abfa8 | 8b7eebc64b4e01cdfb610c3c3da0e494872abfa8 |
| vendor | Linux | >=6aab341e0a28aff100a09831c5300a2994b8b986, <8db6921cc07b74197a3866d62ed262b68aeadcf3 | 8db6921cc07b74197a3866d62ed262b68aeadcf3 |
| vendor | Linux | >=6aab341e0a28aff100a09831c5300a2994b8b986, <ae33e75094c8b924da0fc487e76c4fcd9bd20004 | ae33e75094c8b924da0fc487e76c4fcd9bd20004 |
| vendor | Linux | >=6aab341e0a28aff100a09831c5300a2994b8b986, <ccc4249323a503d4a6331351287155c30417b33d | ccc4249323a503d4a6331351287155c30417b33d |
| vendor | Linux | >=6aab341e0a28aff100a09831c5300a2994b8b986, <dd273e2d8d20f681a0147f13c12a1eb748fb9621 | dd273e2d8d20f681a0147f13c12a1eb748fb9621 |
Sources
References
- https://git.kernel.org/stable/c/dd273e2d8d20f681a0147f13c12a1eb748fb9621 other
- https://git.kernel.org/stable/c/27b2e29733a837552f0f31370e9066fa28466353 other
- https://git.kernel.org/stable/c/649937cf1df6c70b8e5b0cd13a34945c547235d1 other
- https://git.kernel.org/stable/c/8db6921cc07b74197a3866d62ed262b68aeadcf3 other
- https://git.kernel.org/stable/c/ccc4249323a503d4a6331351287155c30417b33d other
- https://git.kernel.org/stable/c/5ca21505f1ff5f7b798b5e6a9695b1fee7d67d94 other
- https://git.kernel.org/stable/c/ae33e75094c8b924da0fc487e76c4fcd9bd20004 other
- https://git.kernel.org/stable/c/8b7eebc64b4e01cdfb610c3c3da0e494872abfa8 other