CVE-2026-99660
mm/userfaultfd: write-lock the VMA before waking waiters when unregistering
- CVSS
- —
- EPSS
- 0.20% (p10)
- Published
- 2026-11-20
- Age
- 14d old
- Modified
- 2026-11-23
- Product
- Linux Linux
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().
Fixed in
2c944974df4faa1428ef84c6eddc7c03386c6b3a · 35f7ecd55ce7e51cb6d5ef49e6dd51f3c80f61e4 · 6.12.119 · 6.18.65 · 6.6.163 · 6668c5ad02321817eea9be3481a4eed74f1f6199 · 7.3.5 · 8a47f699a5c184071bb1dc52f08f98c85bfb85a3 · f14e717c3fa9bfb7ec7b364eae1388b931864b2e
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| Linux | Kernel | >=6.13.0, <6.18.65 | 6.18.65 |
| Linux | Kernel | >=6.19.0, <7.3.5 | 7.3.5 |
| Linux | Kernel | >=6.6.0, <6.6.163 | 6.6.163 |
| Linux | Kernel | >=6.6.0, <7.3.5 | 7.3.5 |
| Linux | Kernel | >=6.7.0, <6.12.119 | 6.12.119 |
| vendor | Linux | >=29a22b9e08d70d6c9b075c12c47b6e895cb65cf0, <2c944974df4faa1428ef84c6eddc7c03386c6b3a | 2c944974df4faa1428ef84c6eddc7c03386c6b3a |
| vendor | Linux | >=29a22b9e08d70d6c9b075c12c47b6e895cb65cf0, <35f7ecd55ce7e51cb6d5ef49e6dd51f3c80f61e4 | 35f7ecd55ce7e51cb6d5ef49e6dd51f3c80f61e4 |
| vendor | Linux | >=29a22b9e08d70d6c9b075c12c47b6e895cb65cf0, <6668c5ad02321817eea9be3481a4eed74f1f6199 | 6668c5ad02321817eea9be3481a4eed74f1f6199 |
| vendor | Linux | >=29a22b9e08d70d6c9b075c12c47b6e895cb65cf0, <8a47f699a5c184071bb1dc52f08f98c85bfb85a3 | 8a47f699a5c184071bb1dc52f08f98c85bfb85a3 |
| vendor | Linux | >=29a22b9e08d70d6c9b075c12c47b6e895cb65cf0, <f14e717c3fa9bfb7ec7b364eae1388b931864b2e | f14e717c3fa9bfb7ec7b364eae1388b931864b2e |
Sources
- NVD · first seen 14d ago · NVD terms of use
- OSV · first seen 14d ago · CC-BY 4.0
- CVE List · first seen 14d ago · CVE Terms of Use
References
- https://git.kernel.org/stable/c/8a47f699a5c184071bb1dc52f08f98c85bfb85a3 other
- https://git.kernel.org/stable/c/35f7ecd55ce7e51cb6d5ef49e6dd51f3c80f61e4 other
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git package
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99660.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-99660 advisory
- https://git.kernel.org/stable/c/f14e717c3fa9bfb7ec7b364eae1388b931864b2e other
- https://git.kernel.org/stable/c/2c944974df4faa1428ef84c6eddc7c03386c6b3a other
- https://git.kernel.org/stable/c/6668c5ad02321817eea9be3481a4eed74f1f6199 other