Skip to contentSkip to conversation

locking fixes

GIT PULL Merged Ingo Molnar 2 participants 2 messages Aug 22

lore
Share & tools
lore
#0 lore raw

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(-)
merge bot Merged
#1 lore raw
The pull request you sent on Sat, 22 Aug 2026 23:47:46 +0200:

The pull request you sent on Sat, 22 Aug 2026 23:47:46 +0200:

Quoted 1 line

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

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/0d78592583949b531318b51763ade7ff536ba9bc

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html