# CVE-2026-89986: mm/mempolicy: fix sleeping allocation in alloc\_pages\_bulk\_weighted\_interleave()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 4, 2026-11-26)
- **Published:** 2026-09-16T10:33:01.545Z
- **Modified:** 2026-10-19T09:18:45.613Z

## Who should check

- Anyone running Linux \>= fa3bea4e1f8202d787709b7e3654eb0a99aed758, \< bcb3d0c867ee40dc48e9c085bf328fbc679b6656; \>= fa3bea4e1f8202d787709b7e3654eb0a99aed758, \< 0ceda28f371df9e0bbdaa29214f71fe8298f23d8; \>= fa3bea4e1f8202d787709b7e3654eb0a99aed758, \< 2943f1f4b7f2816177060eb9f551f2e6d8b629ba; \>= fa3bea4e1f8202d787709b7e3654eb0a99aed758, \< 540e583b66d6402bf556fde5e53c817a54c1afe5
- Anyone running Linux 6.9

## Description

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.

## Affected and fixed versions

- Linux: \>= fa3bea4e1f8202d787709b7e3654eb0a99aed758, \< bcb3d0c867ee40dc48e9c085bf328fbc679b6656; \>= fa3bea4e1f8202d787709b7e3654eb0a99aed758, \< 0ceda28f371df9e0bbdaa29214f71fe8298f23d8; \>= fa3bea4e1f8202d787709b7e3654eb0a99aed758, \< 2943f1f4b7f2816177060eb9f551f2e6d8b629ba; \>= fa3bea4e1f8202d787709b7e3654eb0a99aed758, \< 540e583b66d6402bf556fde5e53c817a54c1afe5 (cvelist)
- Linux: 6.9 (cvelist)

## Mitigation

- Upgrade Linux to 540e583b66d6402bf556fde5e53c817a54c1afe5 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-89986. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-89986.md
Affected: Linux >= fa3bea4e1f8202d787709b7e3654eb0a99aed758, < bcb3d0c867ee40dc48e9c085bf328fbc679b6656; >= fa3bea4e1f8202d787709b7e3654eb0a99aed758, < 0ceda28f371df9e0bbdaa29214f71fe8298f23d8; >= fa3bea4e1f8202d787709b7e3654eb0a99aed758, < 2943f1f4b7f2816177060eb9f551f2e6d8b629ba; >= fa3bea4e1f8202d787709b7…
Fixed in: Linux 0ceda28f371df9e0bbdaa29214f71fe8298f23d8, Linux 2943f1f4b7f2816177060eb9f551f2e6d8b629ba, Linux 540e583b66d6402bf556fde5e53c817a54c1afe5

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-89986 being exploited?

There is no confirmed exploitation: CVE-2026-89986 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-89986?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-89986?

Linux \>= fa3bea4e1f8202d787709b7e3654eb0a99aed758, \< bcb3d0c867ee40dc48e9c085bf328fbc679b6656; \>= fa3bea4e1f8202d787709b7e3654eb0a99aed758, \< 0ceda28f371df9e0bbdaa29214f71fe8298f23d8; \>= fa3bea4e1f8202d787709b7e3654eb0a99aed758, \< 2943f1f4b7f2816177060eb9f551f2e6d8b629ba; \>= fa3bea4e1f8202d787709b7e3654eb0a99aed758, \< 540e583b66d6402bf556fde5e53c817a54c1afe5; Linux 6.9.

### Is there a fix for CVE-2026-89986?

Yes. Fixed in Linux 0ceda28f371df9e0bbdaa29214f71fe8298f23d8, Linux 2943f1f4b7f2816177060eb9f551f2e6d8b629ba, Linux 540e583b66d6402bf556fde5e53c817a54c1afe5. Upgrade Linux to 540e583b66d6402bf556fde5e53c817a54c1afe5 or later.

### How do I check if I'm affected by CVE-2026-89986?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/bcb3d0c867ee40dc48e9c085bf328fbc679b6656>
- other: <https://git.kernel.org/stable/c/0ceda28f371df9e0bbdaa29214f71fe8298f23d8>
- other: <https://git.kernel.org/stable/c/2943f1f4b7f2816177060eb9f551f2e6d8b629ba>
- other: <https://git.kernel.org/stable/c/540e583b66d6402bf556fde5e53c817a54c1afe5>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-89986>

HTML: <https://flawdb.com/CVE-2026-89986> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-89986>
