[patch 0/3] futex: Prevent inconsistent state and exit race

From: Thomas Gleixner
Date: Thu Sep 02 2021 - 05:49:11 EST


The recent requeue PI changes introduced a condition where a waiter can
escape to user space with inconsistent state and in the worst case exit
before state has been made correct.

The following series addresses this.

Applies on top of

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git locking/urgent

Thanks,

tglx
---
futex.c | 185 +++++++++++++++++++++++++++++++++++++---------------------------
1 file changed, 109 insertions(+), 76 deletions(-)