NetSight
unscored

CVE-2026-99660

In the Linux kernel, the following vulnerability has been resolved: mm/userfaultfd: write-lock the VMA before waking waiters when unregistering userfaultfd_unr…

Impact

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 · Linux

ProductAffected versions
Linux
from 29a22b9e08d70d6c9b075c12c47b6e895cb65cf0 before 8a47f699a5c184071bb1dc52f08f98c85bfb85a3
from 29a22b9e08d70d6c9b075c12c47b6e895cb65cf0 before 35f7ecd55ce7e51cb6d5ef49e6dd51f3c80f61e4
Versions 6.6, patch: 0, patch: 7.4-rc2, patch: 7.3.5

References