syzbot


KCSAN: data-race in d_delete / step_into (2)

Status: auto-closed as invalid on 2020/08/30 20:17
Subsystems: fs
[Documentation on labels]
First crash: 1385d, last: 1369d
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in d_delete / step_into (6) fs 660 8d11h 140d 0/26 moderation: reported on 2023/12/07 10:03
upstream KCSAN: data-race in d_delete / step_into (5) fs 3 1017d 1052d 0/26 auto-closed as invalid on 2021/08/17 20:13
upstream KCSAN: data-race in d_delete / step_into fs 2 1438d 1438d 0/26 closed as invalid on 2020/06/18 14:13
upstream KCSAN: data-race in d_delete / step_into (3) fs 1 1194d 1194d 0/26 auto-closed as invalid on 2021/02/21 16:24
upstream KCSAN: data-race in d_delete / step_into (4) fs 3 1129d 1143d 0/26 auto-closed as invalid on 2021/05/17 11:48

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

write to 0xffff88811e1d3d80 of 4 bytes by task 14018 on cpu 0:
 d_delete+0x6e/0xa0 fs/dcache.c:2469
 vfs_unlink+0x3a7/0x3d0 fs/namei.c:3839
 do_unlinkat+0x28a/0x4d0 fs/namei.c:3889
 __do_sys_unlink fs/namei.c:3936 [inline]
 __se_sys_unlink fs/namei.c:3934 [inline]
 __x64_sys_unlink+0x2c/0x30 fs/namei.c:3934
 do_syscall_64+0x51/0xb0 arch/x86/entry/common.c:384
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

read to 0xffff88811e1d3d80 of 4 bytes by task 5034 on cpu 1:
 __follow_mount_rcu fs/namei.c:1316 [inline]
 handle_mounts fs/namei.c:1373 [inline]
 step_into+0xec/0xe70 fs/namei.c:1690
 walk_component+0x190/0x350 fs/namei.c:1866
 lookup_last fs/namei.c:2309 [inline]
 path_lookupat+0x12d/0x560 fs/namei.c:2333
 filename_lookup+0xf2/0x380 fs/namei.c:2366
 user_path_at_empty+0x3b/0x50 fs/namei.c:2646
 do_readlinkat+0x87/0x200 fs/stat.c:419
 __do_sys_readlink fs/stat.c:452 [inline]
 __se_sys_readlink fs/stat.c:449 [inline]
 __x64_sys_readlink+0x43/0x50 fs/stat.c:449
 do_syscall_64+0x51/0xb0 arch/x86/entry/common.c:384
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

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

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/07/26 20:16 upstream 1ada9010e578 51265195 .config console log report ci2-upstream-kcsan-gce
2020/07/10 22:18 upstream a581387e415b 18d18b59 .config console log report ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.