CVE-2026-139785 (GCVE-0-2026-139785)
Vulnerability from cvelistv5 – Published: 2026-11-30 13:37 – Updated: 2026-11-30 13:37| Vendor | Product | Version | CPE status | |
|---|---|---|---|---|
| Linux | Linux |
Affected:
b836839c1fd94f9fc7ccdce153844fa26116ccc0 , < 671d6e9b404f06c864e08e78123a4d4f84837ac0
(git)
Affected: 49e14dabed7a294427588d4b315f57fbfcab9990 , < 54b29a37539f6f6649a135ba55565360dd0ea569 (git) Affected: 49e14dabed7a294427588d4b315f57fbfcab9990 , < c386d799f423685952138cab8d89f0331825bdee (git) Affected: 6.18.37 , < 6.18.65 (semver) |
guessed | |
| Linux | Linux |
Affected:
6.19
Unaffected: 0 , < 6.19 (semver) Unaffected: 6.18.65 , ≤ 6.18.* (semver) Unaffected: 7.3.6 , ≤ 7.3.* (semver) Unaffected: 7.4-rc2 , ≤ * (original_commit_for_fix) |
guessed |
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"mm/vma.c",
"tools/testing/vma/include/dup.h",
"tools/testing/vma/include/stubs.h"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "671d6e9b404f06c864e08e78123a4d4f84837ac0",
"status": "affected",
"version": "b836839c1fd94f9fc7ccdce153844fa26116ccc0",
"versionType": "git"
},
{
"lessThan": "54b29a37539f6f6649a135ba55565360dd0ea569",
"status": "affected",
"version": "49e14dabed7a294427588d4b315f57fbfcab9990",
"versionType": "git"
},
{
"lessThan": "c386d799f423685952138cab8d89f0331825bdee",
"status": "affected",
"version": "49e14dabed7a294427588d4b315f57fbfcab9990",
"versionType": "git"
},
{
"lessThan": "6.18.65",
"status": "affected",
"version": "6.18.37",
"versionType": "semver"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"mm/vma.c",
"tools/testing/vma/include/dup.h",
"tools/testing/vma/include/stubs.h"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "6.19"
},
{
"lessThan": "6.19",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.65",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.3.*",
"status": "unaffected",
"version": "7.3.6",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.4-rc2",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.18.65",
"versionStartIncluding": "6.18.37",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.3.6",
"versionStartIncluding": "6.19",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.4-rc2",
"versionStartIncluding": "6.19",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmm/vma: avoid losing atomic VMA flags when setting sticky VMA flags\n\nvma_merge_existing_range() merges an existing VMA (middle) when its\nattributes have changed to match those of one or both adjacent VMAs.\n\nSticky flags are propagated if they are set in any of the merged VMAs. They\nare initialised from vmg-\u003evma_flags, which is assumed to contain middle\u0027s\nsticky flags when the function is invoked.\n\nHowever, the VMA write lock is not held for middle when they are first\npopulated, so concurrent updates to atomic VMA flags may occur, which will\nbe lost upon merge.\n\nThis can result in fork failing to propagate guard region markers and (if\nfile-backed) THP collapse discarding them.\n\nResolve this by propagating the sticky flags after middle is locked.\n\nMake life easier by factoring this into propagate_sticky_flags(), which\ntreats vmg-\u003evma_flags as its base (in case any sticky flags are set there),\nupdating it as sticky flags are accumulated from merged VMAs.\n\nAlso update vma_expand() to use propagate_sticky_flags() so all merge paths\nutilise it.\n\npropagate_sticky_flags() also asserts that the VMA write lock is held for\nthe VMA whose sticky flags are being read, with a comment explaining why.\n\nAnother means by which atomic VMA flags can fail to be observed is when the\nmerge is finalised in commit_merge().\n\nrmap locks are dropped in vma_complete() before the sticky flags are\nwritten, meaning an rmap walker can observe the VMA without sticky flags\nset, which can also result in retract_page_tables() discarding guard\nmarkers.\n\nResolve this by assigning the sticky flags before dropping rmap locks,\nfactored into commit_sticky_flags() with a write assert on the VMA being\nwritten to.\n\nAlso remove the vma_set_flags_mask() invocation at the end of\nvma_merge_existing_range() as this was introduced by commit\n64212ba02e66 (\"mm: implement sticky VMA flags\") to propagate sticky flags,\nwhich is now redundant with the introduction of commit_sticky_flags().\n\nThe vma_set_flags_mask() invocation at the end of vma_expand() setting\nsticky flags only is also removed for the same reason.\n\nAlso update vma_merge_existing_range()\u0027s comment to reflect the fact that\nvmg-\u003evma_flags gets updated.\n\nFinally, update the userland VMA tests to reflect a previously missed\nconst-ification in vma_assert_write_locked() which would otherwise cause a\nwarning when building them."
}
],
"providerMetadata": {
"dateUpdated": "2026-11-30T13:37:58.850Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/671d6e9b404f06c864e08e78123a4d4f84837ac0"
},
{
"url": "https://git.kernel.org/stable/c/54b29a37539f6f6649a135ba55565360dd0ea569"
},
{
"url": "https://git.kernel.org/stable/c/c386d799f423685952138cab8d89f0331825bdee"
}
],
"title": "mm/vma: avoid losing atomic VMA flags when setting sticky VMA flags",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2026-139785",
"datePublished": "2026-11-30T13:37:58.850Z",
"dateReserved": "2026-11-30T13:22:15.953Z",
"dateUpdated": "2026-11-30T13:37:58.850Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"nvd": {
"cve": {
"affected": [
{
"affectedData": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"mm/vma.c",
"tools/testing/vma/include/dup.h",
"tools/testing/vma/include/stubs.h"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "671d6e9b404f06c864e08e78123a4d4f84837ac0",
"status": "affected",
"version": "b836839c1fd94f9fc7ccdce153844fa26116ccc0",
"versionType": "git"
},
{
"lessThan": "54b29a37539f6f6649a135ba55565360dd0ea569",
"status": "affected",
"version": "49e14dabed7a294427588d4b315f57fbfcab9990",
"versionType": "git"
},
{
"lessThan": "c386d799f423685952138cab8d89f0331825bdee",
"status": "affected",
"version": "49e14dabed7a294427588d4b315f57fbfcab9990",
"versionType": "git"
},
{
"lessThan": "6.18.65",
"status": "affected",
"version": "6.18.37",
"versionType": "semver"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"mm/vma.c",
"tools/testing/vma/include/dup.h",
"tools/testing/vma/include/stubs.h"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "6.19"
},
{
"lessThan": "6.19",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.65",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.3.*",
"status": "unaffected",
"version": "7.3.6",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.4-rc2",
"versionType": "original_commit_for_fix"
}
]
}
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
],
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmm/vma: avoid losing atomic VMA flags when setting sticky VMA flags\n\nvma_merge_existing_range() merges an existing VMA (middle) when its\nattributes have changed to match those of one or both adjacent VMAs.\n\nSticky flags are propagated if they are set in any of the merged VMAs. They\nare initialised from vmg-\u003evma_flags, which is assumed to contain middle\u0027s\nsticky flags when the function is invoked.\n\nHowever, the VMA write lock is not held for middle when they are first\npopulated, so concurrent updates to atomic VMA flags may occur, which will\nbe lost upon merge.\n\nThis can result in fork failing to propagate guard region markers and (if\nfile-backed) THP collapse discarding them.\n\nResolve this by propagating the sticky flags after middle is locked.\n\nMake life easier by factoring this into propagate_sticky_flags(), which\ntreats vmg-\u003evma_flags as its base (in case any sticky flags are set there),\nupdating it as sticky flags are accumulated from merged VMAs.\n\nAlso update vma_expand() to use propagate_sticky_flags() so all merge paths\nutilise it.\n\npropagate_sticky_flags() also asserts that the VMA write lock is held for\nthe VMA whose sticky flags are being read, with a comment explaining why.\n\nAnother means by which atomic VMA flags can fail to be observed is when the\nmerge is finalised in commit_merge().\n\nrmap locks are dropped in vma_complete() before the sticky flags are\nwritten, meaning an rmap walker can observe the VMA without sticky flags\nset, which can also result in retract_page_tables() discarding guard\nmarkers.\n\nResolve this by assigning the sticky flags before dropping rmap locks,\nfactored into commit_sticky_flags() with a write assert on the VMA being\nwritten to.\n\nAlso remove the vma_set_flags_mask() invocation at the end of\nvma_merge_existing_range() as this was introduced by commit\n64212ba02e66 (\"mm: implement sticky VMA flags\") to propagate sticky flags,\nwhich is now redundant with the introduction of commit_sticky_flags().\n\nThe vma_set_flags_mask() invocation at the end of vma_expand() setting\nsticky flags only is also removed for the same reason.\n\nAlso update vma_merge_existing_range()\u0027s comment to reflect the fact that\nvmg-\u003evma_flags gets updated.\n\nFinally, update the userland VMA tests to reflect a previously missed\nconst-ification in vma_assert_write_locked() which would otherwise cause a\nwarning when building them."
}
],
"id": "CVE-2026-139785",
"lastModified": "2026-11-30T14:20:11.927",
"metrics": {},
"published": "2026-11-30T14:20:11.927",
"references": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/54b29a37539f6f6649a135ba55565360dd0ea569"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/671d6e9b404f06c864e08e78123a4d4f84837ac0"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/c386d799f423685952138cab8d89f0331825bdee"
}
],
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"vulnStatus": "Received"
}
}
}
}
Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline
Sightings and recorded dates, grouped by day · UTC
How durations are calculated
Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.
Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.
Loading timeline…
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.