================================================================== BUG: KCSAN: data-race in mem_cgroup_select_victim_node / mem_cgroup_select_victim_node read to 0xffff8880b0b839b0 of 4 bytes by task 26336 on cpu 1: mem_cgroup_select_victim_node+0x92/0x3d0 mm/memcontrol.c:1675 try_to_free_mem_cgroup_pages+0x175/0x4c0 mm/vmscan.c:3376 reclaim_high.constprop.0+0xf7/0x140 mm/memcontrol.c:2349 mem_cgroup_handle_over_high+0x96/0x180 mm/memcontrol.c:2430 tracehook_notify_resume include/linux/tracehook.h:197 [inline] exit_to_usermode_loop+0x20c/0x2c0 arch/x86/entry/common.c:163 prepare_exit_to_usermode arch/x86/entry/common.c:194 [inline] syscall_return_slowpath+0x20f/0x220 arch/x86/entry/common.c:274 ret_from_fork+0x15/0x30 arch/x86/entry/entry_64.S:344 write to 0xffff8880b0b839b0 of 4 bytes by task 7232 on cpu 0: mem_cgroup_select_victim_node+0xb5/0x3d0 mm/memcontrol.c:1686 try_to_free_mem_cgroup_pages+0x175/0x4c0 mm/vmscan.c:3376 reclaim_high.constprop.0+0xf7/0x140 mm/memcontrol.c:2349 mem_cgroup_handle_over_high+0x96/0x180 mm/memcontrol.c:2430 tracehook_notify_resume include/linux/tracehook.h:197 [inline] exit_to_usermode_loop+0x20c/0x2c0 arch/x86/entry/common.c:163 prepare_exit_to_usermode arch/x86/entry/common.c:194 [inline] syscall_return_slowpath arch/x86/entry/common.c:274 [inline] do_syscall_64+0x353/0x370 arch/x86/entry/common.c:300 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 7232 Comm: syz-executor.1 Not tainted 5.4.0-rc3+ #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: 7232 Comm: syz-executor.1 Not tainted 5.4.0-rc3+ #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+0xf5/0x159 lib/dump_stack.c:113 panic+0x210/0x640 kernel/panic.c:221 kcsan_report.cold+0xc/0x10 kernel/kcsan/report.c:302 __kcsan_setup_watchpoint+0x32e/0x4a0 kernel/kcsan/core.c:411 __tsan_write4 kernel/kcsan/kcsan.c:35 [inline] __tsan_write4+0x32/0x40 kernel/kcsan/kcsan.c:35 mem_cgroup_select_victim_node+0xb5/0x3d0 mm/memcontrol.c:1686 try_to_free_mem_cgroup_pages+0x175/0x4c0 mm/vmscan.c:3376 reclaim_high.constprop.0+0xf7/0x140 mm/memcontrol.c:2349 mem_cgroup_handle_over_high+0x96/0x180 mm/memcontrol.c:2430 tracehook_notify_resume include/linux/tracehook.h:197 [inline] exit_to_usermode_loop+0x20c/0x2c0 arch/x86/entry/common.c:163 prepare_exit_to_usermode arch/x86/entry/common.c:194 [inline] syscall_return_slowpath arch/x86/entry/common.c:274 [inline] do_syscall_64+0x353/0x370 arch/x86/entry/common.c:300 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45851a Code: f7 d8 64 89 04 25 d4 02 00 00 64 4c 8b 0c 25 10 00 00 00 31 d2 4d 8d 91 d0 02 00 00 31 f6 bf 11 00 20 01 b8 38 00 00 00 0f 05 <48> 3d 00 f0 ff ff 0f 87 f5 00 00 00 85 c0 41 89 c5 0f 85 fc 00 00 RSP: 002b:00007fff4e91a900 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 RAX: 0000000000000638 RBX: 00007fff4e91a900 RCX: 000000000045851a RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011 RBP: 00007fff4e91a940 R08: 0000000000000001 R09: 0000000002a52940 R10: 0000000002a52c10 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000000 R15: 00007fff4e91a990 Kernel Offset: disabled Rebooting in 86400 seconds..