==================================================================
BUG: KCSAN: data-race in futex_wait_queue_me / ptrace_attach
write to 0xffff8880a5997064 of 4 bytes by task 8786 on cpu 1:
freezer_do_not_count include/linux/freezer.h:109 [inline]
freezable_schedule include/linux/freezer.h:171 [inline]
futex_wait_queue_me+0x17d/0x290 kernel/futex.c:2631
futex_wait+0x17e/0x3a0 kernel/futex.c:2737
do_futex+0xe2/0x15b0 kernel/futex.c:3808
__do_sys_futex kernel/futex.c:3869 [inline]
__se_sys_futex kernel/futex.c:3837 [inline]
__x64_sys_futex+0x2dc/0x410 kernel/futex.c:3837
do_syscall_64+0xc7/0x3b0 arch/x86/entry/common.c:295
entry_SYSCALL_64_after_hwframe+0x44/0xa9
read to 0xffff8880a5997064 of 4 bytes by task 8785 on cpu 0:
ptrace_attach+0xd6/0x460 kernel/ptrace.c:384
__do_sys_ptrace kernel/ptrace.c:1262 [inline]
__se_sys_ptrace kernel/ptrace.c:1242 [inline]
__x64_sys_ptrace+0x226/0x270 kernel/ptrace.c:1242
do_syscall_64+0xc7/0x3b0 arch/x86/entry/common.c:295
entry_SYSCALL_64_after_hwframe+0x44/0xa9
Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 8785 Comm: syz-executor.3 Not tainted 5.7.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: 8785 Comm: syz-executor.3 Not tainted 5.7.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+0x11d/0x187 lib/dump_stack.c:118
panic+0x210/0x640 kernel/panic.c:221
kcsan_report.cold+0xc/0x1a kernel/kcsan/report.c:626
kcsan_setup_watchpoint+0x3fb/0x440 kernel/kcsan/core.c:519
ptrace_attach+0xd6/0x460 kernel/ptrace.c:384
__do_sys_ptrace kernel/ptrace.c:1262 [inline]
__se_sys_ptrace kernel/ptrace.c:1242 [inline]
__x64_sys_ptrace+0x226/0x270 kernel/ptrace.c:1242
do_syscall_64+0xc7/0x3b0 arch/x86/entry/common.c:295
entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x45c829
Code: 0d b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 db b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f2ea1430c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000065
RAX: ffffffffffffffda RBX: 00000000004fa640 RCX: 000000000045c829
RDX: 0000000000000000 RSI: 0000000000000057 RDI: 0000000000004206
RBP: 000000000078bf00 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff
R13: 000000000000086e R14: 00000000004cb293 R15: 00007f2ea14316d4
Kernel Offset: disabled
Rebooting in 86400 seconds..