Public vulnerability disclosure

CVE-2026-99669

mm/huge_memory: fix truncate racing with PMD zapping

published

In the Linux kernel, the following vulnerability has been resolved: mm/huge_memory: fix truncate racing with PMD zapping zap_huge_pmd_folio() removes the rmap before calling folio_mark_dirty(). If this was the last mapping, truncation can skip unmapping the folio and proceed without waiting for the PMD lock, racing with dirtying. ifs_set_range_dirty() can oops if MADV_DONTNEED races with ftruncate() on XFS, when we get the folio set dirty after it was found to not be mapped anymore. Move folio_mark_dirty() and folio_mark_accessed() before rmap removal, matching the PTE zap path. This keeps the folio mapped while updating its state, so truncation must wait for the page table lock. Fix generated by an LLM and sent by Chris Mason in private. [ david: simplify comment and description ]

Technical severity7.8 highCVSS 3.1 · CNA: Linux
Published2026-11-20Source updated 2026-11-22
Collected2026-11-223 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
≥ fe6cf984939d8e12cb33a99673c8d026c5135e68; < a5786ec7ba7967433207f20214ff75768497a2c9 (affected, git)
≥ fe6cf984939d8e12cb33a99673c8d026c5135e68; < e6a07d29b0a60f3a4cfe77fe34eeb4b3fb38d6c4 (affected, git)
79d8c89baa10612c1675972a632c65cdbe0936f6 (affected, git)
13f4910d81b62a214cdb28b47237198fa96078a2 (affected, git)
7a4c3f7b47ba34b021a7747081f330bfb76a4271 (affected, git)
6e904f9e8cb0e39f60e1cdbea679f89346a563c2 (affected, git)
fd720d3906877b3d2118cd480027e4bc6648f0c5 (affected, git)
effe3cc6d4fdd407457eb30f7b0ef094393f0d64 (affected, git)
9435cddf1378d149d826bd7bd1448a44bf96868d (affected, git)
≥ 5.10.273; < 5.11 (affected, semver)
≥ 5.15.224; < 5.16 (affected, semver)
≥ 6.1.191; < 6.2 (affected, semver)
≥ 6.6.160; < 6.7 (affected, semver)
≥ 6.12.114; < 6.13 (affected, semver)
≥ 6.18.52; < 6.19 (affected, semver)
≥ 7.2.5; < 7.3 (affected, semver)
Other versions: unaffected
CNA: Linux
Linux
Linux
7.3 (affected)
≥ 0; < 7.3 (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

CVSS scores, vectors and reporting authorities
Version / scoreVectorAuthority
3.1 / 7.8
high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HCNA: Linux
3.1 / 7.8
high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

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