==================================================================
BUG: KCSAN: data-race in generic_fillattr / shmem_rename2
read to 0xffff888126844698 of 16 bytes by task 4028 on cpu 1:
generic_fillattr+0x16a/0x1e0 fs/stat.c:45
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:3188 [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+0xcf/0x2f0 arch/x86/entry/common.c:296
entry_SYSCALL_64_after_hwframe+0x44/0xa9
write to 0xffff888126844698 of 16 bytes by task 4027 on cpu 0:
shmem_rename2+0x1b7/0x4a0 mm/shmem.c:3072
vfs_rename+0x87d/0x10b0 fs/namei.c:4477
do_renameat2+0x9e3/0xa50 fs/namei.c:4627
__do_sys_rename fs/namei.c:4673 [inline]
__se_sys_rename fs/namei.c:4671 [inline]
__x64_sys_rename+0x47/0x60 fs/namei.c:4671
do_syscall_64+0xcf/0x2f0 arch/x86/entry/common.c:296
entry_SYSCALL_64_after_hwframe+0x44/0xa9
Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 4027 Comm: udevd Not tainted 5.3.0+ #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: 4027 Comm: udevd Not tainted 5.3.0+ #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+0x209/0x639 kernel/panic.c:219
kcsan_report.cold+0xc/0x1b kernel/kcsan/report.c:303
__kcsan_setup_watchpoint+0x3ee/0x510 kernel/kcsan/core.c:455
__tsan_write16 kernel/kcsan/kcsan.c:32 [inline]
__tsan_write16+0x32/0x40 kernel/kcsan/kcsan.c:32
shmem_rename2+0x1b7/0x4a0 mm/shmem.c:3072
vfs_rename+0x87d/0x10b0 fs/namei.c:4477
do_renameat2+0x9e3/0xa50 fs/namei.c:4627
__do_sys_rename fs/namei.c:4673 [inline]
__se_sys_rename fs/namei.c:4671 [inline]
__x64_sys_rename+0x47/0x60 fs/namei.c:4671
do_syscall_64+0xcf/0x2f0 arch/x86/entry/common.c:296
entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x7f1050b6b527
Code: 32 00 64 83 38 15 74 07 b8 ff ff ff ff 5b c3 48 89 df e8 1c c1 07 00 85 c0 75 ed 31 c0 eb d3 90 90 90 90 b8 52 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d e1 f8 32 00 31 d2 48 29 c2 64
RSP: 002b:00007ffcf22a1c88 EFLAGS: 00000246 ORIG_RAX: 0000000000000052
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f1050b6b527
RDX: 00007f1050e9ce98 RSI: 00007ffcf22a1cc0 RDI: 00007ffcf22a20c0
RBP: 0000000001644fd0 R08: 00007f10514de7a0 R09: 0000000000000001
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000001645360
R13: 0000000001635250 R14: 00007ffcf22a1cc0 R15: 0000000000000001
Kernel Offset: disabled
Rebooting in 86400 seconds..