================================================================== BUG: KCSAN: data-race in dequeue_signal / ptrace_check_attach read-write to 0xffff88813b32e680 of 8 bytes by task 6377 on cpu 1: dequeue_signal+0x3ca/0x420 kernel/signal.c:693 get_signal+0x349/0xff0 kernel/signal.c:2761 arch_do_signal_or_restart+0x89/0x2a0 arch/x86/kernel/signal.c:308 exit_to_user_mode_loop+0x6f/0xe0 kernel/entry/common.c:168 exit_to_user_mode_prepare+0x6c/0xb0 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline] syscall_exit_to_user_mode+0x26/0x140 kernel/entry/common.c:297 do_syscall_64+0x4d/0xc0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd read to 0xffff88813b32e680 of 8 bytes by task 6372 on cpu 0: ptrace_freeze_traced kernel/ptrace.c:200 [inline] ptrace_check_attach+0x7e/0x280 kernel/ptrace.c:267 __do_sys_ptrace kernel/ptrace.c:1300 [inline] __se_sys_ptrace+0xd4/0x2a0 kernel/ptrace.c:1278 __x64_sys_ptrace+0x55/0x60 kernel/ptrace.c:1278 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 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: 6372 Comm: syz-executor.4 Not tainted 6.5.0-rc4-syzkaller-00041-gec351c8f2e62 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 ==================================================================