In the Linux kernel, the following vulnerability has been resolved: mm/shmem: hold off eviction in shmemwriteout() Once shmemwriteout() has…
CVE-2026-139799
In the Linux kernel, the following vulnerability has been resolved: mm/shmem: hold off eviction in shmemwriteout() Once shmemwriteout() has moved the folio from the page cache to the swap cache, the folio lock no longer keeps the inode alive: truncation and eviction find a swap entry, free it and do not wait for anybody. That did not matter as long as swapwriteout() was the last thing the function did. But since it puts the folio back when swapwriteout() returns AOPWRITEPAGEACTIVATE, it uses the mapping and the inode afterwards: reclaim last close of an unlinked file shmemwriteout() shmemdeletefrompagecache() swapwriteout() zswapstore() fails shmemevictinode() writeback is disabled shmemtruncaterange() return AOPWRITEPAGEACTIVATE shmemfreeswap() destroyinode() ... RCU grace period, freed shmemaddtopagecache(mapping) xaslockirq() stopeviction to protect the inode during writeout. Increment it before removing the folio from the page cache, and decrement it after swapwriteout() and any attempted reinsertion and inode accounting. In shmemevictinode(), wait for the counter to reach zero even if swapoff has already removed the inode from the swap list. Add some helpers to make the code…
Assessment
- CVSS
- 7 (v3.1)
- Severity
- High
- EPSS
- 0% chance of exploitation in the next 30 days
- Known exploited
- Not listed in CISA KEV
- Exploit availability
- Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
- Published
- 30 November 2026
- Last updated
- 1 December 2026
- Assigner
- Linux
CVSS vectorCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
At the source
References
Community proofs of concept
No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.
Submit a proof of concept
Only for publicly disclosed vulnerabilities, and only material from testing you were authorised to perform. This platform does not buy, sell, or broker exploits — see earning from vulnerability research for legitimate bounty programs. Submissions are reviewed before they appear. Text only; do not include live credentials, personal data, or anything targeting systems you are not permitted to test.
Query this programmatically
Agents can read this through the MCP endpoint, or over HTTP:
curl https://cve.zerocrew.in/api/cve/CVE-2026-139799