syzbot


upstream test error: KCSAN: data-race in d_make_discardable / path_lookupat

Status: moderation: reported on 2026/05/09 16:25
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+2cd4ae3e5044e22fe912@syzkaller.appspotmail.com
First crash: 1d13h, last: 1d13h

Sample crash report:
==================================================================
BUG: KCSAN: data-race in d_make_discardable / path_lookupat

write to 0xffff8881007cc780 of 4 bytes by task 3293 on cpu 0:
 d_make_discardable+0x4f/0xa0 fs/dcache.c:984
 simple_unlink+0x68/0x80 fs/libfs.c:808
 shmem_unlink+0x12d/0x140 mm/shmem.c:3981
 vfs_unlink+0x1c7/0x490 fs/namei.c:5498
 filename_unlinkat+0x1e2/0x410 fs/namei.c:5568
 __do_sys_unlink fs/namei.c:5603 [inline]
 __se_sys_unlink+0x2b/0xe0 fs/namei.c:5600
 __x64_sys_unlink+0x1f/0x30 fs/namei.c:5600
 x64_sys_call+0x2eb6/0x3020 arch/x86/include/generated/asm/syscalls_64.h:88
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x12c/0x3b0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

read to 0xffff8881007cc780 of 4 bytes by task 2983 on cpu 1:
 d_managed include/linux/dcache.h:416 [inline]
 step_into fs/namei.c:2135 [inline]
 walk_component fs/namei.c:2284 [inline]
 lookup_last fs/namei.c:2785 [inline]
 path_lookupat+0x1d8/0x500 fs/namei.c:2809
 filename_lookup+0x190/0x390 fs/namei.c:2838
 do_readlinkat+0x74/0x2f0 fs/stat.c:571
 __do_sys_readlink fs/stat.c:605 [inline]
 __se_sys_readlink fs/stat.c:602 [inline]
 __x64_sys_readlink+0x47/0x60 fs/stat.c:602
 x64_sys_call+0x2b51/0x3020 arch/x86/include/generated/asm/syscalls_64.h:90
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x12c/0x3b0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

value changed: 0x08300080 -> 0x00004080

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 UID: 0 PID: 2983 Comm: udevd Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/18/2026
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/05/09 16:25 upstream ec8957276674 29233ece .config console log report [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce upstream test error: KCSAN: data-race in d_make_discardable / path_lookupat
* Struck through repros no longer work on HEAD.