syzbot


KCSAN: data-race in __ext4_abort / vfs_getattr_nosec

Status: closed as invalid on 2019/11/19 14:44
Subsystems: ext4
[Documentation on labels]
First crash: 1627d, last: 1627d

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

write to 0xffff8881264a3850 of 8 bytes by task 11714 on cpu 1:
 __ext4_abort+0x29d/0x310 fs/ext4/super.c:697
 ext4_remount+0xbbc/0x13a0 fs/ext4/super.c:5360
 legacy_reconfigure+0x9a/0xc0 fs/fs_context.c:670
 reconfigure_super+0x36a/0x570 fs/super.c:955
 do_remount fs/namespace.c:2551 [inline]
 do_mount+0x1188/0x1560 fs/namespace.c:3134
 ksys_mount+0xe8/0x160 fs/namespace.c:3352
 __do_sys_mount fs/namespace.c:3366 [inline]
 __se_sys_mount fs/namespace.c:3363 [inline]
 __x64_sys_mount+0x70/0x90 fs/namespace.c:3363
 do_syscall_64+0xcc/0x370 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

read to 0xffff8881264a3850 of 8 bytes by task 8043 on cpu 0:
 vfs_getattr_nosec+0x78/0x170 fs/stat.c:75
 vfs_getattr+0x54/0x70 fs/stat.c:118
 vfs_statx+0x102/0x190 fs/stat.c:191
 vfs_lstat include/linux/fs.h:3247 [inline]
 __do_sys_newlstat+0x51/0xb0 fs/stat.c:354
 __se_sys_newlstat fs/stat.c:348 [inline]
 __x64_sys_newlstat+0x3a/0x50 fs/stat.c:348
 do_syscall_64+0xcc/0x370 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 8043 Comm: syz-executor.2 Not tainted 5.4.0-rc6+ #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
2019/11/08 15:44 https://github.com/google/ktsan.git kcsan 94c006602e13 1e35461e .config console log report ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.