{"id":"CVE-2025-39976","published":"2025-10-15T07:55:57Z","modified":"2026-08-05T12:06:45Z","title":"futex: Use correct exit on failure from futex_hash_allocate_default()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nfutex: Use correct exit on failure from futex_hash_allocate_default()\n\ncopy_process() uses the wrong error exit path from futex_hash_allocate_default().\nAfter exiting from futex_hash_allocate_default(), neither tasklist_lock\nnor siglock has been acquired. The exit label bad_fork_core_free unlocks\nboth of these locks which is wrong.\n\nThe next exit label, bad_fork_cancel_cgroup, is the correct exit.\nsched_cgroup_fork() did not allocate any resources that need to freed.\n\nUse bad_fork_cancel_cgroup on error exit from futex_hash_allocate_default().","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00224,"percentile":0.07674,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/f1635765cd0fdbf27b04d9a50be91a01b5adda13","tags":[]},{"url":"https://git.kernel.org/stable/c/4ec3c15462b9f44562f45723a92e2807746ba7d1","tags":[]}],"priority":{"score":7.0,"factors":[{"name":"EPSS percentile","points":1.53},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 7c4f75a21f636486d2969d9b6680403ea8483539, < f1635765cd0fdbf27b04d9a50be91a01b5adda13",">= 7c4f75a21f636486d2969d9b6680403ea8483539, < 4ec3c15462b9f44562f45723a92e2807746ba7d1"]},{"vendor":"Linux","product":"Linux","versions":["6.16"]}],"euvd":{"id":"EUVD-2025-34596","exploited":false,"provenance":"source"}}