================================================================== BUG: KCSAN: data-race in generic_fillattr / shmem_unlink write to 0xffff8881256a6280 of 8 bytes by task 7382 on cpu 0: shmem_unlink+0xa2/0x150 mm/shmem.c:2980 vfs_unlink+0x225/0x3e0 fs/namei.c:3991 do_unlinkat+0x32b/0x530 fs/namei.c:4055 __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 read to 0xffff8881256a6280 of 8 bytes by task 7550 on cpu 1: generic_fillattr+0xf5/0x1e0 fs/stat.c:42 vfs_getattr_nosec+0x160/0x170 fs/stat.c:84 vfs_getattr+0x54/0x70 fs/stat.c:118 vfs_statx+0x102/0x190 fs/stat.c:191 vfs_stat include/linux/fs.h:3242 [inline] __do_sys_newstat+0x51/0xb0 fs/stat.c:341 __se_sys_newstat fs/stat.c:337 [inline] __x64_sys_newstat+0x3a/0x50 fs/stat.c:337 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: 7550 Comm: udevd 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: 7550 Comm: udevd 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 generic_fillattr+0xf5/0x1e0 fs/stat.c:42 vfs_getattr_nosec+0x160/0x170 fs/stat.c:84 vfs_getattr+0x54/0x70 fs/stat.c:118 vfs_statx+0x102/0x190 fs/stat.c:191 vfs_stat include/linux/fs.h:3242 [inline] __do_sys_newstat+0x51/0xb0 fs/stat.c:341 __se_sys_newstat fs/stat.c:337 [inline] __x64_sys_newstat+0x3a/0x50 fs/stat.c:337 do_syscall_64+0xcc/0x370 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f1d00ef8c65 Code: 00 00 00 e8 5d 01 00 00 48 83 c4 18 c3 90 90 90 90 90 90 90 90 83 ff 01 48 89 f0 77 18 48 89 c7 48 89 d6 b8 04 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 17 f3 c3 90 48 8b 05 a1 51 2b 00 64 c7 00 16 RSP: 002b:00007ffc2e36f138 EFLAGS: 00000246 ORIG_RAX: 0000000000000004 RAX: ffffffffffffffda RBX: 00007ffc2e36f1d0 RCX: 00007f1d00ef8c65 RDX: 00007ffc2e36f140 RSI: 00007ffc2e36f140 RDI: 00007ffc2e36f1d0 RBP: 000000000134c090 R08: 00007ffc2e36f1e0 R09: 00007f1d00f4f1a0 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000133c250 R13: 0000000000000000 R14: 000000000133c250 R15: 000000000000000b Kernel Offset: disabled Rebooting in 86400 seconds..