CVE-2026-99740
mm/shmem: stop retrying folios that cannot be split
Check your servers for CVE-2026-99740
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-99740 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
mm/shmem: stop retrying folios that cannot be split
A fault or collapse can insert a large folio crossing EOF after shmem_undo_range() has handled the boundary folios. If splitting that folio fails, truncate_inode_partial_folio() retains it when it is dirty. The final scan then repeatedly finds it because it restarts from an unchanged start.
Truncation keeps the inode lock and ignores fatal signals while looping. A concurrent unlink() can then block other directory operations while holding the directory lock and waiting for the file's lock.
Advance start past the retained folio, whose truncated part has already been zeroed. Do not move start backwards if the failed split has shrunk the folio.
Fix generated by an LLM and sent by Chris Mason in private.
[ david: split fixes, simplify descriptions, adjust comments ]
Exploitation
EPSS 0.17%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 3.93% of all scored CVEs. Scores of 29 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from da9b7c651c6517c2de1099136ed87c0c24f864dd, before c00f570d296157a89bf25282cfabc057a34dbc85 affected from 7a4ae7acd20805940307be98b304871a43288a01, before 65c71c823b8ceb7721642fdb24a992b22fdf0944 affected from 55ac8bbe358bdd2f3c044c12f249fd22d48fe015, before dfedff4a9f0abcd985dcdfbd721dcd9374d6ff12 affected from 55ac8bbe358bdd2f3c044c12f249fd22d48fe015, before 1360e0f9a188cfede01d0df81119d925bbfff165 affected from 55ac8bbe358bdd2f3c044c12f249fd22d48fe015, before b3239a5a37bba078d83cfb864d47a0cc122f17cd affected from 55ac8bbe358bdd2f3c044c12f249fd22d48fe015, before a842a1f947da8a7020e72f885ffbf2ce6a93685f affected from 6.1.69, before 6.1.193 affected from 6.6.8, before 6.6.163
Other versions: unaffected
|
| Linux |
affected 6.7 unaffected before 6.7 unaffected from 6.1.193 up to and including 6.1.* unaffected from 6.6.163 up to and including 6.6.* unaffected from 6.12.118 up to and including 6.12.* unaffected from 6.18.64 up to and including 6.18.* unaffected from 7.3.5 up to and including 7.3.* unaffected 7.4-rc2 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-99740 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-99740
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-99740
trivy image --scanners vuln IMAGE | grep CVE-2026-99740
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/c00f570d296157a89bf25282cfabc057a34dbc85 git.kernel.org
- https://git.kernel.org/stable/c/65c71c823b8ceb7721642fdb24a992b22fdf0944 git.kernel.org
- https://git.kernel.org/stable/c/dfedff4a9f0abcd985dcdfbd721dcd9374d6ff12 git.kernel.org
- https://git.kernel.org/stable/c/1360e0f9a188cfede01d0df81119d925bbfff165 git.kernel.org
- https://git.kernel.org/stable/c/b3239a5a37bba078d83cfb864d47a0cc122f17cd git.kernel.org
- https://git.kernel.org/stable/c/a842a1f947da8a7020e72f885ffbf2ce6a93685f git.kernel.org
Source: the record CVE-2026-99740 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse