Home / Linux / Linux / CVE-2026-139785
CVE-2026-139785: is it exploited, and which versions of Linux are affected and fixed?
CVE-2026-139785 is a vulnerability in Linux. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 19:09 UTC). Affected: Linux from 6.18.37 before 6.18.65 and Linux from 6.19 until the fixed versions (CVE record by Linux). Fixed in 6.18.65, 7.3.6 and 7.4-rc2 (CVE record by Linux).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 19:09 UTC, CVE record November 30, 2026, 13:46 UTC and NVD November 30, 2026, 15:09 UTC.
What is CVE-2026-139785?
In the Linux kernel, the following vulnerability has been resolved: mm/vma: avoid losing atomic VMA flags when setting sticky VMA flags vma_merge_existing_range() merges an existing VMA (middle) when its attributes have changed to match those of one or both adjacent VMAs. Sticky flags are propagated if they are set in any of the merged VMAs. They are initialised from vmg->vma_flags, which is assumed to contain middle's sticky flags when the function is invoked. However, the VMA write lock is not held for middle when they are first populated, so concurrent updates to atomic VMA flags may occur, which will be lost upon merge. This can result in fork failing to propagate guard region markers and (if file-backed) THP collapse discarding them. Resolve this by propagating the sticky flags after middle is locked. Make life easier by factoring this into propagate_sticky_flags(), which treats vmg->vma_flags as its base (in case any sticky flags are set there), updating it as sticky flags are accumulated from merged VMAs. Also update vma_expand() to use propagate_sticky_flags() so all merge paths utilise it. propagate_sticky_flags() also asserts that the VMA write lock is held for the VMA whose sticky flags are being read, with a comment explaining why. Another means by which atomic VMA flags can fail to be observed is when the merge is finalised in commit_merge(). rmap locks are dropped in vma_complete() before the sticky flags are written, meaning an rmap walker can observe the VMA without sticky flags set, which can also result in retract_page_tables() discarding guard markers. Resolve this by assigning the sticky flags before dropping rmap locks, factored into commit_sticky_flags() with a write assert on the VMA being written to. Also remove the vma_set_flags_mask() invocation at the end of vma_merge_existing_range() as this was introduced by commit 64212ba02e66 ("mm: implement sticky VMA flags") to propagate sticky flags, which is now redundant with the introduction of commit_sticky_flags(). The vma_set_flags_mask() invocation at the end of vma_expand() setting sticky flags only is also removed for the same reason. Also update vma_merge_existing_range()'s comment to reflect the fact that vmg->vma_flags gets updated. Finally, update the userland VMA tests to reflect a previously missed const-ification in vma_assert_write_locked() which would otherwise cause a warning when building them.
From the CVE record by Linux, last updated November 30, 2026, 13:37 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Linux | Linux | from 6.18.37 before 6.18.65 | 6.18.65 |
| Linux | Linux | from 6.19 until the fixed versions | 6.18.65, 7.3.6, 7.4-rc2 |
As the CVE record by Linux states it, last updated November 30, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Is CVE-2026-139785 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.32% probability of exploitation activity in the next 30 days, percentile 27.5 (FIRST EPSS, scores of December 3, 2026)
Where are the vendor advisories and references?
- https://git.kernel.org/stable/c/671d6e9b404f06c864e08e78123a4d4f84837ac0
- https://git.kernel.org/stable/c/54b29a37539f6f6649a135ba55565360dd0ea569
- https://git.kernel.org/stable/c/c386d799f423685952138cab8d89f0331825bdee
When was it published, and where is the official record?
- Reserved
- November 30, 2026
- Published
- November 30, 2026, 13:37 UTC
- CVE record updated
- November 30, 2026, 13:37 UTC by Linux
- NVD
- Received, last modified November 30, 2026, 14:20 UTC
- Last checked
- CVE list November 30, 2026, 13:46 UTC; NVD November 30, 2026, 15:09 UTC; KEV December 3, 2026, 19:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Linux?
- Jul 4, 2026CVE-2026-53362 Linux: heap buffer overflow exploited
- Jun 25, 2026CVE-2026-53266 Linux: out-of-bounds write (memory corruption) exploited
- May 23, 2026CVE-2026-46300 Linux: write-what-where Condition exploited
- Apr 22, 2026CVE-2026-31431 Linux: incorrect resource transfer exploited
- Oct 13, 2025CVE-2025-39964 Linux: race condition exploited
- Sep 5, 2025CVE-2025-39682 Linux: unusual condition not checked exploited
- Jul 22, 2025CVE-2025-38352 Linux: time-of-check time-of-use race condition exploited
- Dec 27, 2024CVE-2024-53197 Linux: out-of-bounds write (memory corruption) exploited
Questions about CVE-2026-139785
Is CVE-2026-139785 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 19:09 UTC. FIRST's EPSS gives it a 0.32% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Linux are affected by CVE-2026-139785?
Linux from 6.18.37 before 6.18.65 and Linux from 6.19 until the fixed versions, per the CVE record by Linux. The tables above give every range the sources list.
Which version fixes CVE-2026-139785?
6.18.65, 7.3.6 and 7.4-rc2, per the CVE record by Linux. Check the vendor's advisory before you rely on it.
Where is the official record of CVE-2026-139785?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.