CVE-2025-39976
futex: Use correct exit on failure from futex_hash_allocate_default()
Mitigation
- Upgrade Linux to 4ec3c15462b9f44562f45723a92e2807746ba7d1 or later.
Who should check
- Anyone running Linux >= 7c4f75a21f636486d2969d9b6680403ea8483539, < f1635765cd0fdbf27b04d9a50be91a01b5adda13; >= 7c4f75a21f636486d2969d9b6680403ea8483539, < 4ec3c15462b9f44562f45723a92e2807746ba7d1
- Anyone running Linux 6.16
Vulnerability facts
- Affected
- Linux >= 7c4f75a21f636486d2969d9b6680403ea8483539, < f1635765cd0fdbf27b04d9a50be91a01b5adda13; >= 7c4f75a21f636486d2969d9b6680403ea8483539, < 4ec3c15462b9f44562f45723a92e2807746ba7d1; Linux 6.16
- Fixed in
- Linux 4ec3c15462b9f44562f45723a92e2807746ba7d1
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.22% chance of exploitation in 30 days (percentile 8, 2026-11-26)
- Modified
Description
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().
Affected and fixed versions
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-39976. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-39976.md Affected: Linux >= 7c4f75a21f636486d2969d9b6680403ea8483539, < f1635765cd0fdbf27b04d9a50be91a01b5adda13; >= 7c4f75a21f636486d2969d9b6680403ea8483539, < 4ec3c15462b9f44562f45723a92e2807746ba7d1; Linux 6.16 Fixed in: Linux 4ec3c15462b9f44562f45723a92e2807746ba7d1 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-39976 being exploited?
There is no confirmed exploitation: CVE-2025-39976 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-39976?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2025-39976?
Linux >= 7c4f75a21f636486d2969d9b6680403ea8483539, < f1635765cd0fdbf27b04d9a50be91a01b5adda13; >= 7c4f75a21f636486d2969d9b6680403ea8483539, < 4ec3c15462b9f44562f45723a92e2807746ba7d1; Linux 6.16.
Is there a fix for CVE-2025-39976?
Yes. Fixed in Linux 4ec3c15462b9f44562f45723a92e2807746ba7d1. Upgrade Linux to 4ec3c15462b9f44562f45723a92e2807746ba7d1 or later.
How do I check if I'm affected by CVE-2025-39976?
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.