CVE-2026-139786 - mm/vma: avoid spurious write locks when mm->mm_lock_seq overflows
Vulnerability · Reported by NVD ·
- Severity
- High Estimated, NVD hasn't scored it yet
- CVSS
- – Not scored yet
- Exploit chance (EPSS)
- – Not available yet
- Known exploited
- No Not in CISA KEV
Summary
In the Linux kernel, the following vulnerability has been resolved: mm/vma: avoid spurious write locks when mm->mm_lock_seq overflows So far the assumption has been that mm->mm_lock_seq overflow is benign, resulting only in readers spuriously falling back to the mmap lock, however it turns out that this was an unsafe assumption. If a VMA can be spuriously considered write locked that means read lock exclusion does not take place, and thus a VMA can end up write-locked with concurrent readers. Since overflow only occurs every 2^31 write lock/unlock cycles, resolve the issue by resetting every VMA's vma->vm_lock_seq each time such an overflow occurs. This is done in vma_end_write_all(), which is called when the mmap write lock is released, i.e. in mmap_write_unlock() and mmap_write_downgrade(). Care must be taken, as resetting the sequence count at overflow means changing the seqcount of VMAs which are already attached and observable. The mm's seqcount is guaranteed to be odd when a write lock is held, and thus any write locked VMA will have an odd seqcount assigned. Therefore resetting to an
Is it being exploited?
There is no public evidence of active exploitation yet. Monitor for exploit releases, especially if the product is internet-facing.
Patch priority and what to do
Schedule patching in your next maintenance window, and sooner for internet-facing systems. 1) Check whether you run the affected product and version. 2) Apply the vendor update or patch listed in the advisory. 3) Review logs for signs of exploitation since the publication date.
Tags
CVE-2026-139786, Linux
Sources & references
- Original article / advisory (NVD) ↗
- NIST NVD: CVE-2026-139786 ↗
- CVE.org record ↗
- FIRST.org EPSS model ↗
NVD has not scored this CVE yet. The severity shown is an estimate from the article text and will be replaced automatically.
How this data is collected: methodology & sources.