Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-138900

published

mm/mempolicy: take a cpuset cookie for the interleave node count

Published
30 Nov 2026, 13:26:01 UTC
Updated
30 Nov 2026, 13:26:01 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxc00b6b9610991c042ff4c3153daaa3ea8522c210 to < 07acce0a02ccc67e7702d9be610b729ef449874a · c00b6b9610991c042ff4c3153daaa3ea8522c210 to < 9c74c3161dd6217aae0941b83e7ac7a4b77a7901 · c00b6b9610991c042ff4c3153daaa3ea8522c210 to < ad7b8f3cfdf63a9a0d74850ff7c9b035d93968ba · c00b6b9610991c042ff4c3153daaa3ea8522c210 to < 1140b3a60d9d8a4ad32381077a8e3d3fa8f4d0bf · c00b6b9610991c042ff4c3153daaa3ea8522c210 to < 8645813dad5bb05e2ef57eda0f195f2a2072b831 · c00b6b9610991c042ff4c3153daaa3ea8522c210 to < bbeeb4a29dc4ca6ac18ab3bafa3728bc984a4cde · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.16 (affected) · 0 to < 5.16 (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.117 through 6.12.* (unaffected · semver) · 6.18.63 through 6.18.* (unaffected · semver) · 7.3.4 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux c00b6b9610991c042ff4c3153daaa3ea8522c210 to < 07acce0a02ccc67e7702d9be610b729ef449874a (affected · git)c00b6b9610991c042ff4c3153daaa3ea8522c210 to < 9c74c3161dd6217aae0941b83e7ac7a4b77a7901 (affected · git)c00b6b9610991c042ff4c3153daaa3ea8522c210 to < ad7b8f3cfdf63a9a0d74850ff7c9b035d93968ba (affected · git)c00b6b9610991c042ff4c3153daaa3ea8522c210 to < 1140b3a60d9d8a4ad32381077a8e3d3fa8f4d0bf (affected · git)c00b6b9610991c042ff4c3153daaa3ea8522c210 to < 8645813dad5bb05e2ef57eda0f195f2a2072b831 (affected · git)c00b6b9610991c042ff4c3153daaa3ea8522c210 to < bbeeb4a29dc4ca6ac18ab3bafa3728bc984a4cde (affected · git)Default: unaffected Linux · cna
Linux Linux 5.16 (affected)0 to < 5.16 (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.117 through 6.12.* (unaffected · semver)6.18.63 through 6.18.* (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

6

Provider assertions

1

Linux · cna

mm/mempolicy: take a cpuset cookie for the interleave node count

Provenance

Schema
5.2
Searchable
yes
Content hash
212a5ed91f684d2d746fffc78f4765979bfca500f94eaac6e6656e77542bdc77
Ingested
30 Nov 2026, 13:30:07 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected