syzbot


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

Status: auto-closed as invalid on 2021/02/04 02:28
Subsystems: fs
[Documentation on labels]
First crash: 1227d, last: 1227d
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 974d 974d 0/26 auto-closed as invalid on 2021/10/14 13:13
upstream KCSAN: data-race in step_into / vfs_rename (5) fs 1 1018d 1018d 0/26 auto-closed as invalid on 2021/08/31 22:21
upstream KCSAN: data-race in step_into / vfs_rename fs 2 1425d 1474d 0/26 closed as invalid on 2020/06/18 14:24
upstream KCSAN: data-race in step_into / vfs_rename (2) fs 1 1417d 1417d 0/26 auto-closed as invalid on 2020/07/29 00:43
upstream KCSAN: data-race in step_into / vfs_rename (3) fs 3 1299d 1331d 0/26 auto-closed as invalid on 2020/11/24 01:44

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

read-write to 0xffff88810d46b480 of 4 bytes by task 20941 on cpu 1:
 dont_mount include/linux/dcache.h:355 [inline]
 vfs_rename+0xcd9/0xe20 fs/namei.c:4322
 do_renameat2+0x5c3/0x900 fs/namei.c:4457
 __do_sys_rename fs/namei.c:4508 [inline]
 __se_sys_rename fs/namei.c:4506 [inline]
 __x64_sys_rename+0x58/0x60 fs/namei.c:4506
 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

read to 0xffff88810d46b480 of 4 bytes by task 4896 on cpu 0:
 __d_entry_type include/linux/dcache.h:392 [inline]
 d_is_symlink include/linux/dcache.h:422 [inline]
 step_into+0x158/0xe80 fs/namei.c:1695
 open_last_lookups fs/namei.c:3203 [inline]
 path_openat+0xfdb/0x20a0 fs/namei.c:3368
 do_filp_open+0xbd/0x1d0 fs/namei.c:3398
 do_sys_openat2+0xa3/0x240 fs/open.c:1172
 do_sys_open fs/open.c:1188 [inline]
 __do_sys_open fs/open.c:1196 [inline]
 __se_sys_open fs/open.c:1192 [inline]
 __x64_sys_open+0xe2/0x110 fs/open.c:1192
 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: 4896 Comm: systemd-udevd Not tainted 5.11.0-rc1-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/12/31 02:25 upstream f6e1ea196492 5cc121d6 .config console log report info ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.