CVE-2026-80776
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
04/09/2026
Last modified:
04/09/2026
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
futex: Fix race in futex_pivot_pending() during private hash resize<br />
<br />
A task performing a custom private hash resize can remain blocked in<br />
uninterruptible sleep indefinitely. The hung-task detector reports:<br />
<br />
INFO: task futex-resizer:314 blocked for more than 10 seconds.<br />
task:futex-resizer state:D stack:14824 pid:314 tgid:312 ppid:311<br />
<br />
Call Trace:<br />
__schedule+0x521/0xf30<br />
schedule+0x22/0xa0<br />
futex_hash_allocate+0x3db/0x490<br />
__do_sys_prctl+0x6f5/0xbd0<br />
do_syscall_64+0xf9/0x530<br />
entry_SYSCALL_64_after_hwframe+0x77/0x7f<br />
<br />
Kernel panic - not syncing: hung_task: blocked tasks<br />
<br />
futex_pivot_pending() allows the resize request to continue when<br />
either no replacement hash is pending (hash_new == NULL) or the current<br />
hash reference count has reached zero.<br />
<br />
After the final-reference wake, another futex task can complete the<br />
pivot between the two observations:<br />
<br />
T1 T2<br />
<br />
futex_hash_allocate()<br />
wait_var_event(mm, ...)<br />
futex_pivot_pending(mm)<br />
hash_new != NULL<br />
futex_hash()<br />
futex_ref_get(old) -> false<br />
futex_pivot_hash(mm)<br />
hash_new = NULL<br />
__futex_pivot_hash(mm, new)<br />
rcu_assign_pointer(hash, new)<br />
fph = rcu_dereference(hash) /* new */<br />
futex_ref_is_dead(fph) -> false<br />
schedule()<br />
<br />
The pivot changes the state from hash_new != NULL with a dead current<br />
hash to hash_new == NULL with a live current hash. Because<br />
futex_pivot_pending() reads hash_new and hash without serialization,<br />
the resize task can observe hash_new in the pre-pivot state and hash in<br />
the post-pivot state, causing futex_pivot_pending() to return false even<br />
though the pivot has completed. The task then goes to sleep after the<br />
wakeup has already been consumed.<br />
<br />
Serialize state reads in futex_pivot_pending() using futex_mm_phash::lock.<br />
This guarantees that futex_pivot_pending() observes hash_new and hash<br />
atomically, eliminating the race condition.


