CVE-2026-99660
mm/userfaultfd: write-lock the VMA before waking waiters when unregistering
What happened?
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 software and versions
| Software | Version information | Fixed version |
|---|---|---|
| LinuxLinux | affected: 29a22b9e08d70d6c9b075c12c47b6e895cb65cf0 to < f14e717c3fa9bfb7ec7b364eae1388b931864b2e; affected: 29a22b9e08d70d6c9b075c12c47b6e895cb65cf0 to < 2c944974df4faa1428ef84c6eddc7c03386c6b3a; affected: 29a22b9e08d70d6c9b075c12c47b6e895cb65cf0 to < 6668c5ad02321817eea9be3481a4eed74f1f6199; affected: 29a22b9e08d70d6c9b075c12c47b6e895cb65cf0 to < 8a47f699a5c184071bb1dc52f08f98c85bfb85a3; affected: 29a22b9e08d70d6c9b075c12c47b6e895cb65cf0 to < 35f7ecd55ce7e51cb6d5ef49e6dd51f3c80f61e4 | See vendor advisory |
| LinuxLinux | affected: 6.6; unaffected: 0 to < 6.6; unaffected: 6.6.163 to ≤ 6.6.*; unaffected: 6.12.119 to ≤ 6.12.*; unaffected: 6.18.65 to ≤ 6.18.*; unaffected: 7.3.5 to ≤ 7.3.*; unaffected: 7.4-rc2 to ≤ * | See vendor advisory |
Version information comes from the source record and can include unaffected products and exceptions. Distribution packages may contain backported fixes: an older upstream version alone does not prove a server is affected.
Is it being exploited?
This CVE was not listed in the CISA catalogue at our last retrieval. This does not establish that exploitation is absent.
How to respond
- Confirm the product, installed package version, and any configuration requirements in the vendor advisory.
- Follow the vendor’s remediation or workaround guidance in the references below. Structured fixed-version data is unavailable here; the publisher’s description may include a fix or workaround.
- Restart affected services if required, then verify the running version. Known exploitation may warrant investigation as well as patching.
Sources and remediation references
- https://www.cve.org/CVERecord?id=CVE-2026-99660
- https://git.kernel.org/stable/c/f14e717c3fa9bfb7ec7b364eae1388b931864b2e
- https://git.kernel.org/stable/c/2c944974df4faa1428ef84c6eddc7c03386c6b3a
- https://git.kernel.org/stable/c/6668c5ad02321817eea9be3481a4eed74f1f6199
- https://git.kernel.org/stable/c/8a47f699a5c184071bb1dc52f08f98c85bfb85a3
- https://git.kernel.org/stable/c/35f7ecd55ce7e51cb6d5ef49e6dd51f3c80f61e4