================================================================== BUG: KCSAN: data-race in set_nlink / set_nlink read to 0xffff8881072cf440 of 4 bytes by task 2978 on cpu 0: set_nlink+0x29/0xb0 fs/inode.c:-1 kernfs_refresh_inode fs/kernfs/inode.c:179 [inline] kernfs_iop_permission+0x1e5/0x220 fs/kernfs/inode.c:287 do_inode_permission fs/namei.c:583 [inline] inode_permission+0x2b4/0x3c0 fs/namei.c:653 lookup_inode_permission_may_exec fs/namei.c:-1 [inline] may_lookup fs/namei.c:1967 [inline] link_path_walk+0x881/0xde0 fs/namei.c:2610 path_lookupat+0x53/0x4c0 fs/namei.c:2818 filename_lookup+0x18f/0x390 fs/namei.c:2848 vfs_statx+0x96/0x170 fs/stat.c:357 vfs_fstatat+0x118/0x170 fs/stat.c:377 __do_sys_newfstatat fs/stat.c:542 [inline] __se_sys_newfstatat+0x55/0x3e0 fs/stat.c:536 __x64_sys_newfstatat+0x55/0x70 fs/stat.c:536 x64_sys_call+0xee6/0x2550 arch/x86/include/generated/asm/syscalls_64.h:263 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x121/0x390 arch/x86/entry/syscall_64.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f write to 0xffff8881072cf440 of 4 bytes by task 3283 on cpu 1: set_nlink+0x99/0xb0 fs/inode.c:449 kernfs_refresh_inode fs/kernfs/inode.c:179 [inline] kernfs_iop_permission+0x1e5/0x220 fs/kernfs/inode.c:287 do_inode_permission fs/namei.c:583 [inline] inode_permission+0x2b4/0x3c0 fs/namei.c:653 lookup_inode_permission_may_exec fs/namei.c:-1 [inline] may_lookup fs/namei.c:1967 [inline] link_path_walk+0x881/0xde0 fs/namei.c:2610 path_openat+0x142/0x11c0 fs/namei.c:5012 do_file_open+0x16c/0x290 fs/namei.c:5045 do_sys_openat2+0xa1/0x140 fs/open.c:1443 do_sys_open fs/open.c:1449 [inline] __do_sys_openat fs/open.c:1465 [inline] __se_sys_openat fs/open.c:1460 [inline] __x64_sys_openat+0xf2/0x120 fs/open.c:1460 x64_sys_call+0x1f72/0x2550 arch/x86/include/generated/asm/syscalls_64.h:258 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x121/0x390 arch/x86/entry/syscall_64.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x00000008 -> 0x00000009 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 3283 Comm: udevd Not tainted syzkaller #0 PREEMPT(lazy) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026 ================================================================== udevd[3283]: inotify_add_watch(7, /dev/loop2p1, 10) failed: No such file or directory udevd[3283]: inotify_add_watch(7, /dev/loop0p1, 10) failed: No such file or directory udevd[3283]: inotify_add_watch(7, /dev/loop0p1, 10) failed: No such file or directory