syzbot


KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del (3)

Status: closed as invalid on 2022/05/13 11:20
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 208d, last: 204d
similar bugs (2):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del (2) 6 302d 304d 0/24 auto-closed as invalid on 2022/03/10 19:28
upstream KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del 85 346d 360d 0/24 auto-closed as invalid on 2022/01/25 08:32

Sample crash report:
==================================================================
BUG: KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del

write to 0xffff8881279ff0fc of 4 bytes by task 17803 on cpu 1:
 ext4_orphan_del+0x568/0x6f0 fs/ext4/orphan.c:296
 ext4_evict_inode+0xb77/0xe40 fs/ext4/inode.c:317
 evict+0x1aa/0x410 fs/inode.c:664
 iput_final fs/inode.c:1744 [inline]
 iput+0x3f9/0x580 fs/inode.c:1770
 d_delete_notify include/linux/fsnotify.h:261 [inline]
 vfs_rmdir+0x270/0x2f0 fs/namei.c:4030
 do_rmdir+0x178/0x300 fs/namei.c:4078
 __do_sys_unlinkat fs/namei.c:4258 [inline]
 __se_sys_unlinkat fs/namei.c:4252 [inline]
 __x64_sys_unlinkat+0xa0/0xb0 fs/namei.c:4252
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

read to 0xffff8881279ff0fc of 4 bytes by task 1829 on cpu 0:
 ext4_fill_raw_inode+0x2b4/0xea0 fs/ext4/inode.c:4346
 ext4_do_update_inode fs/ext4/inode.c:5131 [inline]
 ext4_mark_iloc_dirty+0x364/0x860 fs/ext4/inode.c:5724
 __ext4_mark_inode_dirty+0x452/0x610 fs/ext4/inode.c:5920
 ext4_evict_inode+0x981/0xe40 fs/ext4/inode.c:279
 evict+0x1aa/0x410 fs/inode.c:664
 iput_final fs/inode.c:1744 [inline]
 iput+0x3f9/0x580 fs/inode.c:1770
 d_delete_notify include/linux/fsnotify.h:261 [inline]
 vfs_rmdir+0x270/0x2f0 fs/namei.c:4030
 do_rmdir+0x178/0x300 fs/namei.c:4078
 __do_sys_unlinkat fs/namei.c:4258 [inline]
 __se_sys_unlinkat fs/namei.c:4252 [inline]
 __x64_sys_unlinkat+0xa0/0xb0 fs/namei.c:4252
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

value changed: 0x00002004 -> 0x000004ae

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 1829 Comm: syz-executor.3 Not tainted 5.18.0-rc6-syzkaller-00009-gfeb9c5e19e91 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (28):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2022/05/12 13:41 upstream feb9c5e19e91 9ad6612a .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2022/05/11 17:09 upstream feb9c5e19e91 beb0b407 .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2022/05/10 23:20 upstream feb9c5e19e91 8d7b3b67 .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2022/05/09 16:35 upstream 9be9ed2612b5 8b277b8e .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2022/05/09 10:20 upstream c5eb0a61238d 8b277b8e .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2022/05/09 09:13 upstream c5eb0a61238d e60b1103 .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2022/05/09 08:17 upstream c5eb0a61238d e60b1103 .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2022/05/09 07:57 upstream c5eb0a61238d e60b1103 .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2022/05/09 07:54 upstream c5eb0a61238d e60b1103 .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2022/05/09 07:51 upstream c5eb0a61238d e60b1103 .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2022/05/09 07:26 upstream c5eb0a61238d e60b1103 .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2022/05/09 07:06 upstream c5eb0a61238d e60b1103 .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2022/05/09 06:44 upstream c5eb0a61238d e60b1103 .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2022/05/09 06:35 upstream c5eb0a61238d e60b1103 .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2022/05/09 04:40 upstream c5eb0a61238d e60b1103 .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2022/05/09 02:24 upstream c5eb0a61238d e60b1103 .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2022/05/09 01:42 upstream c5eb0a61238d e60b1103 .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2022/05/09 01:16 upstream c5eb0a61238d e60b1103 .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2022/05/09 00:07 upstream 379c72654524 e60b1103 .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2022/05/08 22:52 upstream 379c72654524 e60b1103 .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2022/05/08 22:34 upstream 379c72654524 e60b1103 .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2022/05/08 22:13 upstream 379c72654524 e60b1103 .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2022/05/08 22:00 upstream 379c72654524 e60b1103 .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2022/05/08 21:31 upstream 379c72654524 e60b1103 .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2022/05/08 21:19 upstream 379c72654524 e60b1103 .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2022/05/08 21:00 upstream 379c72654524 e60b1103 .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2022/05/08 18:35 upstream 379c72654524 e60b1103 .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2022/05/08 18:34 upstream 379c72654524 e60b1103 .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
* Struck through repros no longer work on HEAD.