CVE-2026-99660 mm/userfaultfd: write-lock the VMA before waking waiters when unregistering
설명
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().
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 6.6
해결 버전
- 6.6 미만
- 6.6.163 이상
- 6.12.119 이상
- 6.18.65 이상
- 7.3.5 이상
참고 자료 5건
- git.kernel.org https://git.kernel.org/stable/c/2c944974df4faa1428ef84c6eddc7c03386c6b3a (새 창)
- git.kernel.org https://git.kernel.org/stable/c/35f7ecd55ce7e51cb6d5ef49e6dd51f3c80f61e4 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/6668c5ad02321817eea9be3481a4eed74f1f6199 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/8a47f699a5c184071bb1dc52f08f98c85bfb85a3 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/f14e717c3fa9bfb7ec7b364eae1388b931864b2e (새 창)