================================================================== BUG: KCSAN: data-race in __mark_inode_dirty / iput write to 0xffff88810b91d208 of 8 bytes by task 4849 on cpu 1: __mark_inode_dirty+0x222/0x6f0 fs/fs-writeback.c:2312 generic_update_time fs/inode.c:1766 [inline] update_time fs/inode.c:1779 [inline] touch_atime+0x1b3/0x2d0 fs/inode.c:1850 do_readlinkat+0x15d/0x200 fs/stat.c:428 __do_sys_readlink fs/stat.c:450 [inline] __se_sys_readlink fs/stat.c:447 [inline] __x64_sys_readlink+0x43/0x50 fs/stat.c:447 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff88810b91d208 of 8 bytes by task 11181 on cpu 0: iput+0x2e/0x520 fs/inode.c:1670 do_unlinkat+0x2e9/0x4f0 fs/namei.c:4103 __do_sys_unlink fs/namei.c:4143 [inline] __se_sys_unlink fs/namei.c:4141 [inline] __x64_sys_unlink+0x2c/0x30 fs/namei.c:4141 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xae Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 11181 Comm: systemd-udevd Not tainted 5.12.0-rc2-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: 0 PID: 11181 Comm: systemd-udevd Not tainted 5.12.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x137/0x19d lib/dump_stack.c:120 panic+0x1e7/0x5fa kernel/panic.c:231 kcsan_report+0x67b/0x680 kernel/kcsan/report.c:634 kcsan_setup_watchpoint+0x40b/0x470 kernel/kcsan/core.c:564 iput+0x2e/0x520 fs/inode.c:1670 do_unlinkat+0x2e9/0x4f0 fs/namei.c:4103 __do_sys_unlink fs/namei.c:4143 [inline] __se_sys_unlink fs/namei.c:4141 [inline] __x64_sys_unlink+0x2c/0x30 fs/namei.c:4141 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f614bfc80e7 Code: f0 ff ff 73 01 c3 48 8b 0d ae bd 2b 00 f7 d8 64 89 01 48 83 c8 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 73 01 c3 48 8b 0d 81 bd 2b 00 f7 d8 64 89 01 48 RSP: 002b:00007fff5267c098 EFLAGS: 00000293 ORIG_RAX: 0000000000000057 RAX: ffffffffffffffda RBX: 00005558ff655720 RCX: 00007f614bfc80e7 RDX: 00007fff5267c0b3 RSI: 00005558feb877dc RDI: 00007fff5267c0a0 RBP: 00000000000000ce R08: 0000000000000001 R09: 0000000000000013 R10: 0000000000000064 R11: 0000000000000293 R12: 00007fff5267c1b0 R13: 00005558ff655720 R14: 0000000000000003 R15: 000000000000000e Kernel Offset: disabled Rebooting in 86400 seconds..