Action not permitted
Modal body text goes here.
Modal Title
Modal Body
EUVD-2026-410277
European Vulnerability Database identifier assigned by ENISAReserved
2026-11-20 06:45
Assigner
ENISA
Alias of
a CVE record, shown under related vulnerabilities.
This identifier carries no description, severity or references of its own:
they belong to that CVE.
{
"assigner": "ENISA",
"date_reserved": "2026-11-20T06:45:34.239387+00:00",
"id": "EUVD-2026-410277"
}
CVE-2026-99669 (GCVE-0-2026-99669)
Vulnerability from cvelistv5 – Published: 2026-11-20 05:50 – Updated: 2026-11-23 08:05
VLAI
EPSS
VEX
Title
mm/huge_memory: fix truncate racing with PMD zapping
Summary
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 ]
Severity
7.8 (High)
Assigner
References
8 references
Impacted products
2 products
| Vendor | Product | Version | |
|---|---|---|---|
| Linux | Linux |
Affected:
79d8c89baa10612c1675972a632c65cdbe0936f6 , < 37a32c760eb709440bb9cd6cd6852022850a542b
(git)
Affected: 13f4910d81b62a214cdb28b47237198fa96078a2 , < 664d37982d094623f5c3ac0373d3751401b10020 (git) Affected: 7a4c3f7b47ba34b021a7747081f330bfb76a4271 , < b72f49d669840a87d0a811b3f16e14fe597fc3ce (git) Affected: 6e904f9e8cb0e39f60e1cdbea679f89346a563c2 , < df588ea0cf5dce9ee7cc1689e40a6940dc25429a (git) Affected: fd720d3906877b3d2118cd480027e4bc6648f0c5 , < e80c3d6e1dc80bae76471ea5b10bf625168f14c6 (git) Affected: effe3cc6d4fdd407457eb30f7b0ef094393f0d64 , < d08f371175e5ad3bea97983ef446e416e4fb32e2 (git) Affected: fe6cf984939d8e12cb33a99673c8d026c5135e68 , < a5786ec7ba7967433207f20214ff75768497a2c9 (git) Affected: fe6cf984939d8e12cb33a99673c8d026c5135e68 , < e6a07d29b0a60f3a4cfe77fe34eeb4b3fb38d6c4 (git) Affected: 9435cddf1378d149d826bd7bd1448a44bf96868d (git) Affected: 5.10.273 , < 5.10.275 (semver) Affected: 5.15.224 , < 5.15.226 (semver) Affected: 6.1.191 , < 6.1.193 (semver) Affected: 6.6.160 , < 6.6.163 (semver) Affected: 6.12.114 , < 6.12.119 (semver) Affected: 6.18.52 , < 6.18.65 (semver) Affected: 7.2.5 , < 7.3 (semver) |
|
| Linux | Linux |
Affected:
7.3
Unaffected: 0 , < 7.3 (semver) Unaffected: 5.10.275 , ≤ 5.10.* (semver) Unaffected: 5.15.226 , ≤ 5.15.* (semver) Unaffected: 6.1.193 , ≤ 6.1.* (semver) Unaffected: 6.6.163 , ≤ 6.6.* (semver) Unaffected: 6.12.119 , ≤ 6.12.* (semver) Unaffected: 6.18.65 , ≤ 6.18.* (semver) Unaffected: 7.3.5 , ≤ 7.3.* (semver) Unaffected: 7.4-rc2 , ≤ * (original_commit_for_fix) |
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"mm/huge_memory.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "37a32c760eb709440bb9cd6cd6852022850a542b",
"status": "affected",
"version": "79d8c89baa10612c1675972a632c65cdbe0936f6",
"versionType": "git"
},
{
"lessThan": "664d37982d094623f5c3ac0373d3751401b10020",
"status": "affected",
"version": "13f4910d81b62a214cdb28b47237198fa96078a2",
"versionType": "git"
},
{
"lessThan": "b72f49d669840a87d0a811b3f16e14fe597fc3ce",
"status": "affected",
"version": "7a4c3f7b47ba34b021a7747081f330bfb76a4271",
"versionType": "git"
},
{
"lessThan": "df588ea0cf5dce9ee7cc1689e40a6940dc25429a",
"status": "affected",
"version": "6e904f9e8cb0e39f60e1cdbea679f89346a563c2",
"versionType": "git"
},
{
"lessThan": "e80c3d6e1dc80bae76471ea5b10bf625168f14c6",
"status": "affected",
"version": "fd720d3906877b3d2118cd480027e4bc6648f0c5",
"versionType": "git"
},
{
"lessThan": "d08f371175e5ad3bea97983ef446e416e4fb32e2",
"status": "affected",
"version": "effe3cc6d4fdd407457eb30f7b0ef094393f0d64",
"versionType": "git"
},
{
"lessThan": "a5786ec7ba7967433207f20214ff75768497a2c9",
"status": "affected",
"version": "fe6cf984939d8e12cb33a99673c8d026c5135e68",
"versionType": "git"
},
{
"lessThan": "e6a07d29b0a60f3a4cfe77fe34eeb4b3fb38d6c4",
"status": "affected",
"version": "fe6cf984939d8e12cb33a99673c8d026c5135e68",
"versionType": "git"
},
{
"status": "affected",
"version": "9435cddf1378d149d826bd7bd1448a44bf96868d",
"versionType": "git"
},
{
"lessThan": "5.10.275",
"status": "affected",
"version": "5.10.273",
"versionType": "semver"
},
{
"lessThan": "5.15.226",
"status": "affected",
"version": "5.15.224",
"versionType": "semver"
},
{
"lessThan": "6.1.193",
"status": "affected",
"version": "6.1.191",
"versionType": "semver"
},
{
"lessThan": "6.6.163",
"status": "affected",
"version": "6.6.160",
"versionType": "semver"
},
{
"lessThan": "6.12.119",
"status": "affected",
"version": "6.12.114",
"versionType": "semver"
},
{
"lessThan": "6.18.65",
"status": "affected",
"version": "6.18.52",
"versionType": "semver"
},
{
"lessThan": "7.3",
"status": "affected",
"version": "7.2.5",
"versionType": "semver"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"mm/huge_memory.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "7.3"
},
{
"lessThan": "7.3",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"version": "5.10.275",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"version": "5.15.226",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"version": "6.1.193",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"version": "6.6.163",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.12.*",
"status": "unaffected",
"version": "6.12.119",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.65",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.3.*",
"status": "unaffected",
"version": "7.3.5",
"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": "5.10.275",
"versionStartIncluding": "5.10.273",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.15.226",
"versionStartIncluding": "5.15.224",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.1.193",
"versionStartIncluding": "6.1.191",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.6.163",
"versionStartIncluding": "6.6.160",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.12.119",
"versionStartIncluding": "6.12.114",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.18.65",
"versionStartIncluding": "6.18.52",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.3.5",
"versionStartIncluding": "7.3",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.4-rc2",
"versionStartIncluding": "7.3",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "7.2.5",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmm/huge_memory: fix truncate racing with PMD zapping\n\nzap_huge_pmd_folio() removes the rmap before calling folio_mark_dirty().\nIf this was the last mapping, truncation can skip unmapping the folio\nand proceed without waiting for the PMD lock, racing with dirtying.\n\nifs_set_range_dirty() can oops if MADV_DONTNEED races with\nftruncate() on XFS, when we get the folio set dirty after it was found\nto not be mapped anymore.\n\nMove folio_mark_dirty() and folio_mark_accessed() before rmap removal,\nmatching the PTE zap path. This keeps the folio mapped while updating\nits state, so truncation must wait for the page table lock.\n\nFix generated by an LLM and sent by Chris Mason in private.\n\n[ david: simplify comment and description ]"
}
],
"metrics": [
{
"cvssV3_1": {
"baseScore": 7.8,
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"scenarios": [
{
"lang": "en",
"value": "AV:L - madvise(MADV_DONTNEED) on a local mapping reaches the bug: do_madvise() to madvise_dontneed_single_vma() to zap_vma_range_batched() to zap_pmd_range() to zap_huge_pmd() to zap_huge_pmd_folio(), which calls folio_remove_rmap_pmd() before folio_mark_dirty(). The paired ftruncate() is a local syscall on that same file; no remote protocol field supplies the triggering state.\nAC:L - The caller builds both sides: an XFS write allocates a PMD-order folio (iomap_get_folio() via fgf_set_order, then do_set_pmd() on fault), a store dirties the PMD, then one thread issues madvise(MADV_DONTNEED) while another issues ftruncate(). After folio_remove_rmap_pmd() clears the last mapcount, truncate_cleanup_folio() calls folio_invalidate()/ifs_free() and skips unmap_mapping_folio(), so zap_huge_pmd()\u0027s PMD lock stays uncontended.\nPR:L - do_madvise() and do_ftruncate() need only a file the caller can write: do_ftruncate() requires FMODE_WRITE and vfs_truncate() checks inode_permission(MAY_WRITE). No capability is checked before zap_huge_pmd_folio() or xfs_vn_setattr_size().\nUI:N - The attacker mmaps, writes, and truncates a file they created, from threads they run. zap_huge_pmd_folio() races truncate_cleanup_folio() with no other user opening the file.\nS:U - The corrupted object is an iomap_folio_state in the same kernel that runs the attacker\u0027s madvise and ftruncate. zap_huge_pmd_folio() and ifs_free() execute in that host kernel, which is ordinary kernel privilege-escalation scope.\nC:H - ifs_set_range_dirty() loads ifs-\u003estate_lock and read-modify-writes ifs-\u003estate after ifs_free() has kfree\u0027d that iomap_folio_state, while folio-\u003emapping is still set (filemap_remove_folio() runs later in truncate_inode_folio()). Reusing the slab slot turns that use into a read and a corruption of a kernel object that can disclose memory.\nI:H - With a 2MB folio and 4K blocks, ifs_set_range_dirty() bitmap_set()s 512 bits (64 bytes of 0xff) at bit offset blks_per_folio in the freed iomap_folio_state and writes the spinlock word. That heap write overwrites a reallocated slab object.\nA:H - Using the kfree\u0027d iomap_folio_state, or loading folio-\u003emapping-\u003ehost in ifs_set_range_dirty() after filemap_remove_folio() cleared it, oopses the kernel. That is the MADV_DONTNEED versus XFS ftruncate crash fixed by reordering zap_huge_pmd_folio()."
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-23T08:05:44.809Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/37a32c760eb709440bb9cd6cd6852022850a542b"
},
{
"url": "https://git.kernel.org/stable/c/664d37982d094623f5c3ac0373d3751401b10020"
},
{
"url": "https://git.kernel.org/stable/c/b72f49d669840a87d0a811b3f16e14fe597fc3ce"
},
{
"url": "https://git.kernel.org/stable/c/df588ea0cf5dce9ee7cc1689e40a6940dc25429a"
},
{
"url": "https://git.kernel.org/stable/c/e80c3d6e1dc80bae76471ea5b10bf625168f14c6"
},
{
"url": "https://git.kernel.org/stable/c/d08f371175e5ad3bea97983ef446e416e4fb32e2"
},
{
"url": "https://git.kernel.org/stable/c/a5786ec7ba7967433207f20214ff75768497a2c9"
},
{
"url": "https://git.kernel.org/stable/c/e6a07d29b0a60f3a4cfe77fe34eeb4b3fb38d6c4"
}
],
"title": "mm/huge_memory: fix truncate racing with PMD zapping",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2026-99669",
"datePublished": "2026-11-20T05:50:18.839Z",
"dateReserved": "2026-09-25T10:25:14.428Z",
"dateUpdated": "2026-11-23T08:05:44.809Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
Loading…
Trend slope:
-
(linear fit over daily sighting counts)
Show additional events:
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
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.
Loading…
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
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.
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.
Loading…
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.
Loading…
Loading…