CVE-2026-139799 (GCVE-0-2026-139799)
Vulnerability from cvelistv5 – Published: 2026-11-30 13:38 – Updated: 2026-11-30 13:38| Vendor | Product | Version | CPE status | |
|---|---|---|---|---|
| Linux | Linux |
Affected:
6344a6d9ce13ae29e3ddf280fd8a1109a77b9996 , < d64fd1229fb1437d7c62c49eba82691bfd65d541
(git)
Affected: 6344a6d9ce13ae29e3ddf280fd8a1109a77b9996 , < f53ee5a65460010cabd75895d83258d90923ca7a (git) Affected: 6344a6d9ce13ae29e3ddf280fd8a1109a77b9996 , < 8f59173b5ca358bf4d1017b44da3cbe6faa80daf (git) |
guessed | |
| Linux | Linux |
Affected:
6.17
Unaffected: 0 , < 6.17 (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/shmem.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "d64fd1229fb1437d7c62c49eba82691bfd65d541",
"status": "affected",
"version": "6344a6d9ce13ae29e3ddf280fd8a1109a77b9996",
"versionType": "git"
},
{
"lessThan": "f53ee5a65460010cabd75895d83258d90923ca7a",
"status": "affected",
"version": "6344a6d9ce13ae29e3ddf280fd8a1109a77b9996",
"versionType": "git"
},
{
"lessThan": "8f59173b5ca358bf4d1017b44da3cbe6faa80daf",
"status": "affected",
"version": "6344a6d9ce13ae29e3ddf280fd8a1109a77b9996",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"mm/shmem.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "6.17"
},
{
"lessThan": "6.17",
"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.17",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.3.6",
"versionStartIncluding": "6.17",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.4-rc2",
"versionStartIncluding": "6.17",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmm/shmem: hold off eviction in shmem_writeout()\n\nOnce shmem_writeout() has moved the folio from the page cache to the\nswap cache, the folio lock no longer keeps the inode alive: truncation\nand eviction find a swap entry, free it and do not wait for anybody.\nThat did not matter as long as swap_writeout() was the last thing the\nfunction did. But since it puts the folio back when swap_writeout()\nreturns AOP_WRITEPAGE_ACTIVATE, it uses the mapping and the inode\nafterwards:\n\n reclaim last close of an unlinked file\n shmem_writeout()\n shmem_delete_from_page_cache()\n swap_writeout()\n zswap_store() fails shmem_evict_inode()\n writeback is disabled shmem_truncate_range()\n return AOP_WRITEPAGE_ACTIVATE shmem_free_swap()\n destroy_inode()\n ... RCU grace period, freed\n shmem_add_to_page_cache(mapping)\n xas_lock_irq() \u003c- use after free\n\nswap_writeout() behaves that way if zswap is enabled, cannot take the\nfolio and the memcg or one of its ancestors has memory.zswap.writeback\nset to 0.\n\nshmem_unuse() already added infrastructure to deal with that.\nReuse info-\u003estop_eviction to protect the inode during writeout. Increment\nit before removing the folio from the page cache, and decrement it after\nswap_writeout() and any attempted reinsertion and inode accounting.\nIn shmem_evict_inode(), wait for the counter to reach zero even if\nswapoff has already removed the inode from the swap list. Add some helpers\nto make the code easier to digest.\n\nThere is a known remaining issue with two swapoffs racing, and the empty\nlist check not being able to detect that race. That will be addressed\nseparately later.\n\nFix generated by an LLM and sent by Josef Bacik in private.\n\n[ david: code cleanups; improve description ]"
}
],
"providerMetadata": {
"dateUpdated": "2026-11-30T13:38:06.394Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/d64fd1229fb1437d7c62c49eba82691bfd65d541"
},
{
"url": "https://git.kernel.org/stable/c/f53ee5a65460010cabd75895d83258d90923ca7a"
},
{
"url": "https://git.kernel.org/stable/c/8f59173b5ca358bf4d1017b44da3cbe6faa80daf"
}
],
"title": "mm/shmem: hold off eviction in shmem_writeout()",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2026-139799",
"datePublished": "2026-11-30T13:38:06.394Z",
"dateReserved": "2026-11-30T13:22:15.953Z",
"dateUpdated": "2026-11-30T13:38:06.394Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"nvd": {
"cve": {
"affected": [
{
"affectedData": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"mm/shmem.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "d64fd1229fb1437d7c62c49eba82691bfd65d541",
"status": "affected",
"version": "6344a6d9ce13ae29e3ddf280fd8a1109a77b9996",
"versionType": "git"
},
{
"lessThan": "f53ee5a65460010cabd75895d83258d90923ca7a",
"status": "affected",
"version": "6344a6d9ce13ae29e3ddf280fd8a1109a77b9996",
"versionType": "git"
},
{
"lessThan": "8f59173b5ca358bf4d1017b44da3cbe6faa80daf",
"status": "affected",
"version": "6344a6d9ce13ae29e3ddf280fd8a1109a77b9996",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"mm/shmem.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "6.17"
},
{
"lessThan": "6.17",
"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/shmem: hold off eviction in shmem_writeout()\n\nOnce shmem_writeout() has moved the folio from the page cache to the\nswap cache, the folio lock no longer keeps the inode alive: truncation\nand eviction find a swap entry, free it and do not wait for anybody.\nThat did not matter as long as swap_writeout() was the last thing the\nfunction did. But since it puts the folio back when swap_writeout()\nreturns AOP_WRITEPAGE_ACTIVATE, it uses the mapping and the inode\nafterwards:\n\n reclaim last close of an unlinked file\n shmem_writeout()\n shmem_delete_from_page_cache()\n swap_writeout()\n zswap_store() fails shmem_evict_inode()\n writeback is disabled shmem_truncate_range()\n return AOP_WRITEPAGE_ACTIVATE shmem_free_swap()\n destroy_inode()\n ... RCU grace period, freed\n shmem_add_to_page_cache(mapping)\n xas_lock_irq() \u003c- use after free\n\nswap_writeout() behaves that way if zswap is enabled, cannot take the\nfolio and the memcg or one of its ancestors has memory.zswap.writeback\nset to 0.\n\nshmem_unuse() already added infrastructure to deal with that.\nReuse info-\u003estop_eviction to protect the inode during writeout. Increment\nit before removing the folio from the page cache, and decrement it after\nswap_writeout() and any attempted reinsertion and inode accounting.\nIn shmem_evict_inode(), wait for the counter to reach zero even if\nswapoff has already removed the inode from the swap list. Add some helpers\nto make the code easier to digest.\n\nThere is a known remaining issue with two swapoffs racing, and the empty\nlist check not being able to detect that race. That will be addressed\nseparately later.\n\nFix generated by an LLM and sent by Josef Bacik in private.\n\n[ david: code cleanups; improve description ]"
}
],
"id": "CVE-2026-139799",
"lastModified": "2026-11-30T14:20:14.250",
"metrics": {},
"published": "2026-11-30T14:20:14.250",
"references": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/8f59173b5ca358bf4d1017b44da3cbe6faa80daf"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/d64fd1229fb1437d7c62c49eba82691bfd65d541"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/f53ee5a65460010cabd75895d83258d90923ca7a"
}
],
"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.