Commit 0d7859258394 for kernel
commit 0d78592583949b531318b51763ade7ff536ba9bc
Merge: d4fd1603f302 d8aa5dd97944
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date: Sat Aug 22 16:29:20 2026 -0700
Merge tag 'locking-urgent-2026-08-22' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull futex fixes from Ingo Molnar:
- Enforce that the private futex owner shares the mm when attaching
(Kyle Zeng, Thomas Gleixner)
- Fix race on the initial mm->futex.phash.ref allocation (Hyunwoo Kim)
- Fix might_sleep() warning in futex_pivot_pending() (Peter Zijlstra)
* tag 'locking-urgent-2026-08-22' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
futex: Fix might_sleep() warning in futex_pivot_pending()
futex: Fix race on the initial mm->futex.phash.ref allocation
futex: Clean up the redundant exit/exec functions
futex/pi: Plug private futex exec() race
futex: Sanitize and document task_struct::futex::state transitions
futex/pi: Reject cross-mm private futex owners
diff --cc kernel/futex/core.c
index 7ab106616990,f7af97c57d16..51ba5e1257c0
--- a/kernel/futex/core.c
+++ b/kernel/futex/core.c
@@@ -45,7 -45,7 +45,8 @@@
#include <linux/rseq.h>
#include <linux/slab.h>
#include <linux/vmalloc.h>
+#include <linux/kmemleak.h>
+ #include <linux/wait_bit.h>
#include <vdso/futex.h>