syzbot


KCSAN: data-race in vfs_getattr_nosec / vfs_rmdir

Status: auto-closed as invalid on 2021/05/28 10:28
Subsystems: fs
[Documentation on labels]
First crash: 1107d, last: 1107d

Sample crash report:
==================================================================
BUG: KCSAN: data-race in vfs_getattr_nosec / vfs_rmdir

write to 0xffff88812bd83dc4 of 4 bytes by task 7907 on cpu 1:
 vfs_rmdir+0x183/0x2c0 fs/namei.c:3906
 do_rmdir+0x14a/0x2e0 fs/namei.c:3964
 __do_sys_rmdir fs/namei.c:3982 [inline]
 __se_sys_rmdir fs/namei.c:3980 [inline]
 __x64_sys_rmdir+0x2c/0x30 fs/namei.c:3980
 do_syscall_64+0x34/0x50 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xae

read to 0xffff88812bd83dc4 of 4 bytes by task 7905 on cpu 0:
 vfs_getattr_nosec+0xab/0x2e0 fs/stat.c:89
 vfs_getattr fs/stat.c:134 [inline]
 vfs_fstat fs/stat.c:156 [inline]
 __do_sys_newfstat fs/stat.c:396 [inline]
 __se_sys_newfstat+0x94/0x2c0 fs/stat.c:393
 __x64_sys_newfstat+0x2d/0x40 fs/stat.c:393
 do_syscall_64+0x34/0x50 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xae

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 7905 Comm: systemd-udevd Tainted: G        W         5.12.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
2021/04/23 10:26 upstream 90c911ad7445 590921a5 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in vfs_getattr_nosec / vfs_rmdir
* Struck through repros no longer work on HEAD.