Skip to main content

Linux Kernel CVE-2025-39976

HIGH
2025-10-15 416baaa9-dc9f-4396-8d5f-8c081fb06d67
7.8
CVSS 3.1 · Vendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain local unprivileged execution
  2. Delivery
    Induce kernel memory pressure
  3. Exploit
    Repeatedly fork to fail futex hash alloc
  4. Execution
    Hit wrong error-exit unlocking unheld locks
  5. Persist
    Corrupt lock/task state
  6. Impact
    Kernel panic or attempted privilege escalation

Vulnerability Assessment

Exploitation Conditions

Exploitation requires local code execution (AV:L, PR:L) and, critically, that futex_hash_allocate_default() returns a failure inside copy_process() - i.e. a futex-hash memory allocation must fail during fork/clone. This is the exact prerequisite: the buggy cleanup branch is only reached on that allocation-failure error path, which is not triggered in normal successful process creation. Limiting factors: the attacker cannot directly control kernel allocation success, so triggering typically demands inducing severe memory pressure and racing many fork attempts, making reliable exploitation hard and non-deterministic; no remote vector and no user-interaction path exist. The most realistic outcome under these conditions is a kernel crash rather than controlled compromise.

Impact

The supplied CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N, C:H/I:H/A:H = 7.8) rates this a high-severity local flaw, but real-world priority is materially lower than the base score suggests. The bug only manifests on the failure return of futex_hash_allocate_default(), i.e. a memory-allocation failure during fork, which is not attacker-controlled under normal load and is difficult to force deterministically - this argues for higher attack complexity than the AC:L in the given vector. EPSS is low (0.17%, 7th percentile), there is no CISA KEV listing and no public exploit identified, which is consistent with a subtle race/error-path defect. The provided 'Information Disclosure' tag is not well supported by the description; the concrete effect is lock-state corruption tending toward denial of service (kernel panic) with a theoretical escalation path. Net: patch in normal maintenance cadence - this is a genuine correctness bug worth fixing, not an urgent actively-exploited threat.

Exploit ScenarioDerived

A local user with the ability to run code repeatedly forks processes while driving the system toward memory exhaustion so that futex_hash_allocate_default() fails during copy_process(), forcing the kernel down the buggy error label that releases unheld locks. The resulting lock-state corruption is most likely to panic the kernel (local DoS), with a difficult, non-deterministic path toward corrupting task/signal state for privilege escalation. No public exploit is identified, and the low EPSS reflects the difficulty of reliably triggering the allocation failure.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 30, 2026

Local privilege escalation and memory corruption in the Linux kernel process-creation path arises because copy_process() takes the wrong error-exit label after futex_hash_allocate_default() fails, releasing tasklist_lock and siglock that were never acquired. This lock imbalance can corrupt kernel synchronization state on the fork error path, with a potential for kernel crash or exploitation to gain elevated privileges. No public exploit identified at time of analysis and EPSS is low (0.17%), consistent with a subtle, hard-to-trigger error-handling defect rather than a widely-weaponized bug.

RemediationAI

Apply the upstream kernel fix that redirects the error path to bad_fork_cancel_cgroup: Upstream fix available (PR/commit); released patched version not independently confirmed - see https://git.kernel.org/stable/c/4ec3c15462b9f44562f45723a92e2807746ba7d1 and https://git.kernel.org/stable/c/f1635765cd0fdbf27b04d9a50be91a01b5adda13. Operationally, update to the distribution kernel package that incorporates these commits and reboot into the patched kernel. No practical in-place workaround disables the fork error path, but because the trigger is an allocation failure during process creation, reducing memory pressure (adequate RAM/swap sizing, avoiding severe OOM conditions) lowers the chance of reaching the buggy branch - a mitigating, not eliminating, control with the trade-off of not addressing the underlying defect. Restricting untrusted local users' ability to spawn processes under artificial memory pressure (cgroup memory limits, ulimits) also reduces exposure at the cost of application flexibility.

Affected ProductsAI

The affected product is the mainline and stable Linux kernel, specifically builds that include the default futex hash allocation in copy_process() prior to the fix commits. No CPE strings were provided in the intelligence, so exact version ranges are not enumerated in the input; the fix is tracked in the kernel stable tree via commits at https://git.kernel.org/stable/c/4ec3c15462b9f44562f45723a92e2807746ba7d1 and https://git.kernel.org/stable/c/f1635765cd0fdbf27b04d9a50be91a01b5adda13. Distributions rebasing on the affected stable branches (and their downstream kernels) are impacted until they pick up these commits.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw lives in copy_process() (kernel/fork.c), the core routine backing fork/clone. During task duplication the kernel calls futex_hash_allocate_default() to set up the per-task futex hash; on allocation failure the code jumped to bad_fork_core_free, which calls spin_unlock on tasklist_lock and the target's siglock. At that point in the flow neither lock had been taken, so the unlock operates on locks not held by the current context, producing a locking imbalance (effectively a spurious/double unlock). The correct target, bad_fork_cancel_cgroup, only unwinds cgroup state. CWE is listed as N/A, but the root cause is an improper cleanup / incorrect error handling class defect (akin to CWE-667 improper locking / CWE-460 improper cleanup on error path). Releasing an unheld spinlock corrupts lock ownership assumptions and can leave other CPUs able to enter critical sections concurrently, undermining the integrity of task-list and signal state.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 5.8 MEDIUM

Local low-priv attacker (AV:L/PR:L); AC:H because it requires forcing a non-deterministic allocation failure during fork; primary realistic impact is kernel panic (A:H) with limited, uncertain C/I effect.

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:H
4.0 AV:L/AC:H/AT:N/PR:L/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N
SUSE 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Red Hat 4.5 MEDIUM

Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).

CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

In the Linux kernel, the following vulnerability has been resolved:

futex: Use correct exit on failure from futex_hash_allocate_default()

copy_process() uses the wrong error exit path from futex_hash_allocate_default(). After exiting from futex_hash_allocate_default(), neither tasklist_lock nor siglock has been acquired. The exit label bad_fork_core_free unlocks both of these locks which is wrong.

The next exit label, bad_fork_cancel_cgroup, is the correct exit. sched_cgroup_fork() did not allocate any resources that need to freed.

Use bad_fork_cancel_cgroup on error exit from futex_hash_allocate_default().

Executive ViewAI

Why It Matters

CVE-2025-39976 is a high-severity privilege escalation vulnerability affecting Linux kernels that could allow attackers with local system access to crash the kernel or gain elevated privileges. Although no public exploit exists and exploitation likelihood remains low (EPSS 0.2%), the vulnerability impacts the core process creation mechanism across all affected Linux deployments. Organizations running Linux servers require immediate containment actions and monitoring capabilities while vendors develop and test patches.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: enforce strict local access controls limiting shell/SSH access to authorized administrators; deploy enhanced auditing of all process creation (fork) operations and kernel panic logs; apply SELinux or AppArmor policies to restrict unprivileged capability escalation; disable or minimize use of system services that trigger high-volume fork operations in error paths.

Threat Intelligence Overview

EPSS Score
0.2%
Top 93% exploitable
Prevalence
Ubiquitous
Linux kernel runs across servers, cloud, mobile, and embedded worldwide
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Not-Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy