Skip to main content

Linux Kernel CVE-2025-39977

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 low-priv execution
  2. Delivery
    Spawn two racing futex threads
  3. Exploit
    Requeue-PI races timeout/signal wakeup
  4. Execution
    Use-after-free on freed on-stack futex_q
  5. Persist
    Corrupt kernel memory via stale q->task
  6. Impact
    Escalate privileges or crash kernel

Vulnerability Assessment

Exploitation Conditions

Requires local code execution as an already-authenticated low-privileged user (CVSS PR:L, AV:L, UI:N) able to invoke the futex syscall with the priority-inheritance requeue operations (FUTEX_WAIT_REQUEUE_PI / FUTEX_CMP_REQUEUE_PI) used by glibc pthread condition variables and PI mutexes. The attacker must win a precise timing race: T1 has to be woken by a timeout or signal at the exact moment T2 is executing futex_requeue()/requeue_pi_wake_futex(), making exploitation inherently non-deterministic. Limiting factors: no remote or network vector, no user interaction, existing local execution is a prerequisite (no escalation without it), and the narrow race window - detectable only via fuzzing - makes reliable triggering difficult.

Impact

The CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, 7.8 High) frames this as locally exploitable by an already-authenticated low-privileged user with full-impact memory corruption, typical for kernel UAF bugs. Real-world exploitation probability is low: EPSS is 0.05% (15th percentile), it is not in CISA KEV, and no public exploit is identified. The AC:L rating arguably understates difficulty - this is a narrow timing race between two threads originally surfaced only by syzbot fuzzing, so reliable triggering is closer to AC:H in practice. A signal conflict is worth flagging: the source Tags label this 'Information Disclosure', yet the CVSS impact and the use-after-free class point to memory corruption / potential privilege escalation, not mere disclosure - verify actual impact against the mainline commit. Net: legitimately worth patching on multi-tenant hosts and systems running untrusted local code, but not an emergency for single-user or internet-facing-only hosts given the absence of a remote vector and of observed exploitation.

Exploit ScenarioDerived

A low-privileged local user, or code inside an untrusted container, runs a program that spins two threads hammering pthread condition-variable requeue while forcing timeouts/signals, deliberately racing futex_wait_requeue_pi() against futex_requeue() to trigger the use-after-free on the freed on-stack futex_q. By grooming the reclaimed stack memory to control the stale q->task pointer used in wake_up_state(), the attacker aims to corrupt kernel memory and escalate privileges. No public exploit is identified; the race was originally found by syzbot, so practical weaponization is nontrivial.

Act Now Prioritize within 24-48h. Why: Active threat signals + CRITICAL/HIGH severity.
Patch available 0.0% 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-class use-after-free in the Linux kernel's futex subsystem (requeue-PI path) lets a low-privileged local user race futex_wait_requeue_pi() against futex_requeue() so a kernel wakeup dereferences an on-stack futex_q structure that has already been freed and returned to userland. The flaw carries high confidentiality, integrity, and availability impact (CVSS 7.8, AV:L). There is no public exploit identified at time of analysis, and EPSS is very low (0.05%, 15th percentile), consistent with a hard-to-weaponize timing race.

RemediationAI

Apply the upstream fix that reads futex_q::task before updating the requeue state; upstream fix available (stable commits 348736955ed6ca6e99ca24b93b1d3fbfe352c181 plus backports a170b9c0dde8, b549113738e8, cb5d19a61274, d824b2dbdcfe at git.kernel.org/stable), released patched version not independently confirmed from the provided data - update to the patched stable/distribution kernel containing these commits and confirm the exact version via your distribution's security tracker. For Siemens products, follow the fixed versions in advisories SSA-082556 and SSA-019113. There is no practical in-kernel configuration workaround for this race; compensating controls are limited to reducing untrusted local access - restrict shell/local accounts on multi-tenant hosts and confine low-privileged workloads (seccomp/namespaces for containers), accepting that these do not close the race for any code path able to call futex requeue and may restrict legitimate workloads.

Affected ProductsAI

The vulnerability affects the Linux kernel futex subsystem across stable branches prior to the fix; exact affected version ranges are not enumerated in the provided data (no CPE strings supplied) and must be derived from the stable trees corresponding to the fix commits at git.kernel.org (348736955ed6, a170b9c0dde8, b549113738e8, cb5d19a61274, d824b2dbdcfe). Downstream, Siemens confirms exposure in industrial/embedded products shipping this kernel via advisories https://cert-portal.siemens.com/productcert/html/ssa-082556.html and https://cert-portal.siemens.com/productcert/html/ssa-019113.html. All mainstream distributions built on the affected stable kernels should be treated as impacted until they pick up the corresponding backport.

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 bug lives in the kernel's fast userspace mutex (futex) implementation, specifically the priority-inheritance requeue logic that backs glibc pthread condition variables and PI mutexes. In futex_wait_requeue_pi(), thread T1 blocks in futex_do_wait()/schedule(); concurrently thread T2 in futex_requeue() -> futex_proxy_trylock_atomic() -> requeue_pi_wake_futex() advances the requeue state. If a timeout or signal wakes T1 first, T1 exits through futex_requeue_pi_wakeup_sync()/futex_hash_put() back to userland, at which point its stack-allocated futex_q is garbage; T2 then calls wake_up_state(q->task, ...) on the stale pointer. This is a classic use-after-free driven by a race condition (CWE-416 / CWE-362; NVD lists CWE as N/A). The fix reads futex_q::task with READ_ONCE before futex_requeue_pi_complete() updates the requeue state, relying on the held spinlock (implying an RCU read section) to keep the task_struct valid for the wakeup without taking an extra reference.

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 7.0 HIGH

