In the Linux kernel, the following vulnerability has been resolved: futex: Prevent use-after-free during requeue-PI syzbot managed to trigger the… (CVE-2025-39977)
A use-after-free vulnerability in the Linux kernel's futex subsystem related to requeue-PI operations has been resolved. The issue involves a race condition where futex_wait_requeue_pi() can exit without proper synchronization, leading to use of freed memory. The fix ensures reading futex_q::task before updating the requeue state to maintain valid references during wake-up calls.
AI Analysis
Technical Summary
CVE-2025-39977 is a use-after-free vulnerability in the Linux kernel's futex implementation during requeue-PI operations. The race condition occurs between two threads where futex_wait_requeue_pi() may leave without using futex_q::lock_ptr for synchronization, causing futex_q to become garbage on the stack. The vulnerability is mitigated by reading futex_q::task before updating futex_q::requeue_state, leveraging the fact that requeue_pi_wake_futex() is called with a spinlock held, which implies a safe RCU read section. This prevents use-after-free by ensuring the task_struct remains valid during wake_up_state() calls.
Potential Impact
Successful exploitation of this vulnerability could lead to use-after-free conditions in the kernel, potentially allowing an attacker with local privileges to cause memory corruption. The CVSS vector indicates high impact on confidentiality, integrity, and availability, meaning it could lead to privilege escalation, arbitrary code execution, or system crashes.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official patch or fix links are provided in the available data. Users should monitor Linux kernel updates and apply official patches once available to address this vulnerability.
In the Linux kernel, the following vulnerability has been resolved: futex: Prevent use-after-free during requeue-PI syzbot managed to trigger the… (CVE-2025-39977)
Description
A use-after-free vulnerability in the Linux kernel's futex subsystem related to requeue-PI operations has been resolved. The issue involves a race condition where futex_wait_requeue_pi() can exit without proper synchronization, leading to use of freed memory. The fix ensures reading futex_q::task before updating the requeue state to maintain valid references during wake-up calls.
CVSS v3.1
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2025-39977 is a use-after-free vulnerability in the Linux kernel's futex implementation during requeue-PI operations. The race condition occurs between two threads where futex_wait_requeue_pi() may leave without using futex_q::lock_ptr for synchronization, causing futex_q to become garbage on the stack. The vulnerability is mitigated by reading futex_q::task before updating futex_q::requeue_state, leveraging the fact that requeue_pi_wake_futex() is called with a spinlock held, which implies a safe RCU read section. This prevents use-after-free by ensuring the task_struct remains valid during wake_up_state() calls.
Potential Impact
Successful exploitation of this vulnerability could lead to use-after-free conditions in the kernel, potentially allowing an attacker with local privileges to cause memory corruption. The CVSS vector indicates high impact on confidentiality, integrity, and availability, meaning it could lead to privilege escalation, arbitrary code execution, or system crashes.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official patch or fix links are provided in the available data. Users should monitor Linux kernel updates and apply official patches once available to address this vulnerability.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-56h7-2ch6-v472
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2025-39977"]
- Ecosystems
- []
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6a6b72d89c2644c7f847be31
Added to database: 07/30/2026, 15:50:48 UTC
Last enriched: 07/30/2026, 15:52:53 UTC
Last updated: 07/30/2026, 16:49:09 UTC
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.