syzbot


KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del

Status: auto-closed as invalid on 2022/01/25 08:32
Reported-by: syzbot+8fb4eddf5f093921f34d@syzkaller.appspotmail.com
First crash: 269d, last: 229d
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 (3) 28 87d 91d 0/23 closed as invalid on 2022/05/13 11:20
upstream KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del (2) 6 185d 187d 0/23 auto-closed as invalid on 2022/03/10 19:28

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

write to 0xffff88811c09cadc of 4 bytes by task 1813 on cpu 1:
 ext4_orphan_del+0x579/0x730 fs/ext4/orphan.c:296
 ext4_evict_inode+0xb9f/0xf10 fs/ext4/inode.c:318
 evict+0x1aa/0x410 fs/inode.c:590
 iput_final fs/inode.c:1670 [inline]
 iput+0x3ef/0x580 fs/inode.c:1696
 dentry_unlink_inode+0x23d/0x250 fs/dcache.c:376
 d_delete+0x78/0xa0 fs/dcache.c:2505
 vfs_rmdir+0x2bf/0x2e0 fs/namei.c:3982
 do_rmdir+0x18d/0x330 fs/namei.c:4030
 __do_sys_rmdir fs/namei.c:4049 [inline]
 __se_sys_rmdir fs/namei.c:4047 [inline]
 __x64_sys_rmdir+0x2c/0x30 fs/namei.c:4047
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

read to 0xffff88811c09cadc of 4 bytes by task 1836 on cpu 0:
 ext4_fill_raw_inode+0x2b4/0xea0 fs/ext4/inode.c:4309
 ext4_do_update_inode fs/ext4/inode.c:5094 [inline]
 ext4_mark_iloc_dirty+0x364/0x890 fs/ext4/inode.c:5694
 __ext4_mark_inode_dirty+0x4ec/0x5f0 fs/ext4/inode.c:5890
 ext4_dirty_inode+0x86/0xa0 fs/ext4/inode.c:5919
 __mark_inode_dirty+0x72/0x6c0 fs/fs-writeback.c:2399
 mark_inode_dirty_sync include/linux/fs.h:2456 [inline]
 dquot_free_space include/linux/quotaops.h:382 [inline]
 dquot_free_block include/linux/quotaops.h:392 [inline]
 ext4_free_blocks+0x157d/0x1b00 fs/ext4/mballoc.c:6084
 ext4_remove_blocks+0x7fb/0xa10 fs/ext4/extents.c:2541
 ext4_ext_rm_leaf+0x6a7/0xef0 fs/ext4/extents.c:2707
 ext4_ext_remove_space+0x956/0x14c0 fs/ext4/extents.c:2955
 ext4_ext_truncate+0xfe/0x170 fs/ext4/extents.c:4417
 ext4_truncate+0x76e/0xae0 fs/ext4/inode.c:4201
 ext4_evict_inode+0xad5/0xf10 fs/ext4/inode.c:287
 evict+0x1aa/0x410 fs/inode.c:590
 iput_final fs/inode.c:1670 [inline]
 iput+0x3ef/0x580 fs/inode.c:1696
 dentry_unlink_inode+0x23d/0x250 fs/dcache.c:376
 d_delete+0x78/0xa0 fs/dcache.c:2505
 vfs_rmdir+0x2bf/0x2e0 fs/namei.c:3982
 do_rmdir+0x18d/0x330 fs/namei.c:4030
 __do_sys_rmdir fs/namei.c:4049 [inline]
 __se_sys_rmdir fs/namei.c:4047 [inline]
 __x64_sys_rmdir+0x2c/0x30 fs/namei.c:4047
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

value changed: 0x000004eb -> 0x000004fd

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

