syzbot


KCSAN: data-race in __d_instantiate / dput (2)

Status: auto-closed as invalid on 2022/02/10 13:46
Subsystems: fs
[Documentation on labels]
First crash: 834d, last: 834d
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in __d_instantiate / dput fs 1 873d 873d 0/26 auto-closed as invalid on 2022/01/02 23:30
upstream KCSAN: data-race in __d_instantiate / dput (6) fs 1 121d 121d 0/26 auto-obsoleted due to no activity on 2024/01/24 06:42
upstream KCSAN: data-race in __d_instantiate / dput (5) fs 1 216d 216d 0/26 auto-obsoleted due to no activity on 2023/10/22 00:51
upstream KCSAN: data-race in __d_instantiate / dput (4) fs 2 405d 438d 0/26 auto-obsoleted due to no activity on 2023/04/17 20:38
upstream KCSAN: data-race in __d_instantiate / dput (3) fs 1 767d 767d 0/26 auto-closed as invalid on 2022/04/18 02:14

Sample crash report:
==================================================================
BUG: KCSAN: data-race in __d_instantiate / dput

write to 0xffff8881327a5480 of 4 bytes by task 2034 on cpu 0:
 __d_instantiate+0x2ca/0x3a0 fs/dcache.c:1985
 d_instantiate+0x55/0x80 fs/dcache.c:2010
 shmem_symlink+0x338/0x390 mm/shmem.c:3075
 vfs_symlink+0x241/0x330 fs/namei.c:4248
 do_symlinkat+0x104/0x380 fs/namei.c:4277
 __do_sys_symlink fs/namei.c:4299 [inline]
 __se_sys_symlink fs/namei.c:4297 [inline]
 __x64_sys_symlink+0x52/0x60 fs/namei.c:4297
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

read to 0xffff8881327a5480 of 4 bytes by task 1438 on cpu 1:
 fast_dput fs/dcache.c:749 [inline]
 dput+0x34/0x430 fs/dcache.c:875
 handle_mounts fs/namei.c:1502 [inline]
 step_into+0x468/0xee0 fs/namei.c:1800
 walk_component+0x1a1/0x360 fs/namei.c:1976
 lookup_last fs/namei.c:2425 [inline]
 path_lookupat+0x12d/0x3d0 fs/namei.c:2449
 filename_lookup+0x130/0x310 fs/namei.c:2478
 user_path_at_empty+0x3e/0x110 fs/namei.c:2801
 do_readlinkat+0x97/0x210 fs/stat.c:443
 __do_sys_readlink fs/stat.c:476 [inline]
 __se_sys_readlink fs/stat.c:473 [inline]
 __x64_sys_readlink+0x43/0x50 fs/stat.c:473
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

value changed: 0x00000008 -> 0x00600008

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 1438 Comm: udevd Not tainted 5.16.0-rc8-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
2022/01/06 13:42 upstream 75acfdb6fd92 6acc789a .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __d_instantiate / dput
* Struck through repros no longer work on HEAD.