Action not permitted
Modal body text goes here.
Modal Title
Modal Body
EUVD-2026-410262
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.193334+00:00",
"id": "EUVD-2026-410262"
}
CVE-2026-99654 (GCVE-0-2026-99654)
Vulnerability from cvelistv5 – Published: 2026-11-20 05:50 – Updated: 2026-11-23 08:05
VLAI
EPSS
VEX
Title
mm: fix unmap_mapping_range() beyond 4 GiB on 32-bit
Summary
In the Linux kernel, the following vulnerability has been resolved:
mm: fix unmap_mapping_range() beyond 4 GiB on 32-bit
Commit 9eab0421fa94 ("mm: fix unmap_mapping_range high bits shift bug")
made holebegin and holelen unsigned before they are shifted, by casting
them to pgoff_t. That is an unsigned long: on a 32-bit kernel the cast
cuts off the upper half of the two loff_t values, so a hole which begins
at 4 GiB or beyond is taken for one in the first 4 GiB of the file.
truncate_pagecache() passes the new size of the file and asks for private
COWed pages to be unmapped as well. If a file of 6 GiB is truncated to
5 GiB, everything from 1 GiB on is unmapped, and what a process has
written to a private mapping of the range between 1 GiB and 5 GiB is
lost: it reads the contents of the file again.
Where the range has an end, the wrong range is unmapped instead of the
right one. The page cache copes with that, as it unmaps every folio that
it removes. The callers which only have unmap_mapping_range() to get
rid of user mappings do not, for example drm_vma_node_unmap(), whose fake
offsets reach beyond 4 GiB on 32-bit, and revoke_iomem() with physical
addresses of more than 32 bits.
Cast to u64 instead. Nothing changes for 64-bit kernels.
Fix generated by an LLM and sent by Josef Bacik in private.
Severity
7.8 (High)
Assigner
References
8 references
Impacted products
2 products
| Vendor | Product | Version | |
|---|---|---|---|
| Linux | Linux |
Affected:
73704c6b35c7682fd22f97992a68b0e8451c7a52 , < aeaa0d4e301c5d2d97ba40603f899abe4e118572
(git)
Affected: 91432aebce514cab49f63324c98b4eccb80532c5 , < 273121718c4c79ac0dd044d5f7998f21854b7cd6 (git) Affected: dafdeb7b91f1597983693a418c496b6702ea34b5 , < aff28bb139a69437922311e4078f77dc92d54831 (git) Affected: 2247df454c7bb4b13939794fe6fae8510868d241 , < 119bb87a630d25d61ed77738c73a4ba743f8e410 (git) Affected: 9eab0421fa94a3dde0d1f7e36ab3294fc306c99d , < cbf6c66a2ef46433092b41b87176755de32bf65b (git) Affected: 9eab0421fa94a3dde0d1f7e36ab3294fc306c99d , < 0cf8d3fdd869fe079e55f8e621e45397a819d93c (git) Affected: 9eab0421fa94a3dde0d1f7e36ab3294fc306c99d , < 67e6d5468a7d693a00176713d44267e5360d63c3 (git) Affected: 9eab0421fa94a3dde0d1f7e36ab3294fc306c99d , < 7a81bc23dade8082187be6d9cc36e4be4b7207e2 (git) Affected: 2db1c46c3913b8bc92fed235a344de2671fe9d8d (git) Affected: 77359c4973056ba33a5627d5c04aea494eb76bc9 (git) Affected: 5.10.208 , < 5.10.275 (semver) Affected: 5.15.147 , < 5.15.226 (semver) Affected: 6.1.72 , < 6.1.193 (semver) Affected: 6.6.11 , < 6.6.163 (semver) Affected: 4.19.305 , < 4.20 (semver) Affected: 5.4.267 , < 5.5 (semver) |
|
| Linux | Linux |
Affected:
6.7
Unaffected: 0 , < 6.7 (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.118 , ≤ 6.12.* (semver) Unaffected: 6.18.64 , ≤ 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/memory.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "aeaa0d4e301c5d2d97ba40603f899abe4e118572",
"status": "affected",
"version": "73704c6b35c7682fd22f97992a68b0e8451c7a52",
"versionType": "git"
},
{
"lessThan": "273121718c4c79ac0dd044d5f7998f21854b7cd6",
"status": "affected",
"version": "91432aebce514cab49f63324c98b4eccb80532c5",
"versionType": "git"
},
{
"lessThan": "aff28bb139a69437922311e4078f77dc92d54831",
"status": "affected",
"version": "dafdeb7b91f1597983693a418c496b6702ea34b5",
"versionType": "git"
},
{
"lessThan": "119bb87a630d25d61ed77738c73a4ba743f8e410",
"status": "affected",
"version": "2247df454c7bb4b13939794fe6fae8510868d241",
"versionType": "git"
},
{
"lessThan": "cbf6c66a2ef46433092b41b87176755de32bf65b",
"status": "affected",
"version": "9eab0421fa94a3dde0d1f7e36ab3294fc306c99d",
"versionType": "git"
},
{
"lessThan": "0cf8d3fdd869fe079e55f8e621e45397a819d93c",
"status": "affected",
"version": "9eab0421fa94a3dde0d1f7e36ab3294fc306c99d",
"versionType": "git"
},
{
"lessThan": "67e6d5468a7d693a00176713d44267e5360d63c3",
"status": "affected",
"version": "9eab0421fa94a3dde0d1f7e36ab3294fc306c99d",
"versionType": "git"
},
{
"lessThan": "7a81bc23dade8082187be6d9cc36e4be4b7207e2",
"status": "affected",
"version": "9eab0421fa94a3dde0d1f7e36ab3294fc306c99d",
"versionType": "git"
},
{
"status": "affected",
"version": "2db1c46c3913b8bc92fed235a344de2671fe9d8d",
"versionType": "git"
},
{
"status": "affected",
"version": "77359c4973056ba33a5627d5c04aea494eb76bc9",
"versionType": "git"
},
{
"lessThan": "5.10.275",
"status": "affected",
"version": "5.10.208",
"versionType": "semver"
},
{
"lessThan": "5.15.226",
"status": "affected",
"version": "5.15.147",
"versionType": "semver"
},
{
"lessThan": "6.1.193",
"status": "affected",
"version": "6.1.72",
"versionType": "semver"
},
{
"lessThan": "6.6.163",
"status": "affected",
"version": "6.6.11",
"versionType": "semver"
},
{
"lessThan": "4.20",
"status": "affected",
"version": "4.19.305",
"versionType": "semver"
},
{
"lessThan": "5.5",
"status": "affected",
"version": "5.4.267",
"versionType": "semver"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"mm/memory.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "6.7"
},
{
"lessThan": "6.7",
"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.118",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.64",
"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.208",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.15.226",
"versionStartIncluding": "5.15.147",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.1.193",
"versionStartIncluding": "6.1.72",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.6.163",
"versionStartIncluding": "6.6.11",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.12.118",
"versionStartIncluding": "6.7",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.18.64",
"versionStartIncluding": "6.7",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.3.5",
"versionStartIncluding": "6.7",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.4-rc2",
"versionStartIncluding": "6.7",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.19.305",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.4.267",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmm: fix unmap_mapping_range() beyond 4 GiB on 32-bit\n\nCommit 9eab0421fa94 (\"mm: fix unmap_mapping_range high bits shift bug\")\nmade holebegin and holelen unsigned before they are shifted, by casting\nthem to pgoff_t. That is an unsigned long: on a 32-bit kernel the cast\ncuts off the upper half of the two loff_t values, so a hole which begins\nat 4 GiB or beyond is taken for one in the first 4 GiB of the file.\n\ntruncate_pagecache() passes the new size of the file and asks for private\nCOWed pages to be unmapped as well. If a file of 6 GiB is truncated to\n5 GiB, everything from 1 GiB on is unmapped, and what a process has\nwritten to a private mapping of the range between 1 GiB and 5 GiB is\nlost: it reads the contents of the file again.\n\nWhere the range has an end, the wrong range is unmapped instead of the\nright one. The page cache copes with that, as it unmaps every folio that\nit removes. The callers which only have unmap_mapping_range() to get\nrid of user mappings do not, for example drm_vma_node_unmap(), whose fake\noffsets reach beyond 4 GiB on 32-bit, and revoke_iomem() with physical\naddresses of more than 32 bits.\n\nCast to u64 instead. Nothing changes for 64-bit kernels.\n\nFix generated by an LLM and sent by Josef Bacik in private."
}
],
"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 - unmap_mapping_range() gets its hole from local callers: ftruncate64() via ksys_ftruncate(), do_truncate(), and truncate_pagecache(), and from drm_gem_mmap() mappings torn down by drm_vma_node_unmap(). That byte offset is not a field of any remote protocol message.\nAC:L - On 32-bit, DRM_FILE_PAGE_OFFSET_START/SIZE runs the fake mmap space out to about 4.25GiB. The attacker allocates GEM objects until drm_vma_offset_add() returns a node at a byte offset \u003e= 4GiB, faults it, and marks it purgeable so drm_gem_shmem_purge_locked() hits the truncating cast.\nPR:L - The attacker opens a DRM render node and uses drm_gem_mmap() plus a DRM_RENDER_ALLOW ioctl such as panfrost MADVISE on their own GEM handle. ftruncate64() needs only write access to the inode. Neither path requires CAP_SYS_ADMIN.\nUI:N - The attacker opens the render node, maps the object, and triggers the purge, or calls ftruncate64() on a file they can already write. No other user has to mount media or confirm a prompt.\nS:U - drm_vma_node_unmap() walks VMAs on the DRM device anon_inode address_space, and the leftover PTE is in that process\u0027s mm, the same security authority as this kernel bug.\nC:H - hba is (pgoff_t)holebegin \u003e\u003e PAGE_SHIFT, so a hole at or above 4GiB aliases into the low 4GiB. drm_gem_shmem_purge_locked() still calls shmem_truncate_range() while the vmf_insert_pfn() PTE installed by drm_gem_shmem_fault() keeps reading that freed, reused page.\nI:H - The missed VMA stays writable. vc4_bo_purge() then dma_free_wc()s those pages, and the shmem purge releases them with shmem_truncate_range(). A store through the stale special PTE writes the frame after the allocator reuses it.\nA:H - drm_gem_shmem_purge_locked() and vc4_bo_purge() free pages that drm_vma_node_unmap() failed to clear from the user page tables. That use-after-free crashes the kernel once the frame is reused as a slab or file page."
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-23T08:05:34.681Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/aeaa0d4e301c5d2d97ba40603f899abe4e118572"
},
{
"url": "https://git.kernel.org/stable/c/273121718c4c79ac0dd044d5f7998f21854b7cd6"
},
{
"url": "https://git.kernel.org/stable/c/aff28bb139a69437922311e4078f77dc92d54831"
},
{
"url": "https://git.kernel.org/stable/c/119bb87a630d25d61ed77738c73a4ba743f8e410"
},
{
"url": "https://git.kernel.org/stable/c/cbf6c66a2ef46433092b41b87176755de32bf65b"
},
{
"url": "https://git.kernel.org/stable/c/0cf8d3fdd869fe079e55f8e621e45397a819d93c"
},
{
"url": "https://git.kernel.org/stable/c/67e6d5468a7d693a00176713d44267e5360d63c3"
},
{
"url": "https://git.kernel.org/stable/c/7a81bc23dade8082187be6d9cc36e4be4b7207e2"
}
],
"title": "mm: fix unmap_mapping_range() beyond 4 GiB on 32-bit",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2026-99654",
"datePublished": "2026-11-20T05:50:06.890Z",
"dateReserved": "2026-09-25T10:25:14.427Z",
"dateUpdated": "2026-11-23T08:05:34.681Z",
"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…