================================================================== BUG: KCSAN: data-race in evict / insert_inode_locked write to 0xffff888125cfd7f8 of 8 bytes by task 8440 on cpu 0: hlist_add_head include/linux/list.h:787 [inline] insert_inode_locked+0x2db/0x3b0 fs/inode.c:1474 __ext4_new_inode+0x1854/0x3070 fs/ext4/ialloc.c:1107 ext4_mkdir+0x289/0x820 fs/ext4/namei.c:2763 vfs_mkdir+0x283/0x390 fs/namei.c:3807 do_mkdirat+0x1ac/0x1f0 fs/namei.c:3830 __do_sys_mkdir fs/namei.c:3846 [inline] __se_sys_mkdir fs/namei.c:3844 [inline] __x64_sys_mkdir+0x40/0x50 fs/namei.c:3844 do_syscall_64+0xcc/0x370 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff888125cfd7f8 of 8 bytes by task 7454 on cpu 1: inode_unhashed include/linux/fs.h:749 [inline] remove_inode_hash include/linux/fs.h:3075 [inline] evict+0x2a0/0x410 fs/inode.c:584 iput_final fs/inode.c:1563 [inline] iput+0x371/0x4e0 fs/inode.c:1589 do_unlinkat+0x378/0x530 fs/namei.c:4061 __do_sys_unlink fs/namei.c:4102 [inline] __se_sys_unlink fs/namei.c:4100 [inline] __x64_sys_unlink+0x3b/0x50 fs/namei.c:4100 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: 7454 Comm: syz-executor.4 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: 1 PID: 7454 Comm: syz-executor.4 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_read8 kernel/kcsan/kcsan.c:36 [inline] __tsan_read8+0x2c/0x30 kernel/kcsan/kcsan.c:36 inode_unhashed include/linux/fs.h:749 [inline] remove_inode_hash include/linux/fs.h:3075 [inline] evict+0x2a0/0x410 fs/inode.c:584 iput_final fs/inode.c:1563 [inline] iput+0x371/0x4e0 fs/inode.c:1589 do_unlinkat+0x378/0x530 fs/namei.c:4061 __do_sys_unlink fs/namei.c:4102 [inline] __se_sys_unlink fs/namei.c:4100 [inline] __x64_sys_unlink+0x3b/0x50 fs/namei.c:4100 do_syscall_64+0xcc/0x370 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x459f67 Code: 00 66 90 b8 58 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 4d b9 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 b8 57 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 2d b9 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fff2dc46938 EFLAGS: 00000246 ORIG_RAX: 0000000000000057 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000459f67 RDX: 00007fff2dc46950 RSI: 00007fff2dc46950 RDI: 00007fff2dc469e0 RBP: 0000000000000055 R08: 0000000000000000 R09: 000000000000000b R10: 0000000000000006 R11: 0000000000000246 R12: 00007fff2dc47a70 R13: 0000000000ba4940 R14: 0000000000000000 R15: 00007fff2dc47a70 Kernel Offset: disabled Rebooting in 86400 seconds..