syzbot


KCSAN: data-race in __ext4_update_other_inode_time / iput

Status: auto-closed as invalid on 2020/09/21 07:31
Subsystems: ext4
[Documentation on labels]
First crash: 1397d, last: 1346d
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 (3) ext4 1 1141d 1141d 0/26 auto-closed as invalid on 2021/04/14 01:56
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

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

write to 0xffff88811d9b0600 of 8 bytes by task 8715 on cpu 1:
 __ext4_update_other_inode_time+0xc1/0x570 fs/ext4/inode.c:4904
 ext4_update_other_inodes_time fs/ext4/inode.c:4940 [inline]
 ext4_do_update_inode fs/ext4/inode.c:5068 [inline]
 ext4_mark_iloc_dirty+0x1296/0x1660 fs/ext4/inode.c:5624
 __ext4_mark_inode_dirty+0x448/0x630 fs/ext4/inode.c:5818
 ext4_unlink+0x7c4/0x9f0 fs/ext4/namei.c:3241
 vfs_unlink+0x232/0x3c0 fs/namei.c:3832
 do_unlinkat+0x28a/0x4d0 fs/namei.c:3896
 __do_sys_unlink fs/namei.c:3942 [inline]
 __se_sys_unlink fs/namei.c:3940 [inline]
 __x64_sys_unlink+0x2c/0x30 fs/namei.c:3940
 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

read to 0xffff88811d9b0600 of 8 bytes by task 8711 on cpu 0:
 iput+0x2e/0x550 fs/inode.c:1668
 do_unlinkat+0x2c9/0x4d0 fs/namei.c:3902
 __do_sys_unlink fs/namei.c:3942 [inline]
 __se_sys_unlink fs/namei.c:3940 [inline]
 __x64_sys_unlink+0x2c/0x30 fs/namei.c:3940
 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: 8711 Comm: syz-executor.3 Not tainted 5.8.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/08/17 07:30 upstream 2cc3c4b3c2e9 5ce13532 .config console log report ci2-upstream-kcsan-gce
2020/08/09 07:36 upstream 06a81c1c7db9 f721e4a0 .config console log report ci2-upstream-kcsan-gce
2020/08/02 20:05 upstream ac3a0c847296 96dd3623 .config console log report ci2-upstream-kcsan-gce
2020/07/02 23:38 upstream 7cc2a8ea1048 f30c14bf .config console log report ci2-upstream-kcsan-gce
2020/06/27 20:19 upstream 6116dea80dfd a2cdad9d .config console log report ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.