CVE-2026-89986 (GCVE-0-2026-89986)
Vulnerability from cvelistv5 – Published: 2026-09-16 10:33 – Updated: 2026-09-16 14:41
VLAI
EPSS
VEX
Title
mm/mempolicy: fix sleeping allocation in alloc_pages_bulk_weighted_interleave()
Summary
In the Linux kernel, the following vulnerability has been resolved:
mm/mempolicy: fix sleeping allocation in alloc_pages_bulk_weighted_interleave()
syzbot reported a sleeping function called from invalid context splat in
bucket_table_alloc().
When rhashtable_insert_slow() rehashes the table under rcu_read_lock(), it
calls bucket_table_alloc(..., GFP_ATOMIC | __GFP_NOWARN). If the bucket
table allocation uses vmalloc, __vmalloc_node_range_noprof() invokes
vm_area_alloc_pages() -> alloc_pages_bulk_mempolicy_noprof() with the
passed GFP_ATOMIC flags.
If the current task has an MPOL_WEIGHTED_INTERLEAVE mempolicy,
alloc_pages_bulk_weighted_interleave() is called and currently hardcodes
GFP_KERNEL when allocating the temporary weights array, triggering a
might_alloc() splat in atomic/RCU contexts.
Pass the gfp flags (masked with GFP_RECLAIM_MASK to strip page-allocator
zone modifiers like __GFP_HIGHMEM) received by
alloc_pages_bulk_weighted_interleave() to kmalloc() instead of hardcoding
GFP_KERNEL. Since the weights buffer is immediately initialized in full,
kmalloc() is sufficient.
Severity
7.8 (High)
Assigner
References
Impacted products
2 products
| Vendor | Product | Version | CPE status | |
|---|---|---|---|---|
| Linux | Linux |
Affected:
fa3bea4e1f8202d787709b7e3654eb0a99aed758 , < bcb3d0c867ee40dc48e9c085bf328fbc679b6656
(git)
Affected: fa3bea4e1f8202d787709b7e3654eb0a99aed758 , < 0ceda28f371df9e0bbdaa29214f71fe8298f23d8 (git) Affected: fa3bea4e1f8202d787709b7e3654eb0a99aed758 , < 2943f1f4b7f2816177060eb9f551f2e6d8b629ba (git) Affected: fa3bea4e1f8202d787709b7e3654eb0a99aed758 , < 540e583b66d6402bf556fde5e53c817a54c1afe5 (git) |
guessed | |
| Linux | Linux |
Affected:
6.9
Unaffected: 0 , < 6.9 (semver) Unaffected: 6.12.110 , ≤ 6.12.* (semver) Unaffected: 6.18.51 , ≤ 6.18.* (semver) Unaffected: 7.2.5 , ≤ 7.2.* (semver) Unaffected: 7.3-rc2 , ≤ * (original_commit_for_fix) |
guessed |
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"mm/mempolicy.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "bcb3d0c867ee40dc48e9c085bf328fbc679b6656",
"status": "affected",
"version": "fa3bea4e1f8202d787709b7e3654eb0a99aed758",
"versionType": "git"
},
{
"lessThan": "0ceda28f371df9e0bbdaa29214f71fe8298f23d8",
"status": "affected",
"version": "fa3bea4e1f8202d787709b7e3654eb0a99aed758",
"versionType": "git"
},
{
"lessThan": "2943f1f4b7f2816177060eb9f551f2e6d8b629ba",
"status": "affected",
"version": "fa3bea4e1f8202d787709b7e3654eb0a99aed758",
"versionType": "git"
},
{
"lessThan": "540e583b66d6402bf556fde5e53c817a54c1afe5",
"status": "affected",
"version": "fa3bea4e1f8202d787709b7e3654eb0a99aed758",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"mm/mempolicy.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "6.9"
},
{
"lessThan": "6.9",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.12.*",
"status": "unaffected",
"version": "6.12.110",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.51",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.2.*",
"status": "unaffected",
"version": "7.2.5",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.3-rc2",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.12.110",
"versionStartIncluding": "6.9",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.18.51",
"versionStartIncluding": "6.9",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.2.5",
"versionStartIncluding": "6.9",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.3-rc2",
"versionStartIncluding": "6.9",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmm/mempolicy: fix sleeping allocation in alloc_pages_bulk_weighted_interleave()\n\nsyzbot reported a sleeping function called from invalid context splat in\nbucket_table_alloc().\n\nWhen rhashtable_insert_slow() rehashes the table under rcu_read_lock(), it\ncalls bucket_table_alloc(..., GFP_ATOMIC | __GFP_NOWARN). If the bucket\ntable allocation uses vmalloc, __vmalloc_node_range_noprof() invokes\nvm_area_alloc_pages() -\u003e alloc_pages_bulk_mempolicy_noprof() with the\npassed GFP_ATOMIC flags.\n\nIf the current task has an MPOL_WEIGHTED_INTERLEAVE mempolicy,\nalloc_pages_bulk_weighted_interleave() is called and currently hardcodes\nGFP_KERNEL when allocating the temporary weights array, triggering a\nmight_alloc() splat in atomic/RCU contexts.\n\nPass the gfp flags (masked with GFP_RECLAIM_MASK to strip page-allocator\nzone modifiers like __GFP_HIGHMEM) received by\nalloc_pages_bulk_weighted_interleave() to kmalloc() instead of hardcoding\nGFP_KERNEL. Since the weights buffer is immediately initialized in full,\nkmalloc() is sufficient."
}
],
"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 - Triggering requires set_mempolicy(MPOL_WEIGHTED_INTERLEAVE) on the attacker\u0027s task and a local syscall that grows an rhashtable until GFP_ATOMIC kvmalloc falls back to vmalloc (nftables hash sets, tc flower, BPF rhashtable maps); softirq/packet paths use default_policy via in_interrupt() and cannot apply the attacker\u0027s mempolicy.\nAC:L - The attacker fully controls setup: set_mempolicy on their own task, insert enough rhashtable elements for a \u003ePAGE_SIZE bucket table, and apply memory pressure so GFP_ATOMIC kmalloc fails and kvmalloc uses vmalloc; CONFIG_NUMA is standard on x86_64/arm64 distro and cloud kernels, and no attacker-uncontrollable race is required.\nPR:L - set_mempolicy() has no capability check, and the rhashtable rehash path is reachable by an unprivileged user via nftables or tc in a user+net namespace where CAP_NET_ADMIN is namespace-local; init-namespace root is not required.\nUI:N - The attacker sets their own mempolicy and drives the rhashtable inserts themselves; no victim action such as mounting a filesystem or opening a file is required.\nS:U - The illegal GFP_KERNEL allocation and any resulting RCU use-after-free of the rhashtable bucket table stay inside the host kernel\u0027s memory-management authority; this is standard in-kernel impact, not a VM, IOMMU, or sandbox boundary crossing.\nC:H - Sleeping under rcu_read_lock() in rhashtable_insert_slow() on non-PREEMPT_RCU kernels can let the grace period complete and free the old bucket table before rhashtable_rehash_attach() uses it, yielding a use-after-free read of kernel heap.\nI:H - The same RCU-break UAF lets rhashtable_rehash_attach() cmpxchg old_tbl-\u003efuture_tbl on a freed table, which is an attacker-sprayable kernel write primitive via heap reuse rather than a clean failure.\nA:H - GFP_KERNEL under rcu_read_lock produces a sleeping-from-invalid-context BUG/WARN (panic with panic_on_warn), can RCU-stall or deadlock if reclaim actually sleeps, and the bucket-table UAF can oops the kernel."
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-09-16T14:41:02.502Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/bcb3d0c867ee40dc48e9c085bf328fbc679b6656"
},
{
"url": "https://git.kernel.org/stable/c/0ceda28f371df9e0bbdaa29214f71fe8298f23d8"
},
{
"url": "https://git.kernel.org/stable/c/2943f1f4b7f2816177060eb9f551f2e6d8b629ba"
},
{
"url": "https://git.kernel.org/stable/c/540e583b66d6402bf556fde5e53c817a54c1afe5"
}
],
"title": "mm/mempolicy: fix sleeping allocation in alloc_pages_bulk_weighted_interleave()",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2026-89986",
"datePublished": "2026-09-16T10:33:01.545Z",
"dateReserved": "2026-09-11T19:38:34.779Z",
"dateUpdated": "2026-09-16T14:41:02.502Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"nvd": "{\"cve\":{\"id\":\"CVE-2026-89986\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-09-16T11:17:09.653\",\"lastModified\":\"2026-09-16T15:18:22.557\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nmm/mempolicy: fix sleeping allocation in alloc_pages_bulk_weighted_interleave()\\n\\nsyzbot reported a sleeping function called from invalid context splat in\\nbucket_table_alloc().\\n\\nWhen rhashtable_insert_slow() rehashes the table under rcu_read_lock(), it\\ncalls bucket_table_alloc(..., GFP_ATOMIC | __GFP_NOWARN). If the bucket\\ntable allocation uses vmalloc, __vmalloc_node_range_noprof() invokes\\nvm_area_alloc_pages() -\u003e alloc_pages_bulk_mempolicy_noprof() with the\\npassed GFP_ATOMIC flags.\\n\\nIf the current task has an MPOL_WEIGHTED_INTERLEAVE mempolicy,\\nalloc_pages_bulk_weighted_interleave() is called and currently hardcodes\\nGFP_KERNEL when allocating the temporary weights array, triggering a\\nmight_alloc() splat in atomic/RCU contexts.\\n\\nPass the gfp flags (masked with GFP_RECLAIM_MASK to strip page-allocator\\nzone modifiers like __GFP_HIGHMEM) received by\\nalloc_pages_bulk_weighted_interleave() to kmalloc() instead of hardcoding\\nGFP_KERNEL. Since the weights buffer is immediately initialized in full,\\nkmalloc() is sufficient.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"mm/mempolicy.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"fa3bea4e1f8202d787709b7e3654eb0a99aed758\",\"lessThan\":\"bcb3d0c867ee40dc48e9c085bf328fbc679b6656\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"fa3bea4e1f8202d787709b7e3654eb0a99aed758\",\"lessThan\":\"0ceda28f371df9e0bbdaa29214f71fe8298f23d8\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"fa3bea4e1f8202d787709b7e3654eb0a99aed758\",\"lessThan\":\"2943f1f4b7f2816177060eb9f551f2e6d8b629ba\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"fa3bea4e1f8202d787709b7e3654eb0a99aed758\",\"lessThan\":\"540e583b66d6402bf556fde5e53c817a54c1afe5\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"mm/mempolicy.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"6.9\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"6.9\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.12.110\",\"lessThanOrEqual\":\"6.12.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.51\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.2.5\",\"lessThanOrEqual\":\"7.2.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.3-rc2\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\",\"baseScore\":7.8,\"baseSeverity\":\"HIGH\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":5.9}]},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/0ceda28f371df9e0bbdaa29214f71fe8298f23d8\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/2943f1f4b7f2816177060eb9f551f2e6d8b629ba\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/540e583b66d6402bf556fde5e53c817a54c1afe5\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/bcb3d0c867ee40dc48e9c085bf328fbc679b6656\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
}
}
Loading…
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…
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…