================================================================== BUG: KCSAN: data-race in ptrace_resume / wait_consider_task write to 0xffff8881422d04d0 of 4 bytes by task 24505 on cpu 0: ptrace_resume+0x19b/0x1c0 kernel/ptrace.c:883 ptrace_request+0x8d0/0x12e0 arch_ptrace+0x57/0x230 arch/x86/kernel/ptrace.c:829 __do_sys_ptrace kernel/ptrace.c:1312 [inline] __se_sys_ptrace+0xf8/0x1b0 kernel/ptrace.c:1277 __x64_sys_ptrace+0x51/0x60 kernel/ptrace.c:1277 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff8881422d04d0 of 4 bytes by task 24477 on cpu 1: wait_task_stopped kernel/exit.c:1180 [inline] wait_consider_task+0xb5c/0x1a10 kernel/exit.c:1371 ptrace_do_wait kernel/exit.c:1411 [inline] do_wait+0x1f4/0x640 kernel/exit.c:1518 kernel_wait4+0x14b/0x1b0 kernel/exit.c:1677 __do_sys_wait4 kernel/exit.c:1705 [inline] __se_sys_wait4 kernel/exit.c:1701 [inline] __x64_sys_wait4+0x90/0x120 kernel/exit.c:1701 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae value changed: 0x00000034 -> 0x00000000 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 24477 Comm: syz-executor.1 Tainted: G W 5.14.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================