================================================================== BUG: KCSAN: data-race in get_signal / ptrace_check_attach write to 0xffff88808ec844c8 of 8 bytes by task 27583 on cpu 1: ptrace_signal kernel/signal.c:2489 [inline] get_signal+0x7f4/0x1520 kernel/signal.c:2635 do_signal+0x25/0x270 arch/x86/kernel/signal.c:810 exit_to_usermode_loop arch/x86/entry/common.c:212 [inline] __prepare_exit_to_usermode+0x129/0x230 arch/x86/entry/common.c:246 __syscall_return_slowpath arch/x86/entry/common.c:329 [inline] do_syscall_64+0xb9/0x120 arch/x86/entry/common.c:368 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff88808ec844c8 of 8 bytes by task 27584 on cpu 0: ptrace_freeze_traced kernel/ptrace.c:178 [inline] ptrace_check_attach+0xd8/0x220 kernel/ptrace.c:247 __do_sys_ptrace kernel/ptrace.c:1272 [inline] __se_sys_ptrace+0xdb/0x2d0 kernel/ptrace.c:1242 __x64_sys_ptrace+0x51/0x60 kernel/ptrace.c:1242 do_syscall_64+0x71/0x120 arch/x86/entry/common.c:359 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 27584 Comm: syz-executor.4 Not tainted 5.8.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ================================================================== Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 27584 Comm: syz-executor.4 Not tainted 5.8.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x10f/0x19d lib/dump_stack.c:118 panic+0x1f8/0x63a kernel/panic.c:231 kcsan_report+0x684/0x690 kernel/kcsan/report.c:626 kcsan_setup_watchpoint+0x453/0x4d0 kernel/kcsan/core.c:519 ptrace_freeze_traced kernel/ptrace.c:178 [inline] ptrace_check_attach+0xd8/0x220 kernel/ptrace.c:247 __do_sys_ptrace kernel/ptrace.c:1272 [inline] __se_sys_ptrace+0xdb/0x2d0 kernel/ptrace.c:1242 __x64_sys_ptrace+0x51/0x60 kernel/ptrace.c:1242 do_syscall_64+0x71/0x120 arch/x86/entry/common.c:359 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45ca59 Code: Bad RIP value. RSP: 002b:00007f82bb9fdc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000065 RAX: ffffffffffffffda RBX: 00000000004fb5a0 RCX: 000000000045ca59 RDX: 0000000000000000 RSI: 00000000000017e1 RDI: 000000000000000d RBP: 000000000078bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000020000080 R11: 0000000000000246 R12: 00000000ffffffff R13: 000000000000088c R14: 00000000004cb72d R15: 00007f82bb9fe6d4 Shutting down cpus with NMI Kernel Offset: disabled Rebooting in 86400 seconds..