Public vulnerability disclosure

CVE-2026-99740

mm/shmem: stop retrying folios that cannot be split

published

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 ]

Technical severityUnscoredNo score in collected sources
Published2026-11-20Source updated 2026-11-23
Collected2026-11-233 attributed sources

Fixes and workarounds

No remediation reported in collected sources.

Missing remediation information is not evidence that no patch exists.

Affected products and versions

Affected products, source version ranges and reporting authorities
ProductVersionsAuthority
Linux
Linux
≥ da9b7c651c6517c2de1099136ed87c0c24f864dd; < c00f570d296157a89bf25282cfabc057a34dbc85 (affected, git)
≥ 7a4ae7acd20805940307be98b304871a43288a01; < 65c71c823b8ceb7721642fdb24a992b22fdf0944 (affected, git)
≥ 55ac8bbe358bdd2f3c044c12f249fd22d48fe015; < dfedff4a9f0abcd985dcdfbd721dcd9374d6ff12 (affected, git)
≥ 55ac8bbe358bdd2f3c044c12f249fd22d48fe015; < 1360e0f9a188cfede01d0df81119d925bbfff165 (affected, git)
≥ 55ac8bbe358bdd2f3c044c12f249fd22d48fe015; < b3239a5a37bba078d83cfb864d47a0cc122f17cd (affected, git)
≥ 55ac8bbe358bdd2f3c044c12f249fd22d48fe015; < a842a1f947da8a7020e72f885ffbf2ce6a93685f (affected, git)
≥ 6.1.69; < 6.1.193 (affected, semver)
≥ 6.6.8; < 6.6.163 (affected, semver)
Other versions: unaffected
CNA: Linux
Linux
Linux
6.7 (affected)
≥ 0; < 6.7 (unaffected, semver)
≥ 6.1.193; ≤ 6.1.* (unaffected, semver)
≥ 6.6.163; ≤ 6.6.* (unaffected, semver)
≥ 6.12.118; ≤ 6.12.* (unaffected, semver)
≥ 6.18.64; ≤ 6.18.* (unaffected, semver)
≥ 7.3.5; ≤ 7.3.* (unaffected, semver)
≥ 7.4-rc2; ≤ * (unaffected, original_commit_for_fix)
Other versions: affected
CNA: Linux

Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.

CVSS assessments

No CVSS assessment reported. An unscored record is not a low-severity determination.

Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

References

For agents and automation

Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.

Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.

Endpoints and access details

https://api.y2.dev/api/v2/cyber/cves
https://api.y2.dev/api/v2/cyber/cves/{cveId}

A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.

For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.

Agent access JSON · OpenAPI · CVE API guide