mm/memory: reject remote COW faults on PFN mappings (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.23 % · percentile 14 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- Affected products
- Linux · Linux
- NVD status
- Received
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 ]
References
- https://git.kernel.org/stable/c/ccc4249323a503d4a6331351287155c30417b33d
- https://git.kernel.org/stable/c/5ca21505f1ff5f7b798b5e6a9695b1fee7d67d94
- https://git.kernel.org/stable/c/ae33e75094c8b924da0fc487e76c4fcd9bd20004
- https://git.kernel.org/stable/c/8b7eebc64b4e01cdfb610c3c3da0e494872abfa8
- https://git.kernel.org/stable/c/dd273e2d8d20f681a0147f13c12a1eb748fb9621
- https://git.kernel.org/stable/c/27b2e29733a837552f0f31370e9066fa28466353
- https://git.kernel.org/stable/c/649937cf1df6c70b8e5b0cd13a34945c547235d1
- https://git.kernel.org/stable/c/8db6921cc07b74197a3866d62ed262b68aeadcf3
European references
- ENISA EUVD · EUVD-2026-130948
- GCVE · GCVE-0-2026-99655
CERT-FR advisories
- CERTFR-2026-AVI-1679 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1638 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
Affected products
| Product | Affected versions |
|---|---|
| Linux · Linux | affected : ≥ 6aab341e0a28aff100a09831c5300a2994b8b986 < ccc4249323a503d4a6331351287155c30417b33d affected : ≥ 6aab341e0a28aff100a09831c5300a2994b8b986 < 5ca21505f1ff5f7b798b5e6a9695b1fee7d67d94 affected : ≥ 6aab341e0a28aff100a09831c5300a2994b8b986 < ae33e75094c8b924da0fc487e76c4fcd9bd20004 affected : ≥ 6aab341e0a28aff100a09831c5300a2994b8b986 < 8b7eebc64b4e01cdfb610c3c3da0e494872abfa8 affected : ≥ 6aab341e0a28aff100a09831c5300a2994b8b986 < dd273e2d8d20f681a0147f13c12a1eb748fb9621 affected : ≥ 6aab341e0a28aff100a09831c5300a2994b8b986 < 27b2e29733a837552f0f31370e9066fa28466353 affected : ≥ 6aab341e0a28aff100a09831c5300a2994b8b986 < 649937cf1df6c70b8e5b0cd13a34945c547235d1 affected : ≥ 6aab341e0a28aff100a09831c5300a2994b8b986 < 8db6921cc07b74197a3866d62ed262b68aeadcf3 Other versions : unaffected |
| Linux · Linux | affected : 2.6.15 unaffected : ≥ 0 < 2.6.15 unaffected : ≥ 5.10.275 ≤ 5.10.* unaffected : ≥ 5.15.226 ≤ 5.15.* unaffected : ≥ 6.1.193 ≤ 6.1.* unaffected : ≥ 6.6.163 ≤ 6.6.* unaffected : ≥ 6.12.118 ≤ 6.12.* unaffected : ≥ 6.18.64 ≤ 6.18.* unaffected : ≥ 7.3.5 ≤ 7.3.* unaffected : ≥ 7.4-rc2 ≤ * Other versions : affected |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |