UBUNTU-CVE-2026-80775: Medium severity ubuntu/linux-hwe-edge vulnerability
In the Linux kernel, the following vulnerability has been resolved: futex: Fix race on the initial mm->futex.phash.ref allocation futexhashallocate() allocates mm->futex.phash.ref without any locking. Commit d9b05321e21e ("futex: Move futexhashfree() back to mmput()") moved the allocation here and assumed that the process has just a single thread at this point. Commit ee9dce44362b ("futex: Drop CLONETHREAD requirement for private default hash alloc") widened needfutexhashallocatedefault() to cover any CLONEVM clone, but left out vfork because the parent is suspended and cannot race. That no longer holds once vfork is nested. If a vfork child calls vfork again and is then killed with SIGKILL, the parent is released from its vfork wait and runs concurrently with the grandchild in the same mm. Neither of them went through futexhashallocatedefault(). When both call prctl(PRFUTEXHASH, PRFUTEXHASHSETSLOTS) at the same time, each one sees mm->futex.phash.ref as NULL and stores its own percpu counter. Only the last store survives. The counter stored first is no longer reachable from the mm, so the references on it are not seen by futexrefatomicend(). A private hash that still has references is then considered dead and freed, and a task that still holds one of its buckets writes into freed memory in futexqlock(). Store the counter once with cmpxchg() and let the loser freepercpu() its own. The initial reference has to be taken before the store, otherwise another task can install a private hash while the counter is still 0.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ubuntu/linux-hwe-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-42.42~24.04.1 - Upgrade
Upgrade
ubuntu/linux-riscv-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-42.42.1~24.04.1 - Upgrade
Upgrade
ubuntu/linuxto a version that resolves this vulnerability.Fixed in 7.0.0-42.42 - Upgrade
Upgrade
ubuntu/linux-awsto a version that resolves this vulnerability.Fixed in 7.0.0-1016.17 - Upgrade
Upgrade
ubuntu/linux-gcpto a version that resolves this vulnerability.Fixed in 7.0.0-1016.18 - Upgrade
Upgrade
ubuntu/linux-ibmto a version that resolves this vulnerability.Fixed in 7.0.0-1017.17 - Upgrade
Upgrade
ubuntu/linux-oem-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-1017.17 - Upgrade
Upgrade
ubuntu/linux-oracleto a version that resolves this vulnerability.Fixed in 7.0.0-1015.16 - Upgrade
Upgrade
ubuntu/linux-riscvto a version that resolves this vulnerability.Fixed in 7.0.0-42.42.1
Event History
Frequently Asked Questions
What conditions are required to trigger the race?
The scenario requires nested vfork use: a vfork child creates another vfork child, then is killed with SIGKILL so that its parent runs concurrently with the grandchild in the same memory map. Both processes must then concurrently call prctl(PR_FUTEX_HASH, PR_FUTEX_HASH_SET_SLOTS).
Which Ubuntu kernel packages are identified in the available data?
The listed packages are ubuntu/linux-riscv, ubuntu/linux-realtime, ubuntu/linux-hwe-edge, ubuntu/linux-azure, ubuntu/linux-gcp, ubuntu/linux-azure-fde, ubuntu/linux-gke, and ubuntu/linux-aws-5.0.
Does the available information identify fixed package versions or a workaround?
No. The provided data says the kernel issue has been resolved and includes an upstream commit reference, but it does not provide Ubuntu fixed versions, release status, or a mitigation for systems that cannot be patched immediately.