{"id":"CVE-2025-39976","aliases":["CVE-2025-39976"],"related":[],"kind":"vulnerability","state":"published","title":"futex: Use correct exit on failure from futex_hash_allocate_default()","summary":"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().","summarySource":"cvelist","descriptions":[{"lang":"en","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().","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nfutex: Usar la salida correcta en caso de fallo de futex_hash_allocate_default()\n\ncopy_process() utiliza la ruta de salida de error incorrecta de futex_hash_allocate_default(). Después de salir de futex_hash_allocate_default(), ni tasklist_lock ni siglock han sido adquiridos. La etiqueta de salida bad_fork_core_free desbloquea ambos de estos bloqueos, lo cual es incorrecto.\n\nLa siguiente etiqueta de salida, bad_fork_cancel_cgroup, es la salida correcta. sched_cgroup_fork() no asignó ningún recurso que necesite ser liberado.\n\nUsar bad_fork_cancel_cgroup en la salida de error de futex_hash_allocate_default().","source":"nvd"}],"published":"2025-10-15T07:55:57.608Z","modified":"2026-10-19T21:10:00.160Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"7c4f75a21f636486d2969d9b6680403ea8483539","fixed":"f1635765cd0fdbf27b04d9a50be91a01b5adda13","status":"affected"},{"type":"git","introduced":"7c4f75a21f636486d2969d9b6680403ea8483539","fixed":"4ec3c15462b9f44562f45723a92e2807746ba7d1","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.16","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.16","status":"unaffected"},{"type":"semver","introduced":"6.16.10","lastAffected":"6.16.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.17","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/f1635765cd0fdbf27b04d9a50be91a01b5adda13","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4ec3c15462b9f44562f45723a92e2807746ba7d1","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-39976","url":"https://www.cve.org/CVERecord?id=CVE-2025-39976","licence":"CVE Terms of Use","modified":"2026-08-05T12:06:45.033Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-39976","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-39976","licence":"Public domain","modified":"2026-10-19T21:10:00.160Z"}],"updatedAt":"2026-11-25T22:59:06.398Z","epss":{"score":0.00147,"percentile":0.04133,"date":"2026-12-01T12:00:22.000Z"}}