Crashes (85):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2021/12/21 08:32 upstream 6e0567b73052 a938f0b8 .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2021/12/20 20:21 upstream 86085fe79e3c 62bd192b .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2021/12/20 08:19 upstream a7904a538933 021b36cb .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2021/12/19 21:09 upstream a76c3d035872 44068e19 .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2021/12/19 05:15 upstream 3f667b5d4053 44068e19 .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2021/12/18 05:09 upstream 9eaa88c7036e 44068e19 .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2021/12/17 14:54 upstream 6441998e2e37 44068e19 .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2021/12/17 01:26 upstream fa36bbe6d43f 44068e19 .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2021/12/16 19:19 upstream fa36bbe6d43f 8dd6a5e3 .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2021/12/16 13:23 upstream 2b14864acbaa 8dd6a5e3 .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2021/12/15 20:27 upstream 2b14864acbaa 572bcb40 .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2021/12/15 18:27 upstream 5472f14a3742 572bcb40 .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2021/12/15 00:20 upstream 5472f14a3742 f752fb53 .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2021/12/14 12:08 upstream 5472f14a3742 d018dd31 .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2021/12/14 00:26 upstream 5472f14a3742 5d14b1ea .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2021/12/13 11:52 upstream 2585cf9dfaad 0304899b .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2021/12/13 10:51 upstream 2585cf9dfaad 49ca1f59 .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2021/12/12 20:00 upstream 90d9fbc16b69 49ca1f59 .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2021/12/12 04:21 upstream a763d5a5abd6 49ca1f59 .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2021/12/11 15:09 upstream 6f513529296f 49ca1f59 .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2021/12/11 02:05 upstream 9e65da135b39 49ca1f59 .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2021/12/10 13:52 upstream c741e49150db fc17c959 .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2021/12/10 01:24 upstream ded746bfc943 4d4ce9bc .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2021/12/09 20:45 upstream ded746bfc943 b54aa474 .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2021/12/09 13:19 upstream 2a987e65025e b54aa474 .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2021/12/08 09:24 upstream 2a987e65025e a4a2a501 .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2021/12/07 11:49 upstream cd8c917a56f2 0230ba3e .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2021/12/06 22:25 upstream f80ef9e49fdf 0230ba3e .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2021/12/06 09:31 upstream 0fcfb00b28c0 a617004c .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2021/12/05 19:48 upstream 944207047ca4 a617004c .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2021/12/05 06:53 upstream 79a72162048e a617004c .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2021/12/04 17:31 upstream bbef3c7a63d2 a617004c .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2021/12/04 00:25 upstream 12119cfa1052 a617004c .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2021/12/03 12:05 upstream 5f58da2befa5 c7c20675 .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2021/12/03 09:47 upstream 5f58da2befa5 61f86278 .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2021/12/02 21:01 upstream a51e3ac43ddb 61f86278 .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2021/12/01 19:57 upstream 58e1100fdc59 61f86278 .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2021/12/01 07:34 upstream 58e1100fdc59 5fa3eacc .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2021/11/30 18:46 upstream f080815fdb3e 80270552 .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2021/11/30 18:26 upstream f080815fdb3e 80270552 .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2021/11/30 10:54 upstream d58071a8a76d 80270552 .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2021/11/29 14:42 upstream d58071a8a76d d0830353 .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2021/11/29 11:04 upstream d58071a8a76d 63eeac02 .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2021/11/28 23:06 upstream d06c942efea4 63eeac02 .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2021/11/28 23:06 upstream d06c942efea4 63eeac02 .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2021/11/28 09:08 upstream 3498e7f2bb41 63eeac02 .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2021/11/27 19:21 upstream 741392771338 63eeac02 .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2021/11/26 23:01 upstream c5c17547b778 63eeac02 .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2021/11/16 22:09 upstream 8ab774587903 cafff8b6 .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2021/11/16 10:17 upstream 8ab774587903 600426bd .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2021/11/14 22:00 upstream ce49bfc8d037 75b04091 .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2021/11/14 08:46 upstream c8c109546a19 75b04091 .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2021/11/13 19:59 upstream a9b9669d9822 75b04091 .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2021/11/13 02:22 upstream 66f4beaa6c1d 75b04091 .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2021/11/12 13:15 upstream 5833291ab6de 75b04091 .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2021/11/12 13:06 upstream 5833291ab6de 75b04091 .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2021/11/11 23:31 upstream ca2ef2d9f2aa 75b04091 .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2021/11/11 07:44 upstream debe436e77c7 75b04091 .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del
ci2-upstream-kcsan-gce 2021/11/11 07:42 upstream debe436e77c7 75b04091 .config log report info KCSAN: data-race in ext4_fill_raw_inode / ext4_orphan_del