Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-38008

MEDIUM 4.7EPSS 5%

mm/page_alloc: fix race condition in unaccepted memory handling

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= dcdfdd40fa82b6704d2841938e5c8ec3051eb0d6, < 98fdd2f612e949c652693f6df00442c81037776d; >= dcdfdd40fa82b6704d2841938e5c8ec3051eb0d6, < 74953f93f47a45296cc2a3fd04e2a3202ff3fa53; >= dcdfdd40fa82b6704d2841938e5c8ec3051eb0d6, < 71dda1cb10702dc2859f00eb789b0502de2176a9; >= dcdfdd40fa82b6704d2841938e5c8ec3051eb0d6, < fefc075182275057ce607effaa3daa9e6e3bdc73
  • Anyone running Linux 6.5

Vulnerability facts

Affected
Linux >= dcdfdd40fa82b6704d2841938e5c8ec3051eb0d6, < 98fdd2f612e949c652693f6df00442c81037776d; >= dcdfdd40fa82b6704d2841938e5c8ec3051eb0d6, < 74953f93f47a45296cc2a3fd04e2a3202ff3fa53; >= dcdfdd40fa82b6704d2841938e5c8ec3051eb0d6, < 71dda1cb10702dc2859f00eb789b0502de2176a9; >= dcdfdd40fa82b6704d2841938e5c8ec3051eb0d6, < fefc075182275057ce607effaa3daa9e6e3bdc73; Linux 6.5
Fixed in
Linux 98fdd2f612e949c652693f6df00442c81037776d, Linux 74953f93f47a45296cc2a3fd04e2a3202ff3fa53, Linux 71dda1cb10702dc2859f00eb789b0502de2176a9
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
4.7 (v3.1, NVD)CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: High
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.19% chance of exploitation in 30 days (percentile 5, 2026-11-26)
CWE
CWE-362
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: mm/page_alloc: fix race condition in unaccepted memory handling The page allocator tracks the number of zones that have unaccepted memory using static_branch_enc/dec() and uses that static branch in hot paths to determine if it needs to deal with unaccepted memory. Borislav and Thomas pointed out that the tracking is racy: operations on static_branch are not serialized against adding/removing unaccepted pages to/from the zone. Sanity checks inside static_branch machinery detects it: WARNING: CPU: 0 PID: 10 at kernel/jump_label.c:276 __static_key_slow_dec_cpuslocked+0x8e/0xa0 The comment around the WARN() explains the problem: /* * Warn about the '-1' case though; since that means a * decrement is concurrent with a first (0->1) increment. IOW * people are trying to disable something that wasn't yet fully * enabled. This suggests an ordering problem on the user side. */ The effect of this static_branch optimization is only visible on microbenchmark. Instead of adding more complexity around it, remove it altogether.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= dcdfdd40fa82b6704d2841938e5c8ec3051eb0d6, < 98fdd2f612e949c652693f6df00442c81037776d; >= dcdfdd40fa82b6704d2841938e5c8ec3051eb0d6, < 74953f93f47a45296cc2a3fd04e2a3202ff3fa53; >= dcdfdd40fa82b6704d2841938e5c8ec3051eb0d6, < 71dda1cb10702dc2859f00eb789b0502de2176a9; >= dcdfdd40fa82b6704d2841938e5c8ec3051eb0d6, < fefc075182275057ce607effaa3daa9e6e3bdc73—cvelist
Linux6.5—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-38008. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-38008.md
Affected: Linux >= dcdfdd40fa82b6704d2841938e5c8ec3051eb0d6, < 98fdd2f612e949c652693f6df00442c81037776d; >= dcdfdd40fa82b6704d2841938e5c8ec3051eb0d6, < 74953f93f47a45296cc2a3fd04e2a3202ff3fa53; >= dcdfdd40fa82b6704d2841938e5c8ec3051eb0d6, < 71dda1cb10702dc2859f00eb789b0502de2176a9; >= dcdfdd40fa82b6704d28419…
Fixed in: Linux 98fdd2f612e949c652693f6df00442c81037776d, Linux 74953f93f47a45296cc2a3fd04e2a3202ff3fa53, Linux 71dda1cb10702dc2859f00eb789b0502de2176a9

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.

References

FAQ

Is CVE-2025-38008 being exploited?

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

How serious is CVE-2025-38008?

Medium: CVSS 4.7 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

Which versions are affected by CVE-2025-38008?

Linux >= dcdfdd40fa82b6704d2841938e5c8ec3051eb0d6, < 98fdd2f612e949c652693f6df00442c81037776d; >= dcdfdd40fa82b6704d2841938e5c8ec3051eb0d6, < 74953f93f47a45296cc2a3fd04e2a3202ff3fa53; >= dcdfdd40fa82b6704d2841938e5c8ec3051eb0d6, < 71dda1cb10702dc2859f00eb789b0502de2176a9; >= dcdfdd40fa82b6704d2841938e5c8ec3051eb0d6, < fefc075182275057ce607effaa3daa9e6e3bdc73; Linux 6.5.

Is there a fix for CVE-2025-38008?

Yes. Fixed in Linux 98fdd2f612e949c652693f6df00442c81037776d, Linux 74953f93f47a45296cc2a3fd04e2a3202ff3fa53, Linux 71dda1cb10702dc2859f00eb789b0502de2176a9. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2025-38008?

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.

Sponsors