{"id":"CVE-2026-99660","summary":"mm/userfaultfd: write-lock the VMA before waking waiters when unregistering","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/userfaultfd: write-lock the VMA before waking waiters when unregistering\n\nuserfaultfd_unregister() wakes pending missing faults before clearing the\nVMA's userfaultfd registration. With per-VMA fault locking, holding\nmmap_lock for write does not prevent another fault from queuing after\nthe wakeup but before userfaultfd_clear_vma() write-locks the VMA. That\nwaiter can then remain asleep indefinitely.\n\nCall vma_start_write() before waking waiters. Existing fault handlers\nqueue themselves before dropping the VMA read lock, and new readers are\nexcluded until mmap_write_unlock().","modified":"2026-11-20T07:01:10.997834441Z","published":"2026-11-20T05:50:11.717Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99660.json","cna_assigner":"Linux"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/35f7ecd55ce7e51cb6d5ef49e6dd51f3c80f61e4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8a47f699a5c184071bb1dc52f08f98c85bfb85a3"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99660.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99660"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"29a22b9e08d70d6c9b075c12c47b6e895cb65cf0"},{"fixed":"8a47f699a5c184071bb1dc52f08f98c85bfb85a3"},{"fixed":"35f7ecd55ce7e51cb6d5ef49e6dd51f3c80f61e4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99660.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.6.0"},{"fixed":"7.3.5"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99660.json"}}],"schema_version":"1.9.2"}