================================================================== BUG: KCSAN: data-race in __fsnotify_parent / d_shrink_del write to 0xffff8881256b0d80 of 4 bytes by task 8173 on cpu 0: d_shrink_del+0xd4/0x180 fs/dcache.c:421 shrink_dentry_list+0x125/0x1c0 fs/dcache.c:1107 shrink_dcache_sb+0x107/0x1d0 fs/dcache.c:1240 reconfigure_super+0x525/0x570 fs/super.c:938 do_remount fs/namespace.c:2553 [inline] do_mount+0x1136/0x14f0 fs/namespace.c:3133 ksys_mount+0xe8/0x160 fs/namespace.c:3351 __do_sys_mount fs/namespace.c:3365 [inline] __se_sys_mount fs/namespace.c:3362 [inline] __x64_sys_mount+0x70/0x90 fs/namespace.c:3362 do_syscall_64+0xcc/0x370 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff8881256b0d80 of 4 bytes by task 8179 on cpu 1: __fsnotify_parent+0x55/0x230 fs/notify/fsnotify.c:151 fsnotify_parent include/linux/fsnotify.h:40 [inline] fsnotify_path include/linux/fsnotify.h:50 [inline] fsnotify_perm include/linux/fsnotify.h:85 [inline] security_file_open+0x156/0x210 security/security.c:1501 do_dentry_open+0x211/0x970 fs/open.c:784 vfs_open+0x62/0x80 fs/open.c:914 do_last fs/namei.c:3408 [inline] path_openat+0xf73/0x36e0 fs/namei.c:3525 do_filp_open+0x11e/0x1b0 fs/namei.c:3555 do_sys_open+0x3b3/0x4f0 fs/open.c:1097 __do_sys_open fs/open.c:1115 [inline] __se_sys_open fs/open.c:1110 [inline] __x64_sys_open+0x55/0x70 fs/open.c:1110 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: 8179 Comm: modprobe Not tainted 5.4.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================