Skip to main content
VulnerabilityPublished

CVE-2026-138900: Linux kernel · mm/mempolicy: take a cpuset cookie for the interleave node count

Source GCVE Database

0
Compare
Authoritative record:CVE-2026-138900· Medium

Not known to be exploited · fixed in bbeeb4a29dc4ca6ac18ab3bafa3728bc984a4cde : update Linux kernel when convenient.

Data as of 30 Nov 2026, 17:16 UTC

Severity
Medium

Rated by Threat Radar · CVSS not yet scored by NVD

Thin evidence

One scorer or none
Patch
Available – fixed in bbeeb4a29dc4ca6ac18ab3bafa3728bc984a4cde, ad7b8f3cfdf63a9a0d74850ff7c9b035d93968ba, 8645813dad5bb05e2ef57eda0f195f2a2072b831 +3

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 30 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
LinuxLinuxAffected
  • ≥ c00b6b9610991c042ff4c3153daaa3ea8522c210, < bbeeb4a29dc4ca6ac18ab3bafa3728bc984a4cde
Fixed in
  • bbeeb4a29dc4ca6ac18ab3bafa3728bc984a4cde
LinuxLinuxAffected
  • ≥ c00b6b9610991c042ff4c3153daaa3ea8522c210, < ad7b8f3cfdf63a9a0d74850ff7c9b035d93968ba
Fixed in
  • ad7b8f3cfdf63a9a0d74850ff7c9b035d93968ba
LinuxLinuxAffected
  • ≥ c00b6b9610991c042ff4c3153daaa3ea8522c210, < 8645813dad5bb05e2ef57eda0f195f2a2072b831
Fixed in
  • 8645813dad5bb05e2ef57eda0f195f2a2072b831
LinuxLinuxAffected
  • ≥ c00b6b9610991c042ff4c3153daaa3ea8522c210, < 1140b3a60d9d8a4ad32381077a8e3d3fa8f4d0bf
Fixed in
  • 1140b3a60d9d8a4ad32381077a8e3d3fa8f4d0bf
LinuxLinuxAffected
  • ≥ c00b6b9610991c042ff4c3153daaa3ea8522c210, < 9c74c3161dd6217aae0941b83e7ac7a4b77a7901
Fixed in
  • 9c74c3161dd6217aae0941b83e7ac7a4b77a7901
LinuxLinuxAffected
  • ≥ c00b6b9610991c042ff4c3153daaa3ea8522c210, < 07acce0a02ccc67e7702d9be610b729ef449874a
Fixed in
  • 07acce0a02ccc67e7702d9be610b729ef449874a

Description

In the Linux kernel, the following vulnerability has been resolved: mm/mempolicy: take a cpuset cookie for the interleave node count alloc_pages_bulk_interleave() counts pol->nodes without a cpuset cookie: nodes = nodes_weight(pol->nodes); nr_pages_per_node = nr_pages / nodes; nodemask_t spans several words once MAX_NUMNODES exceeds BITS_PER_LONG, so a concurrent cpuset rebind can tear that read and yield an empty mask even though neither version of it was empty. The call then allocates nothing and returns 0. Some compilers will hoist the loop entry test above the division, because nr_pages_per_node is dead when the loop does not run. 682e: call ... <- nodes_weight() 6838: test %eax,%eax 683a: jle 692d <- nodes <= 0 skips the loop 684a: div %rcx So in most deployments, this div/0 is unreachable - but nothing in the source guarantees that, it's just not easily exercised. Take the cookie around the count and bail if the mask really is empty. Only the count needs it, interleave_nodes() takes the cookie itself so so a torn read there is already retried. A rebind landing mid-loop can still leave the count disagreeing with the mask, so the loop may revisit a node or skip one - but a rebind where nodes change causes migration, so a handful of misplaced pages isn't catastrophic in any sense. Measured on a 72 node VM (NODES_SHIFT=10) with a cgroup v2 cpuset flipping cpuset.mems between a word 0 and a word 1 node set, and the two word read artificially widened: 330 zero counts in 130414 calls without the cookie, and 401 retries with it.

References

Community reviews

Loading reviews…