syzbot


KCSAN: data-race in d_delete / lookup_fast (3)

Status: auto-closed as invalid on 2021/02/28 15:17
Subsystems: fs
[Documentation on labels]
First crash: 1185d, last: 1185d
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in d_delete / lookup_fast (6) fs 288 14d 139d 0/26 moderation: reported on 2023/12/07 10:04
upstream KCSAN: data-race in d_delete / lookup_fast (5) fs 3 973d 987d 0/26 auto-closed as invalid on 2021/09/28 20:03
upstream KCSAN: data-race in d_delete / lookup_fast (2) fs 2 1263d 1234d 0/26 auto-closed as invalid on 2020/12/21 11:52
upstream KCSAN: data-race in d_delete / lookup_fast (4) fs 12 1028d 1104d 0/26 auto-closed as invalid on 2021/08/05 10:35
upstream KCSAN: data-race in d_delete / lookup_fast fs 33 1547d 1643d 0/26 auto-closed as invalid on 2020/04/08 11:57

Sample crash report:
==================================================================
BUG: KCSAN: data-race in d_delete / lookup_fast

read-write to 0xffff888130bb1480 of 4 bytes by task 11004 on cpu 1:
 d_delete+0x66/0xa0 fs/dcache.c:2476
 vfs_unlink+0x38f/0x3b0 fs/namei.c:3849
 do_unlinkat+0x28a/0x4d0 fs/namei.c:3899
 __do_sys_unlink fs/namei.c:3945 [inline]
 __se_sys_unlink fs/namei.c:3943 [inline]
 __x64_sys_unlink+0x2c/0x30 fs/namei.c:3943
 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

read to 0xffff888130bb1480 of 4 bytes by task 4892 on cpu 0:
 d_revalidate fs/namei.c:767 [inline]
 lookup_fast+0x15f/0x370 fs/namei.c:1493
 walk_component+0x5c/0x350 fs/namei.c:1857
 lookup_last fs/namei.c:2312 [inline]
 path_lookupat+0x11d/0x550 fs/namei.c:2336
 filename_lookup+0xf2/0x380 fs/namei.c:2369
 user_path_at_empty+0x3b/0x50 fs/namei.c:2649
 do_readlinkat+0x87/0x200 fs/stat.c:407
 __do_sys_readlink fs/stat.c:440 [inline]
 __se_sys_readlink fs/stat.c:437 [inline]
 __x64_sys_readlink+0x43/0x50 fs/stat.c:437
 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 4892 Comm: systemd-udevd Not tainted 5.11.0-rc4-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/01/24 15:15 upstream e1ae4b0be158 52e37319 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in d_delete / lookup_fast
* Struck through repros no longer work on HEAD.