# CVE-2026-99911

- Bağlantı: https://www.allsafe.com.tr/cve-2026-99911/
- Yayımlanma: 2026-11-30T17:20:26+03:00
- Yazar: Postmaster

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.

Bu kayıt NIST NVD kaynağından aktarılmıştır. Etkilenen sürümler, güncel değerlendirme
ve üretici referansları için kaynak kaydı inceleyin.

Kaynak: [NIST NVD — özgün kaydı inceleyin ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-99911)
