CVE-2026-23415: futex: Fix UaF between futex_key_to_node_opt() and vma_replace_policy()

Published Apr 2, 2026
·
Updated

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

futex: Fix UaF between futexkeytonodeopt() and vmareplacepolicy()

During futexkeytonodeopt() execution, vma->vmpolicy is read under speculative mmap lock and RCU. Concurrently, mbind() may call vmareplacepolicy() which frees the old mempolicy immediately via kmemcachefree().

This creates a race where futexkeytonode() dereferences a freed mempolicy pointer, causing a use-after-free read of mpol->mode.

[ 151.412631] BUG: KASAN: slab-use-after-free in futexkeytonode (kernel/futex/core.c:349) [ 151.414046] Read of size 2 at addr ffff888001c49634 by task e/87

[ 151.415969] Call Trace:

[ 151.416732] asanload2 (mm/kasan/generic.c:271) [ 151.416777] futexkeytonode (kernel/futex/core.c:349) [ 151.416822] getfutexkey (kernel/futex/core.c:374 kernel/futex/core.c:386 kernel/futex/core.c:593)

Fix by adding rcu to mpolput().

Affected Software

11 affected components
Linux Linux kernel
Linux Linux kernel>=6.16.1<6.18.21
Linux Linux kernel>=6.19<6.19.11
Linux Linux kernel=6.16
Linux Linux kernel=7.0-rc1
Linux Linux kernel=7.0-rc2
Linux Linux kernel=7.0-rc3
Linux Linux kernel=7.0-rc4
Linux Linux kernel=7.0-rc5
Linux Linux kernel=7.0-rc6
Linux Linux kernel=7.0-rc7

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Fix the futex UaF by adding RCU to __mpol_put() so that mempolicy objects are not freed while futex_key_to_node_opt() may still dereference them (prevents slab-use-after-free in __futex_key_to_node/kernel/futex/core.c).

    Linux kernel futex/mempolicy code Add RCU to __mpol_put() = enabled
  2. Compensating control

    Consider applying a kernel mitigations strategy that enforces proper speculative mmap locking/RCU behavior between futex_key_to_node_opt() and vma_replace_policy(), to prevent __futex_key_to_node() from dereferencing a freed mempolicy.

Event History

Apr 2, 2026
CVE Published
via MITRE·11:40 AM
Data Sourced
via MITRE·11:40 AM
DescriptionSeverity
Data Sourced
via Red Hat·12:02 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·12:16 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-23415?

CVE-2026-23415 is classified as a moderate severity vulnerability in the Linux kernel.

2

How do I fix CVE-2026-23415?

To fix CVE-2026-23415, update your Linux kernel to version 6.19.11 or later.

3

Which Linux kernel versions are affected by CVE-2026-23415?

CVE-2026-23415 affects Linux kernel versions between 6.16.1 and 6.18.21 and various 7.0 release candidates.

4

What type of vulnerability is CVE-2026-23415?

CVE-2026-23415 is a use-after-free vulnerability related to futex handling in the Linux kernel.

5

Is there a workaround for CVE-2026-23415?

There is no specific workaround for CVE-2026-23415, so it is recommended to apply the kernel update.

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