CVE-2026-80758: futex: Avoid private hash use-after-free on final put

Published Sep 4, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

futex: Avoid private hash use-after-free on final put

futexprivatehashput() drops the reference to fph before evaluating fph->mm for wakeupvar(). futexrefput() enables preemption again before returning. If that put drops the final reference and the task is preempted, another task can pivot to the replacement hash and free the old hash after an RCU grace period. The first task then reads fph->mm from the freed allocation when it resumes.

KASAN reports a slab-use-after-free in futexprivatehashput(), with the read at offset 24 in a freed kmalloc-512 allocation. The allocation and free stacks point to futexhashallocate() and the RCU free path, respectively.

Load the mm pointer while the fph reference is still held and pass the saved value to wakeupvar(). wakeupvar() uses the pointer as a waitqueue key and does not dereference the mm through it.

Affected Software

1 affected component
Linux Kernel

Event History

Sep 4, 2026
CVE Published
via MITRE·03:12 PM
Data Sourced
via MITRE·03:12 PM
Description

Frequently Asked Questions

1

What conditions are needed to trigger the race?

The final reference to a private futex hash must be dropped, the task must be preempted after references are released, and another task must switch to a replacement hash and free the old hash after an RCU grace period before the first task resumes.

2

How might an affected system present during testing?

KASAN can report a slab use-after-free in futex_private_hash_put(), involving a read at offset 24 of a freed kmalloc-512 allocation. The relevant allocation and free paths point to futex_hash_allocate() and the RCU free path.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203