[GIT PULL] Landlock fixes for v7.4-rc6
From: Mickaël Salaün
Date: Thu Dec 03 2026 - 14:22:54 EST
Hi,
This fixes a Landlock issue where TSYNC could hold exec_update_lock
indefinitely while waiting for sibling threads. A per-process flag now
serializes TSYNC calls instead.
Please pull these changes for v7.4-rc6 . This commit merges cleanly
with your master branch. Kernel changes have been tested in the latest
linux-next releases.
Test coverage for security/landlock is 91.9% of 2911 lines according to
LLVM 23, and it was 91.8% of 2894 lines before this PR.
Regards,
Mickaël
--
The following changes since commit b6a9fa34ce4187cb69d3c588a4bbffc31ce5db8f:
Linux 7.4-rc4 (2026-11-22 14:57:40 -0800)
are available in the Git repository at:
https://git.kernel.org/pub/scm/linux/kernel/git/mic/linux.git tags/landlock-7.4-rc6
for you to fetch changes up to e39d4badb631f2b1fe6dafd4e988cd2da81a6b9b:
landlock: Do not hold exec_update_lock across the TSYNC wait (2026-11-30 15:39:10 +0100)
----------------------------------------------------------------
Landlock fixes for v7.4-rc6
----------------------------------------------------------------
Mickaël Salaün (1):
landlock: Do not hold exec_update_lock across the TSYNC wait
include/linux/sched/signal.h | 1 +
security/landlock/tsync.c | 140 +++++++++++++++++++++++++++++++++++++++----
2 files changed, 128 insertions(+), 13 deletions(-)