CVE-2026-80775
Last modified
CVE-2026-80775 is a vulnerability of currently unknown severity. 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.
Description
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.
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= d9b05321e21e4b218de4ce8a590bf375f58b6346, < 86d12b34bafc9a4c271a9edefea88855a934d6e5; >= d9b05321e21e4b218de4ce8a590bf375f58b6346, < ff252ed45c8263525f2f54d81c5fa6d547fba344; >= d9b05321e21e4b218de4ce8a590bf375f58b6346, < c4b4972d8edcdf50b6518f55119e129d2f668a10; >= d9b05321e21e4b218de4ce8a590bf375f58b6346, < bde0238083647381d4747355c5a19115a3422b96 |
| Linux | Linux | 6.17 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-80775?
How severe is CVE-2026-80775?
How do I fix CVE-2026-80775?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-8077Lack of proper authorization implementation in the CashDro 3…8.6
- CVE-2026-80770In the Linux kernel, the following vulnerability has been re…
- CVE-2026-80771In the Linux kernel, the following vulnerability has been re…
- CVE-2026-80772In the Linux kernel, the following vulnerability has been re…
- CVE-2026-80773In the Linux kernel, the following vulnerability has been re…
- CVE-2026-80774In the Linux kernel, the following vulnerability has been re…
- CVE-2026-80776In the Linux kernel, the following vulnerability has been re…
- CVE-2026-80777In the Linux kernel, the following vulnerability has been re…
- CVE-2026-80778In the Linux kernel, the following vulnerability has been re…
- CVE-2026-80779In the Linux kernel, the following vulnerability has been re…
- CVE-2026-8078Stored cross-site scripting in the global settings change lo…4.8
- CVE-2026-80780In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2026-80775?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
