syzbot


KCSAN: data-race in __ext4_update_other_inode_time / iput (3)

Status: auto-closed as invalid on 2021/04/14 01:56
Subsystems: ext4
[Documentation on labels]
First crash: 1141d, last: 1141d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in __ext4_update_other_inode_time / iput (2) ext4 15 1201d 1234d 0/26 auto-closed as invalid on 2021/02/13 05:04
upstream KCSAN: data-race in __ext4_update_other_inode_time / iput ext4 5 1346d 1397d 0/26 auto-closed as invalid on 2020/09/21 07:31

Sample crash report:
==================================================================
BUG: KCSAN: data-race in __ext4_update_other_inode_time / iput

write to 0xffff88810c223778 of 8 bytes by task 8399 on cpu 0:
 __ext4_update_other_inode_time+0xc1/0x550 fs/ext4/inode.c:4972
 ext4_update_other_inodes_time fs/ext4/inode.c:5008 [inline]
 ext4_do_update_inode fs/ext4/inode.c:5137 [inline]
 ext4_mark_iloc_dirty+0x11b6/0x16f0 fs/ext4/inode.c:5724
 __ext4_mark_inode_dirty+0x4db/0x5e0 fs/ext4/inode.c:5918
 __ext4_unlink+0x683/0x6c0 fs/ext4/namei.c:3237
 ext4_unlink+0x1f1/0x3f0 fs/ext4/namei.c:3285
 vfs_unlink+0x24a/0x3e0 fs/namei.c:4029
 do_unlinkat+0x29f/0x4f0 fs/namei.c:4096
 __do_sys_unlink fs/namei.c:4143 [inline]
 __se_sys_unlink fs/namei.c:4141 [inline]
 __x64_sys_unlink+0x2c/0x30 fs/namei.c:4141
 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xae

read to 0xffff88810c223778 of 8 bytes by task 8401 on cpu 1:
 iput+0x2e/0x520 fs/inode.c:1670
 do_unlinkat+0x2e9/0x4f0 fs/namei.c:4103
 __do_sys_unlink fs/namei.c:4143 [inline]
 __se_sys_unlink fs/namei.c:4141 [inline]
 __x64_sys_unlink+0x2c/0x30 fs/namei.c:4141
 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xae

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 8401 Comm: syz-executor.3 Not tainted 5.12.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
2021/03/10 01:49 upstream 144c79ef3353 26967e35 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __ext4_update_other_inode_time / iput
* Struck through repros no longer work on HEAD.