CVE-2025-39976

Source
https://cve.org/CVERecord?id=CVE-2025-39976
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-39976.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-39976
Downstream
Published
2025-10-15T07:55:57.608Z
Modified
2026-08-12T03:51:45.716638900Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
futex: Use correct exit on failure from futex_hash_allocate_default()
Details

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

futex: Use correct exit on failure from futexhashallocate_default()

copyprocess() uses the wrong error exit path from futexhashallocatedefault(). After exiting from futexhashallocatedefault(), neither tasklistlock nor siglock has been acquired. The exit label badforkcore_free unlocks both of these locks which is wrong.

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

Use badforkcancelcgroup on error exit from futexhashallocatedefault().

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39976.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
7c4f75a21f636486d2969d9b6680403ea8483539
Fixed
f1635765cd0fdbf27b04d9a50be91a01b5adda13
Fixed
4ec3c15462b9f44562f45723a92e2807746ba7d1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-39976.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.16.0
Fixed
6.16.10

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-39976.json"