================================================================== BUG: KCSAN: data-race in copy_process / mm_update_next_owner read to 0xffff888120dbf0e4 of 4 bytes by task 11972 on cpu 0: mm_update_next_owner+0x29f/0x460 kernel/exit.c:389 exit_mm kernel/exit.c:484 [inline] do_exit+0x4c1/0x18f0 kernel/exit.c:804 do_group_exit+0xb4/0x1c0 kernel/exit.c:921 __do_sys_exit_group kernel/exit.c:932 [inline] __se_sys_exit_group kernel/exit.c:930 [inline] __x64_sys_exit_group+0x2e/0x30 kernel/exit.c:930 do_syscall_64+0xcc/0x370 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 write to 0xffff888120dbf0e4 of 4 bytes by task 11963 on cpu 1: copy_process+0x916/0x3b50 kernel/fork.c:1882 _do_fork+0xfe/0x6e0 kernel/fork.c:2366 __do_sys_clone kernel/fork.c:2521 [inline] __se_sys_clone kernel/fork.c:2502 [inline] __x64_sys_clone+0x12b/0x160 kernel/fork.c:2502 do_syscall_64+0xcc/0x370 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 11963 Comm: syz-executor.1 Not tainted 5.4.0-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: 1 PID: 11963 Comm: syz-executor.1 Not tainted 5.4.0-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/0x181 lib/dump_stack.c:118 panic+0x210/0x640 kernel/panic.c:221 kcsan_report.cold+0xc/0xd kernel/kcsan/report.c:315 kcsan_setup_watchpoint+0x3fe/0x460 kernel/kcsan/core.c:423 check_access kernel/kcsan/core.c:466 [inline] __tsan_write4 kernel/kcsan/core.c:595 [inline] __tsan_unaligned_write4+0xc4/0x100 kernel/kcsan/core.c:595 copy_process+0x916/0x3b50 kernel/fork.c:1882 _do_fork+0xfe/0x6e0 kernel/fork.c:2366 __do_sys_clone kernel/fork.c:2521 [inline] __se_sys_clone kernel/fork.c:2502 [inline] __x64_sys_clone+0x12b/0x160 kernel/fork.c:2502 do_syscall_64+0xcc/0x370 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45d0c9 Code: ff 48 85 f6 0f 84 d7 8c fb ff 48 83 ee 10 48 89 4e 08 48 89 3e 48 89 d7 4c 89 c2 4d 89 c8 4c 8b 54 24 08 b8 38 00 00 00 0f 05 <48> 85 c0 0f 8c ae 8c fb ff 74 01 c3 31 ed 48 f7 c7 00 00 01 00 75 RSP: 002b:00007ffe9e42fee8 EFLAGS: 00000202 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 00007f2fa1bb7700 RCX: 000000000045d0c9 RDX: 00007f2fa1bb79d0 RSI: 00007f2fa1bb6db0 RDI: 00000000003d0f00 RBP: 00007ffe9e430100 R08: 00007f2fa1bb7700 R09: 00007f2fa1bb7700 R10: 00007f2fa1bb79d0 R11: 0000000000000202 R12: 0000000000000000 R13: 00007ffe9e42ff9f R14: 00007f2fa1bb79c0 R15: 000000000075bfd4 Kernel Offset: disabled Rebooting in 86400 seconds..