[RFC PATCH 0/3] mt-exec: fix deadlock with ptrace_attach()
Oleg Nesterov
oleg at redhat.com
Sun Nov 9 17:14:04 UTC 2025
Not for inclusion yet. 2/2 is untested, incomplete, possibly buggy.
But could you review at least the intent? Do you see any problem with
this approach?
This problem is very, very old. It seems that nobody can suggest a
simple/clean fix...
Oleg.
---
fs/binfmt_elf.c | 4 +-
fs/binfmt_elf_fdpic.c | 4 +-
fs/binfmt_flat.c | 4 +-
fs/exec.c | 142 +++++++++++++++++++++++-------------------------
include/linux/binfmts.h | 2 +-
kernel/exit.c | 9 +--
kernel/signal.c | 6 +-
7 files changed, 87 insertions(+), 84 deletions(-)
More information about the Linux-security-module-archive
mailing list