CVE-2026-99660

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

mm/userfaultfd: write-lock the VMA before waking waiters when unregiste

Not rated published · updated

Not rated
No CVSS score yet

Description

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

mm/userfaultfd: write-lock the VMA before waking waiters when unregistering

userfaultfd_unregister() wakes pending missing faults before clearing the
VMA's userfaultfd registration. With per-VMA fault locking, holding
mmap_lock for write does not prevent another fault from queuing after
the wakeup but before userfaultfd_clear_vma() write-locks the VMA. That
waiter can then remain asleep indefinitely.

Call vma_start_write() before waking waiters. Existing fault handlers
queue themselves before dropping the VMA read lock, and new readers are
excluded until mmap_write_unlock().

Affected products and versions

No product details yet.

References