Bug 2528550 (CVE-2026-80775) - CVE-2026-80775 kernel: futex: Fix race on the initial mm->futex.phash.ref allocation
Summary: CVE-2026-80775 kernel: futex: Fix race on the initial mm->futex.phash.ref all...
Keywords:
Status: NEW
Alias: CVE-2026-80775
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-09-04 15:32 UTC by OSIDB Bzimport
Modified: 2026-10-27 21:30 UTC (History)
18 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2026:74438 0 None None None 2026-10-02 02:50:56 UTC
Red Hat Product Errata RHSA-2026:76738 0 None None None 2026-10-07 20:28:53 UTC
Red Hat Product Errata RHSA-2026:79151 0 None None None 2026-10-20 16:17:15 UTC

Description OSIDB Bzimport 2026-09-04 15:32:37 UTC
In the Linux kernel, the following vulnerability has been resolved:

futex: Fix race on the initial mm->futex.phash.ref allocation

futex_hash_allocate() allocates mm->futex.phash.ref without any locking.
Commit d9b05321e21e ("futex: Move futex_hash_free() back to __mmput()")
moved the allocation here and assumed that the process has just a single
thread at this point.

Commit ee9dce44362b ("futex: Drop CLONE_THREAD requirement for private
default hash alloc") widened need_futex_hash_allocate_default() to cover
any CLONE_VM 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 futex_hash_allocate_default().

When both call prctl(PR_FUTEX_HASH, PR_FUTEX_HASH_SET_SLOTS) 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
__futex_ref_atomic_end(). 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 futex_q_lock().

Store the counter once with cmpxchg() and let the loser free_percpu() 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.

Comment 7 Jon Orris 2026-10-02 02:50:54 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:74438 https://access.redhat.com/errata/RHSA-2026:74438

Comment 9 Jon Orris 2026-10-07 20:28:51 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:76738 https://access.redhat.com/errata/RHSA-2026:76738

Comment 10 Akiyoshi Kurita 2026-10-17 03:22:39 UTC
A public local privilege escalation exploit has been reported for CVE-2026-80775 (Futex private hash use-after-free).

The researcher reports successful root privilege escalation using kernel memory corruption.

PoC and technical details:
https://github.com/V4bel/InfinityCore

Could Red Hat please confirm the current fix status for RHEL 8, 9, and 10, including whether all affected supported kernel variants have received the relevant backports?

If this vulnerability is already fixed, confirmation of the applicable RHSA advisories would be appreciated.

Best regards,
Akiyoshi Kurita
Fedora / EPEL / AlmaLinux Contributor
Linux Kernel Developer

Comment 11 Jon Orris 2026-10-20 16:17:13 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.22

Via RHSA-2026:79151 https://access.redhat.com/errata/RHSA-2026:79151


Note You need to log in before you can comment on or make changes to this bug.