Linux kernel missed userfaultfd events in mremap VMA merges
- Exploited
- No known exploitation
- Fix
- Fixed in 4.20, 4.21
- Who is exposed
- Not reported
Summary
The Linux kernel's memory management code can merge a memory region that was remapped with mremap() into an adjacent region, leaving stale userfaultfd markers behind. This breaks userfaultfd event delivery for the merged regions, so programs stop receiving events they should get.
Written by a model
Original description
In the Linux kernel, the following vulnerability has been resolved:
mm/vma: avoid broken uffd merge on mremap
Userfaultfd often causes unexpected interactions within mm, and does so at the intersection of uffd, mremap() and VMA merging.
When an mremap of a VMA occurs, copy_vma_and_data() calls mremap_userfaultfd_prep() to notify uffd of this.
However, mremap_userfaultfd_prep() simply drops the UFFD context for the VMA if the user did not register it for remap, i.e. didn't specify the UFFD_FEATURE_EVENT_REMAP flag.
This is OK for the VMA itself, as upon page table move, move_ptes() clears UFFD page table flags, using vma_has_uffd_without_event_remap() to determine whether to do so.
However, this doesn't account for merging with adjacent VMAs, whose page tables won't have received this treatment, and thus latent UFFD markers will be left around.
Worse, it'll break UFFD for any VMAs it is merged with. This is very surprising behaviour for a user, who will then simply not receive UFFD events for VMAs they ought to.
Resolve the issue by explicitly checking for this case via vma_has_uffd_without_event_remap() in vma_merge_copied_range(), the merge function explicitly designated for mremap() operations.
Also update the userland VMA tests accordingly.
What to do
Upgrade to a fixed version: 4.20, 4.21.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-99911 (mm/vma: avoid broken uffd merge on mremap), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-99911 (entry last updated 2026-11-30):
Affected:
- Linux Linux: from 4.19.18, fixed in 4.20; from 4.20.5, fixed in 4.21
- Linux Linux: versions 5.0
Fixed versions: 4.20, 4.21.
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
CISA KEV: CVE-2026-99911 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-99911 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://git.kernel.org/stable/c/2aa62a97a2fd39e7351fa55f44b0f76f5d9232d6
- https://git.kernel.org/stable/c/2f2860b537c9a5863250c21909f3987765a60523
- https://git.kernel.org/stable/c/15c932d5295cfbc06ca1982a82d205d50b571dff
- https://git.kernel.org/stable/c/4805046a03e6f2f74f231e8f01a2581946169584
- https://git.kernel.org/stable/c/682104ab8ef8432b9a4b06cb5834498ce7f7ebca
- https://git.kernel.org/stable/c/68cb098eadda190783f8f8bdf9fe764df59f7d32
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-99911
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-99911"}.Affected versions
- Linux LinuxFrom 4.19.18 · fixed in 4.20; From 4.20.5 · fixed in 4.21
- Linux Linux5.0
cve.now Index
- Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
- Exposure?/25Unknown. No advisory context yet
- Reach20/20Affects Linux kernel (software on nearly every server, desktop or phone)
- Severity?/10Unknown. No CVSS score or vendor rating
- No patch0/5No signal
What would change the score
- Would score about 75 if added to CISA KEV
- Would score about 70 if CISA's SSVC rates exploitation active
- Would score about 42 if advisories confirm default setups are exposed
Timeline
- CVE published
- First seen by cve.now
Evidence 8
| Kind | Source |
|---|---|
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-99911 |
| Record | NVD · CVE-2026-99911 |
| Other links 6 | |
| Link | git.kernel.org · stable/c/2aa62a97a2fd39e7351fa55f44b0f76f5d9232d6 |
| Link | git.kernel.org · stable/c/2f2860b537c9a5863250c21909f3987765a60523 |
| Link | git.kernel.org · stable/c/15c932d5295cfbc06ca1982a82d205d50b571dff |
| Link | git.kernel.org · stable/c/4805046a03e6f2f74f231e8f01a2581946169584 |
| Link | git.kernel.org · stable/c/682104ab8ef8432b9a4b06cb5834498ce7f7ebca |
| Link | git.kernel.org · stable/c/68cb098eadda190783f8f8bdf9fe764df59f7d32 |
Questions about CVE-2026-99911
Is CVE-2026-99911 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
Which versions are affected by CVE-2026-99911?
Linux: from 4.19.18 before 4.20; from 4.20.5 before 4.21. Linux: version 5.0.
Source: cve.now feed data
How do I fix CVE-2026-99911?
Upgrade to a fixed version: 4.20, 4.21.
Source: cve.now feed data
Related
- CVE-2026-139801KVM: nSVM: Check validity of vmcs01 save area copied from SMRAM on RSM
- CVE-2026-139799mm/shmem: hold off eviction in shmem_writeout()
- CVE-2026-139792ALSA: pcm: Prevent O_APPEND open on OSS streams
- CVE-2026-139788cipso: stop modifying live ip_options_rcu
- CVE-2026-139786mm/vma: avoid spurious write locks when mm->mm_lock_seq overflows
- CVE-2026-1398009p/xen: drain response work after unbinding IRQ
No corrections so far. Something wrong on this page? Report an error.