# CVE-2026-80893: mm/hugetlb: fix swap entry corruption when clearing uffd-wp at fork()

> 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.21% (percentile 7, 2026-11-26)
- **Published:** 2026-09-04T17:11:09.199Z
- **Modified:** 2026-11-06T17:20:01.237Z

## Who should check

- Anyone running Linux \>= bc70fbf269fdff410b0b6d75c3770b9f59117b90, \< f1b1311c0352873137768bac5a126e491271a747; \>= bc70fbf269fdff410b0b6d75c3770b9f59117b90, \< 69cb5825d9988c7944bc9f1dc08cb233655405a7; \>= bc70fbf269fdff410b0b6d75c3770b9f59117b90, \< 8b0de7005b148738d79d6c45594d566489948a68; \>= bc70fbf269fdff410b0b6d75c3770b9f59117b90, \< 2b9a07002c2f296aa6a9c591213933d3492e3089; \>= bc70fbf269fdff410b0b6d75c3770b9f59117b90, \< 2fa11c60c9c06bafc19cf4d9efdaa36a38079e87; \>= bc70fbf269fdff410b0b6d75c3770b9f59117b90, \< 83abe2fd5b3aeb3123b5408a5a91709c5538fb23
- Anyone running Linux 5.19

## Description

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

mm/hugetlb: fix swap entry corruption when clearing uffd-wp at fork()

copy\_hugetlb\_page\_range() clears the uffd-wp bit of migration and hwpoison
entries with huge\_pte\_clear\_uffd\_wp(), which operates on the present-PTE
bit position.  Swap entries keep the uffd-wp state elsewhere -- the
migration branch reads and sets it with pte\_swp\_uffd\_wp() and
pte\_swp\_mkuffd\_wp() -- and the present-PTE position falls into the swap
payload.  On x86-64 it lands in the inverted swap offset, where a
naturally-aligned hugetlb PFN always has the affected bit set, so the
clear advances the encoded PFN by two pages.

No userfaultfd needs to be involved: the clear is guarded only by the
child VMA not being uffd-wp registered, so a plain fork() with an
in-flight hugetlb migration entry (or a poisoned hugetlb page) corrupts
the entry copied into the child.  Instrumenting the clear and forking
after MADV\_HWPOISON on a 2MB anon hugetlb page shows:

  offset before=120e00
  offset after =120e02

The fallout is mostly latent: rmap walks match migration entries by folio
range and remove\_migration\_pte() rebuilds the PTE from the folio, so a
within-folio PFN skew heals once migration completes.  But any path that
re-encodes the corrupted offset -- e.g.  hugetlb\_change\_protection()
rewriting a writable migration entry via
make\_readable\_migration\_entry(swp\_offset(entry)) -- propagates it.

Migration entries legitimately carry uffd-wp, so clear it with
pte\_swp\_clear\_uffd\_wp(), matching copy\_nonpresent\_pte() and
move\_huge\_pte().

A hwpoison entry, on the other hand, never carries the uffd-wp bit: it is
installed fresh by make\_hwpoison\_entry() (try\_to\_unmap\_one() does not
preserve uffd-wp on the hwpoison path) and hugetlb\_change\_protection()
leaves hwpoison entries untouched.  There was nothing to clear there, only
the corruption, so drop the clear entirely.

## Affected and fixed versions

- Linux: \>= bc70fbf269fdff410b0b6d75c3770b9f59117b90, \< f1b1311c0352873137768bac5a126e491271a747; \>= bc70fbf269fdff410b0b6d75c3770b9f59117b90, \< 69cb5825d9988c7944bc9f1dc08cb233655405a7; \>= bc70fbf269fdff410b0b6d75c3770b9f59117b90, \< 8b0de7005b148738d79d6c45594d566489948a68; \>= bc70fbf269fdff410b0b6d75c3770b9f59117b90, \< 2b9a07002c2f296aa6a9c591213933d3492e3089; \>= bc70fbf269fdff410b0b6d75c3770b9f59117b90, \< 2fa11c60c9c06bafc19cf4d9efdaa36a38079e87; \>= bc70fbf269fdff410b0b6d75c3770b9f59117b90, \< 83abe2fd5b3aeb3123b5408a5a91709c5538fb23 (cvelist)
- Linux: 5.19 (cvelist)

## Mitigation

- Upgrade Linux to 83abe2fd5b3aeb3123b5408a5a91709c5538fb23 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-80893.md
Affected: Linux >= bc70fbf269fdff410b0b6d75c3770b9f59117b90, < f1b1311c0352873137768bac5a126e491271a747; >= bc70fbf269fdff410b0b6d75c3770b9f59117b90, < 69cb5825d9988c7944bc9f1dc08cb233655405a7; >= bc70fbf269fdff410b0b6d75c3770b9f59117b90, < 8b0de7005b148738d79d6c45594d566489948a68; >= bc70fbf269fdff410b0b6d7…
Fixed in: Linux 69cb5825d9988c7944bc9f1dc08cb233655405a7, Linux 8b0de7005b148738d79d6c45594d566489948a68, Linux 2b9a07002c2f296aa6a9c591213933d3492e3089, Linux 2fa11c60c9c06bafc19cf4d9efdaa36a38079e87, Linux 83abe2fd5b3aeb3123b5408a5a91709c5538fb23

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

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= bc70fbf269fdff410b0b6d75c3770b9f59117b90, \< f1b1311c0352873137768bac5a126e491271a747; \>= bc70fbf269fdff410b0b6d75c3770b9f59117b90, \< 69cb5825d9988c7944bc9f1dc08cb233655405a7; \>= bc70fbf269fdff410b0b6d75c3770b9f59117b90, \< 8b0de7005b148738d79d6c45594d566489948a68; \>= bc70fbf269fdff410b0b6d75c3770b9f59117b90, \< 2b9a07002c2f296aa6a9c591213933d3492e3089; \>= bc70fbf269fdff410b0b6d75c3770b9f59117b90, \< 2fa11c60c9c06bafc19cf4d9efdaa36a38079e87; \>= bc70fbf269fdff410b0b6d75c3770b9f59117b90, \< 83abe2fd5b3aeb3123b5408a5a91709c5538fb23; Linux 5.19.

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

Yes. Fixed in Linux 69cb5825d9988c7944bc9f1dc08cb233655405a7, Linux 8b0de7005b148738d79d6c45594d566489948a68, Linux 2b9a07002c2f296aa6a9c591213933d3492e3089, Linux 2fa11c60c9c06bafc19cf4d9efdaa36a38079e87, Linux 83abe2fd5b3aeb3123b5408a5a91709c5538fb23. Upgrade Linux to 83abe2fd5b3aeb3123b5408a5a91709c5538fb23 or later.

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

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/f1b1311c0352873137768bac5a126e491271a747>
- other: <https://git.kernel.org/stable/c/69cb5825d9988c7944bc9f1dc08cb233655405a7>
- other: <https://git.kernel.org/stable/c/8b0de7005b148738d79d6c45594d566489948a68>
- other: <https://git.kernel.org/stable/c/2b9a07002c2f296aa6a9c591213933d3492e3089>
- other: <https://git.kernel.org/stable/c/2fa11c60c9c06bafc19cf4d9efdaa36a38079e87>
- other: <https://git.kernel.org/stable/c/83abe2fd5b3aeb3123b5408a5a91709c5538fb23>

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

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