{"id":"CVE-2026-80758","summary":"futex: Avoid private hash use-after-free on final put","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nfutex: Avoid private hash use-after-free on final put\n\nfutex_private_hash_put() drops the reference to fph before evaluating\nfph-\u003emm for wake_up_var(). futex_ref_put() enables preemption again before\nreturning. If that put drops the final reference and the task is preempted,\nanother task can pivot to the replacement hash and free the old hash after\nan RCU grace period. The first task then reads fph-\u003emm from the freed\nallocation when it resumes.\n\nKASAN reports a slab-use-after-free in futex_private_hash_put(), with the\nread at offset 24 in a freed kmalloc-512 allocation. The allocation and\nfree stacks point to futex_hash_allocate() and the RCU free path,\nrespectively.\n\nLoad the mm pointer while the fph reference is still held and pass the\nsaved value to wake_up_var(). wake_up_var() uses the pointer as a waitqueue\nkey and does not dereference the mm through it.","modified":"2026-09-06T03:46:43.842055182Z","published":"2026-09-04T15:12:27.689Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80758.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/12cd315a7b6a7d7db3f69d98bfe3909275e9451d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1c7efabfbaf796f11000a46094a69955a01ec6cc"},{"type":"WEB","url":"https://git.kernel.org/stable/c/25408c62ed4ebcd491d0e9e4b4a5b512547512e4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/dba60d26e9dda3e157ad6b0934d4232f6c6904ee"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80758.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-80758"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"bd54df5ea7cadac520e346d5f0fe5d58e635b6ba"},{"fixed":"dba60d26e9dda3e157ad6b0934d4232f6c6904ee"},{"fixed":"12cd315a7b6a7d7db3f69d98bfe3909275e9451d"},{"fixed":"25408c62ed4ebcd491d0e9e4b4a5b512547512e4"},{"fixed":"1c7efabfbaf796f11000a46094a69955a01ec6cc"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80758.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.16.0"},{"fixed":"6.18.47"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.1.11"}]},{"type":"ECOSYSTEM","events":[{"introduced":"7.2.0"},{"fixed":"7.2.1"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80758.json"}}],"schema_version":"1.9.0"}