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-03-10T21:49:14.511041Z
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

Affected versions

v6.*
v6.15
v6.15-rc5
v6.15-rc6
v6.15-rc7
v6.16
v6.16-rc1
v6.16-rc2
v6.16-rc3
v6.16-rc4
v6.16-rc5
v6.16-rc6
v6.16-rc7
v6.16.1
v6.16.2
v6.16.3
v6.16.4
v6.16.5
v6.16.6
v6.16.7
v6.16.8
v6.16.9
v6.17-rc1
v6.17-rc2
v6.17-rc3
v6.17-rc4
v6.17-rc5
v6.17-rc6

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"