CVE-2025-39976: futex: Use correct exit on failure from futex_hash_allocate_default()
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().
Security readout for executives and security teams
Plain-English summary
A flaw in Linux process creation can take an incorrect cleanup path when futex allocation fails, attempting to unlock locks that were never acquired. A local, low-privileged user may be able to trigger serious kernel security effects. The supplied CVSS score is 7.8, but the source bundle provides no evidence of active exploitation.
Executive priority
Treat as a high-priority kernel update for exposed multi-user or shared-compute systems. It is not supported as an internet-remote or actively exploited emergency by this bundle. Accelerate patching where untrusted local access exists; otherwise handle through the next expedited kernel maintenance cycle after confirming vendor applicability.
Technical view
When futex_hash_allocate_default() fails inside copy_process(), execution incorrectly jumps to bad_fork_core_free. That label unlocks tasklist_lock and siglock although neither was acquired. The correction redirects failure handling to bad_fork_cancel_cgroup, where no sched_cgroup_fork() resources require release. The supplied vector indicates local access, low complexity, low privileges, no user interaction, and potentially high confidentiality, integrity, and availability impact.
Likely exposure
Exposure is limited to systems running affected Linux kernel versions where an authenticated local user can reach the vulnerable process-creation failure path. The bundle identifies Linux 6.16 through the listed 6.16.10/6.17 boundaries, but its compact version representation is ambiguous. Confirm exact affected and fixed releases with the kernel or distribution vendor.
Exploitation context
The CVSS vector describes a local, low-privilege attack requiring no user interaction. CISA KEV status is false, and the supplied sources do not report exploitation in the wild or provide evidence that exploitation is reliable. Triggering also depends on futex allocation failure during process creation, whose practical conditions are not established in the bundle.
Researcher notes
The defect is an erroneous error-path jump and lock-state mismatch in copy_process(), not a normal futex operation flaw. The bundle does not identify a CWE, concrete trigger conditions, crash signature, exploit primitive, or distribution-specific packages. Researchers should inspect the referenced commits and vendor backports when determining reachability and precise version boundaries.
Mitigation direction
Check the Linux distribution's advisory for affected and fixed package versions.
Upgrade to a vendor-supported kernel containing the referenced correction.
Prioritize multi-user systems where untrusted users have local accounts or workload access.
Apply normal kernel-update reboot procedures so the fixed kernel is actually running.
Validation and detection
Record the running kernel version and distribution package release on each host.
Compare versions against vendor advisories and the two referenced stable-kernel corrections.
Confirm the post-reboot running kernel matches the installed fixed package.
Review local-user and tenant access while remediation remains pending.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2025-39976 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
1CVSS vectors
3Timeline events
0ADP providers
3Source links
CVSS vector scores
1 official score
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.