================================================================== BUG: KCSAN: data-race in dequeue_signal / ptrace_check_attach read-write to 0xffff88813e44d500 of 8 bytes by task 11027 on cpu 1: dequeue_signal+0x3c4/0x410 kernel/signal.c:688 get_signal+0x235/0xc70 kernel/signal.c:2739 arch_do_signal_or_restart+0x85/0x290 arch/x86/kernel/signal.c:306 exit_to_user_mode_loop+0x78/0x130 kernel/entry/common.c:168 exit_to_user_mode_prepare kernel/entry/common.c:203 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x6a/0x90 kernel/entry/common.c:296 do_syscall_64+0x37/0x70 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd read to 0xffff88813e44d500 of 8 bytes by task 11020 on cpu 0: ptrace_freeze_traced kernel/ptrace.c:199 [inline] ptrace_check_attach+0x7c/0x280 kernel/ptrace.c:266 __do_sys_ptrace kernel/ptrace.c:1291 [inline] __se_sys_ptrace+0xd4/0x2b0 kernel/ptrace.c:1269 __x64_sys_ptrace+0x51/0x60 kernel/ptrace.c:1269 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd value changed: 0x0000000000000000 -> 0x0000000008010000 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 11020 Comm: syz-executor.2 Not tainted 6.1.0-syzkaller-13872-gb6bb9676f216-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 ==================================================================