[GIT PULL] locking fixes

From: Ingo Molnar

Date: Sat Aug 22 2026 - 17:47:57 EST


Linus,

Please pull the latest locking/urgent Git tree from:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git locking-urgent-2026-08-22

for you to fetch changes up to d8aa5dd97944a72d4a9e3cc79bb80fcac7d6e829:

Miscellaneous futex fixes:

- Series to enforce that 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)

Thanks,

Ingo

------------------>
Hyunwoo Kim (1):
futex: Fix race on the initial mm->futex.phash.ref allocation

Kyle Zeng (1):
futex/pi: Reject cross-mm private futex owners

Peter Zijlstra (1):
futex: Fix might_sleep() warning in futex_pivot_pending()

Thomas Gleixner (3):
futex: Sanitize and document task_struct::futex::state transitions
futex/pi: Plug private futex exec() race
futex: Clean up the redundant exit/exec functions


fs/exec.c | 9 ++--
include/linux/futex.h | 8 ++--
include/linux/sched/mm.h | 10 ++--
include/linux/wait.h | 1 +
include/linux/wait_bit.h | 1 +
kernel/exit.c | 2 +-
kernel/fork.c | 10 +---
kernel/futex/core.c | 104 ++++++++++++++++++++++++++++------------
kernel/futex/pi.c | 121 ++++++++++++++++++++++++++++++++++++-----------
kernel/sched/wait.c | 15 ++++++
kernel/sched/wait_bit.c | 14 ++++--
11 files changed, 214 insertions(+), 81 deletions(-)