syzbot


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

Status: auto-closed as invalid on 2020/07/29 00:43
Subsystems: fs
[Documentation on labels]
First crash: 1413d, last: 1413d
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in step_into / vfs_rename (6) fs 1 971d 971d 0/26 auto-closed as invalid on 2021/10/14 13:13
upstream KCSAN: data-race in step_into / vfs_rename (5) fs 1 1014d 1014d 0/26 auto-closed as invalid on 2021/08/31 22:21
upstream KCSAN: data-race in step_into / vfs_rename fs 2 1422d 1471d 0/26 closed as invalid on 2020/06/18 14:24
upstream KCSAN: data-race in step_into / vfs_rename (3) fs 3 1295d 1328d 0/26 auto-closed as invalid on 2020/11/24 01:44
upstream KCSAN: data-race in step_into / vfs_rename (4) fs 1 1223d 1223d 0/26 auto-closed as invalid on 2021/02/04 02:28

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

write to 0xffff8880bb7c5e40 of 4 bytes by task 28156 on cpu 0:
 dont_mount include/linux/dcache.h:354 [inline]
 vfs_rename+0x970/0xba0 fs/namei.c:4313
 do_renameat2+0x554/0x930 fs/namei.c:4450
 __do_sys_rename fs/namei.c:4496 [inline]
 __se_sys_rename fs/namei.c:4494 [inline]
 __x64_sys_rename+0x3a/0x40 fs/namei.c:4494
 do_syscall_64+0x71/0x120 arch/x86/entry/common.c:359
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

read to 0xffff8880bb7c5e40 of 4 bytes by task 5034 on cpu 1:
 __d_entry_type include/linux/dcache.h:391 [inline]
 d_is_symlink include/linux/dcache.h:421 [inline]
 step_into+0x158/0xe70 fs/namei.c:1694
 open_last_lookups fs/namei.c:3192 [inline]
 path_openat+0xfca/0x20e0 fs/namei.c:3357
 do_filp_open+0xbd/0x1d0 fs/namei.c:3387
 do_sys_openat2+0x33c/0x4a0 fs/open.c:1179
 do_sys_open fs/open.c:1195 [inline]
 ksys_open include/linux/syscalls.h:1388 [inline]
 __do_sys_open fs/open.c:1201 [inline]
 __se_sys_open fs/open.c:1199 [inline]
 __x64_sys_open+0xe2/0x110 fs/open.c:1199
 do_syscall_64+0x71/0x120 arch/x86/entry/common.c:359
 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-rc2-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
2020/06/24 00:33 upstream 3e08a95294a4 bbad15ae .config console log report ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.