Local low-privileged user (AV:L/PR:L); AC:H because success requires winning a narrow, non-deterministic thread scheduling race; use-after-free enables full memory-corruption impact (C/I/A:H).

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE 7.0 HIGH
AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Red Hat 4.7 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

Lifecycle Timeline

3
CVSS changed
Jul 30, 2026 - 06:37 NVD
7.8 (HIGH)
CVE Published
Oct 15, 2025 - 08:15 nvd
UNKNOWN (no severity yet)
CVE Published
Oct 15, 2025 - 08:15 cve.org
HIGH 7.8

DescriptionCVE.org

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

futex: Prevent use-after-free during requeue-PI

syzbot managed to trigger the following race:

T1 T2

futex_wait_requeue_pi() futex_do_wait() schedule() futex_requeue() futex_proxy_trylock_atomic() futex_requeue_pi_prepare() requeue_pi_wake_futex() futex_requeue_pi_complete() /* preempt */

  • timeout/ signal wakes T1 *

futex_requeue_pi_wakeup_sync() // Q_REQUEUE_PI_LOCKED futex_hash_put() // back to userland, on stack futex_q is garbage

/* back */ wake_up_state(q->task, TASK_NORMAL);

In this scenario futex_wait_requeue_pi() is able to leave without using futex_q::lock_ptr for synchronization.

This can be prevented by reading futex_q::task before updating the futex_q::requeue_state. A reference on the task_struct is not needed because requeue_pi_wake_futex() is invoked with a spinlock_t held which implies a RCU read section.

Even if T1 terminates immediately after, the task_struct will remain valid during T2's wake_up_state(). A READ_ONCE on futex_q::task before futex_requeue_pi_complete() is enough because it ensures that the variable is read before the state is updated.

Read futex_q::task before updating the requeue state, use it for the following wakeup.

Executive ViewAI

Why It Matters

CVE-2025-39977 is a high-severity Linux kernel privilege escalation in the futex subsystem that allows low-privileged local users to gain kernel-level access through a timing-race use-after-free condition. While no public exploit identified at time of analysis and weaponization is difficult, any Linux environment permitting untrusted local user access faces elevated risk to system confidentiality, integrity, and availability. Organizations should prioritize inventory and access controls pending kernel remediation.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: restrict local shell access on affected kernel versions, disable unprivileged user account provisioning until patched, enforce identity verification for all system access requests, apply AppArmor or SELinux policies to constrain low-privileged process capabilities, enable kernel audit logging to detect privilege-escalation attempts, isolate high-value systems (authentication, data stores) from untrusted-user environments, and establish monitoring for distribution vendor kernel security advisories.

Threat Intelligence Overview

EPSS Score
0.0%
Top 85% exploitable
Prevalence
Ubiquitous
futex code ships in virtually every Linux kernel deployment worldwide
Threat Intel
2
1 source
Data Quality
5 sources
Confidence: Medium
NVD CVE.org EPSS CISA Vendor VulDB

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.0%
Patch available Yes
Active threat Yes
Deciding rule
Active threat signals + CRITICAL/HIGH severity
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

49
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: +10
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: Important
Product Status
Container suse/sl-micro/6.0/baremetal-os-container:latest Affected
Container suse/sl-micro/6.0/base-os-container:2.1.3-7.95 Affected
Container suse/sl-micro/6.0/kvm-os-container:2.1.3-6.115 Affected
Container suse/sl-micro/6.0/rt-os-container:2.1.3-7.146 Affected
Container suse/sl-micro/6.0/toolbox:latest Affected

Threat IntelligenceMISP

CISA Advisories
Sources: CISA (public domain)

References

Advisories & patches
ADVISORY https://vuldb.com/vuln/328650 ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:0263/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:0278/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:0281/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:0293/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:0315/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:0317/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:0411/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:0617/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:1684/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:1686/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:1694/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:1708/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:1710/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:1718/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:1725/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:1728/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:1733/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:1768/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:1771/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:1776/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:1787/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:1793/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:1798/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:1804/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20207/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20220/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20228/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20477/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20479/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20498/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20520/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20564/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20772/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20794/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20819/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20845/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20872/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20876/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:21468/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:21469/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:21470/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:21471/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:21472/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:21473/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:21474/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:21475/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:21476/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:21477/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:21479/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:21480/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:21481/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:21482/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:21483/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:21484/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:21485/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:21487/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:21491/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:21495/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:21496/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:21497/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:21498/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:21499/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:21501/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:21503/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:21504/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:21505/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:21506/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:21507/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:21508/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:21509/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:21510/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:21511/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:21512/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:21513/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:21514/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:21515/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:21523/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:21526/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:21528/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:21529/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:21531/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:21532/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:21533/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:21555/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:21562/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:21563/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:21591/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:21598/ REF https://cert-portal.siemens.com/productcert/html/ssa-019113.html REF https://cert-portal.siemens.com/productcert/html/ssa-082556.html REF https://cert-portal.siemens.com/productcert/html/ssa-457936.html REF https://git.kernel.org/stable/c/348736955ed6ca6e99ca24b93b1d3fbfe352c181 REF https://git.kernel.org/stable/c/a170b9c0dde83312b8b58ccc91509c7c15711641 REF https://git.kernel.org/stable/c/b549113738e8c751b613118032a724b772aa83f2 REF https://git.kernel.org/stable/c/cb5d19a61274b51b49601214a87af573b43d60fa REF https://git.kernel.org/stable/c/d824b2dbdcfe3c390278dd9652ea526168ef6850

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