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-138864

published

mm/page_counter: avoid integer overflow in effective_protection()

Published
30 Nov 2026, 13:25:42 UTC
Updated
30 Nov 2026, 13:25:42 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxbc50bcc6e00b8509e64875c674f4573e8b4df1e8 to < c380274c205add299b48135ef6cd11e67aac29b2 · bc50bcc6e00b8509e64875c674f4573e8b4df1e8 to < d8957533806e9f291e8e65ee2bb12163ce5ecebc · bc50bcc6e00b8509e64875c674f4573e8b4df1e8 to < 2748bfeb1c12aa99670c08a34f5ff07ba6945c89 · bc50bcc6e00b8509e64875c674f4573e8b4df1e8 to < 7809ce47b05671e1fa6d74bead892d6ad6c1403b · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.7 (affected) · 0 to < 5.7 (unaffected · semver) · 6.12.118 through 6.12.* (unaffected · semver) · 6.18.64 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/page_counter: avoid integer overflow in effective_protection() Patch series "mm/mglru: fix ineffective memory protection for non-kswapd reclaim", v4. For MGLRU, memory.min/low is not honored during non-kswapd global reclaim (global direct reclaim and root-level memory.reclaim), because these paths shrink memcgs using stale protection (emin/elow). Patch 2 is the actual fix. Patch 1 is a prerequisite: an integer overflow in effective_protection(), spotted by the sashiko review tool, which patch 2's new caller would also be exposed to. This patch (of 2): effective_protection() scales a parent's protection by a ratio of page counts, e.g. for recursive protection: (parent_effective - siblings_protected) * (usage - protected) / (parent_usage - siblings_protected) The multiply is done at unsigned long width before dividing. On systems with >= 16TB RAM the product can exceed 2^64 and wrap, giving a bogus protection value and silently breaking memory.min/low enforcement. Use mul_u64_u64_div_u64() to multiply in a 128-bit intermediate. Because usage and parent_usage are not read atomically (a child is charged before its parent), usage - protected can briefly exceed the divisor, making the quotient overflow 64 bits and trap (#DE on x86). Cap it so the ratio stays <= 1. Reported by the sashiko review tool [1].

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 bc50bcc6e00b8509e64875c674f4573e8b4df1e8 to < c380274c205add299b48135ef6cd11e67aac29b2 (affected · git)bc50bcc6e00b8509e64875c674f4573e8b4df1e8 to < d8957533806e9f291e8e65ee2bb12163ce5ecebc (affected · git)bc50bcc6e00b8509e64875c674f4573e8b4df1e8 to < 2748bfeb1c12aa99670c08a34f5ff07ba6945c89 (affected · git)bc50bcc6e00b8509e64875c674f4573e8b4df1e8 to < 7809ce47b05671e1fa6d74bead892d6ad6c1403b (affected · git)Default: unaffected Linux · cna
Linux Linux 5.7 (affected)0 to < 5.7 (unaffected · semver)6.12.118 through 6.12.* (unaffected · semver)6.18.64 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

4

Provider assertions

1

Linux · cna

mm/page_counter: avoid integer overflow in effective_protection()

Provenance

Schema
5.2
Searchable
yes
Content hash
cb4db4535c1186950aa4a54757f1323d07875b36fa96d614bac368a718561f84
Ingested
30 Nov 2026, 13:30:06 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