syzbot


KCSAN: data-race in ext4_mark_iloc_dirty / ext4_mark_iloc_dirty
Status: auto-closed as invalid on 2022/01/25 10:31
Reported-by: syzbot+900324b91168c395f1a2@syzkaller.appspotmail.com
First crash: 210d, last: 151d
similar bugs (2):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in ext4_mark_iloc_dirty / ext4_mark_iloc_dirty (2) 5 106d 108d 0/22 auto-closed as invalid on 2022/03/10 20:28
upstream KCSAN: data-race in ext4_mark_iloc_dirty / ext4_mark_iloc_dirty (3) 10 8d22h 12d 0/22 closed as invalid on 2022/05/13 11:20

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

write to 0xffff888132cde9f8 of 4 bytes by task 10677 on cpu 1:
 ext4_update_inode_fsync_trans fs/ext4/ext4_jbd2.h:445 [inline]
 ext4_do_update_inode fs/ext4/inode.c:5125 [inline]
 ext4_mark_iloc_dirty+0x789/0x890 fs/ext4/inode.c:5694
 __ext4_mark_inode_dirty+0x4ec/0x5f0 fs/ext4/inode.c:5890
 ext4_evict_inode+0x9ae/0xf10 fs/ext4/inode.c:280
 evict+0x1aa/0x410 fs/inode.c:590
 iput_final fs/inode.c:1670 [inline]
 iput+0x3ef/0x580 fs/inode.c:1696
 do_unlinkat+0x2d4/0x540 fs/namei.c:4174
 __do_sys_unlink fs/namei.c:4215 [inline]
 __se_sys_unlink fs/namei.c:4213 [inline]
 __x64_sys_unlink+0x2c/0x30 fs/namei.c:4213
 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

write to 0xffff888132cde9f8 of 4 bytes by task 7529 on cpu 0:
 ext4_update_inode_fsync_trans fs/ext4/ext4_jbd2.h:445 [inline]
 ext4_do_update_inode fs/ext4/inode.c:5125 [inline]
 ext4_mark_iloc_dirty+0x789/0x890 fs/ext4/inode.c:5694
 ext4_orphan_del+0x593/0x730 fs/ext4/orphan.c:297
 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

value changed: 0x00009c1c -> 0x00009c1d

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

Crashes (74):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2021/12/21 10:30 upstream 6e0567b73052 a938f0b8 .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / ext4_mark_iloc_dirty
ci2-upstream-kcsan-gce 2021/12/20 21:46 upstream 86085fe79e3c 62bd192b .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / ext4_mark_iloc_dirty
ci2-upstream-kcsan-gce 2021/12/19 23:11 upstream a76c3d035872 44068e19 .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / ext4_mark_iloc_dirty
ci2-upstream-kcsan-gce 2021/12/19 07:21 upstream 3f667b5d4053 44068e19 .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / ext4_mark_iloc_dirty
ci2-upstream-kcsan-gce 2021/12/18 11:20 upstream 9eaa88c7036e 44068e19 .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / ext4_mark_iloc_dirty
ci2-upstream-kcsan-gce 2021/12/17 17:14 upstream 6441998e2e37 44068e19 .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / ext4_mark_iloc_dirty
ci2-upstream-kcsan-gce 2021/12/17 11:25 upstream fa36bbe6d43f 44068e19 .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / ext4_mark_iloc_dirty
ci2-upstream-kcsan-gce 2021/12/16 20:20 upstream fa36bbe6d43f 8dd6a5e3 .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / ext4_mark_iloc_dirty
ci2-upstream-kcsan-gce 2021/12/15 21:56 upstream 2b14864acbaa 572bcb40 .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / ext4_mark_iloc_dirty
ci2-upstream-kcsan-gce 2021/12/15 00:24 upstream 5472f14a3742 f752fb53 .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / ext4_mark_iloc_dirty
ci2-upstream-kcsan-gce 2021/12/14 18:02 upstream 5472f14a3742 d018dd31 .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / ext4_mark_iloc_dirty
ci2-upstream-kcsan-gce 2021/12/14 01:13 upstream 5472f14a3742 5d14b1ea .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / ext4_mark_iloc_dirty
ci2-upstream-kcsan-gce 2021/12/13 13:30 upstream 2585cf9dfaad 0304899b .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / ext4_mark_iloc_dirty
ci2-upstream-kcsan-gce 2021/12/12 09:04 upstream a763d5a5abd6 49ca1f59 .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / ext4_mark_iloc_dirty
ci2-upstream-kcsan-gce 2021/12/11 22:56 upstream 6f513529296f 49ca1f59 .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / ext4_mark_iloc_dirty
ci2-upstream-kcsan-gce 2021/12/11 02:59 upstream 9e65da135b39 49ca1f59 .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / ext4_mark_iloc_dirty
ci2-upstream-kcsan-gce 2021/12/10 15:14 upstream c741e49150db fc17c959 .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / ext4_mark_iloc_dirty
ci2-upstream-kcsan-gce 2021/12/10 02:53 upstream ded746bfc943 4d4ce9bc .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / ext4_mark_iloc_dirty
ci2-upstream-kcsan-gce 2021/12/09 21:51 upstream ded746bfc943 b54aa474 .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / ext4_mark_iloc_dirty
ci2-upstream-kcsan-gce 2021/12/09 14:56 upstream 2a987e65025e b54aa474 .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / ext4_mark_iloc_dirty
ci2-upstream-kcsan-gce 2021/12/08 12:17 upstream 2a987e65025e a4a2a501 .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / ext4_mark_iloc_dirty
ci2-upstream-kcsan-gce 2021/12/08 02:47 upstream 2a987e65025e 0230ba3e .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / ext4_mark_iloc_dirty
ci2-upstream-kcsan-gce 2021/12/07 12:05 upstream cd8c917a56f2 0230ba3e .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / ext4_mark_iloc_dirty
ci2-upstream-kcsan-gce 2021/12/07 02:11 upstream f80ef9e49fdf 0230ba3e .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / ext4_mark_iloc_dirty
ci2-upstream-kcsan-gce 2021/12/06 09:28 upstream 0fcfb00b28c0 a617004c .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / ext4_mark_iloc_dirty
ci2-upstream-kcsan-gce 2021/12/05 20:27 upstream 944207047ca4 a617004c .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / ext4_mark_iloc_dirty
ci2-upstream-kcsan-gce 2021/12/05 07:18 upstream 79a72162048e a617004c .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / ext4_mark_iloc_dirty
ci2-upstream-kcsan-gce 2021/12/04 18:43 upstream bbef3c7a63d2 a617004c .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / ext4_mark_iloc_dirty
ci2-upstream-kcsan-gce 2021/12/04 01:47 upstream 12119cfa1052 a617004c .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / ext4_mark_iloc_dirty
ci2-upstream-kcsan-gce 2021/12/03 11:45 upstream 5f58da2befa5 c7c20675 .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / ext4_mark_iloc_dirty
ci2-upstream-kcsan-gce 2021/12/02 19:58 upstream a51e3ac43ddb 61f86278 .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / ext4_mark_iloc_dirty
ci2-upstream-kcsan-gce 2021/12/02 02:11 upstream 58e1100fdc59 61f86278 .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / ext4_mark_iloc_dirty
ci2-upstream-kcsan-gce 2021/12/01 14:33 upstream 58e1100fdc59 5fa3eacc .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / ext4_mark_iloc_dirty
ci2-upstream-kcsan-gce 2021/11/30 18:44 upstream f080815fdb3e 80270552 .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / ext4_mark_iloc_dirty
ci2-upstream-kcsan-gce 2021/11/30 13:13 upstream d58071a8a76d 80270552 .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / ext4_mark_iloc_dirty
ci2-upstream-kcsan-gce 2021/11/29 19:48 upstream d58071a8a76d d0830353 .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / ext4_mark_iloc_dirty
ci2-upstream-kcsan-gce 2021/11/29 02:45 upstream d06c942efea4 63eeac02 .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / ext4_mark_iloc_dirty
ci2-upstream-kcsan-gce 2021/11/28 10:51 upstream 3498e7f2bb41 63eeac02 .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / ext4_mark_iloc_dirty
ci2-upstream-kcsan-gce 2021/11/27 19:20 upstream 741392771338 63eeac02 .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / ext4_mark_iloc_dirty
ci2-upstream-kcsan-gce 2021/11/27 00:54 upstream c5c17547b778 63eeac02 .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / ext4_mark_iloc_dirty
ci2-upstream-kcsan-gce 2021/11/26 08:48 upstream a4849f6000e2 63eeac02 .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / ext4_mark_iloc_dirty
ci2-upstream-kcsan-gce 2021/11/25 20:45 upstream b501b85957de 63eeac02 .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / ext4_mark_iloc_dirty
ci2-upstream-kcsan-gce 2021/11/24 20:03 upstream 5f53fa508db0 545ab074 .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / ext4_mark_iloc_dirty
ci2-upstream-kcsan-gce 2021/11/24 06:15 upstream 5d9f4cf36721 545ab074 .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / ext4_mark_iloc_dirty
ci2-upstream-kcsan-gce 2021/11/22 14:11 upstream 136057256686 545ab074 .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / ext4_mark_iloc_dirty
ci2-upstream-kcsan-gce 2021/11/21 22:57 upstream 40c93d7fff6f 4eb20a4e .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / ext4_mark_iloc_dirty
ci2-upstream-kcsan-gce 2021/11/21 11:10 upstream 923dcc5eb0c1 4eb20a4e .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / ext4_mark_iloc_dirty
ci2-upstream-kcsan-gce 2021/11/20 22:44 upstream 61564e7b3abc 4eb20a4e .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / ext4_mark_iloc_dirty
ci2-upstream-kcsan-gce 2021/11/20 04:44 upstream a90af8f15bdc 4eb20a4e .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / ext4_mark_iloc_dirty
ci2-upstream-kcsan-gce 2021/11/19 17:53 upstream 4c388a8e740d 3a9d0024 .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / ext4_mark_iloc_dirty
ci2-upstream-kcsan-gce 2021/11/19 12:24 upstream 4c388a8e740d 31a30fc0 .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / ext4_mark_iloc_dirty
ci2-upstream-kcsan-gce 2021/11/18 21:31 upstream 6fdf886424cf 31a30fc0 .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / ext4_mark_iloc_dirty
ci2-upstream-kcsan-gce 2021/11/18 16:02 upstream 42eb8fdac2fc 31a30fc0 .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / ext4_mark_iloc_dirty
ci2-upstream-kcsan-gce 2021/11/18 06:57 upstream 42eb8fdac2fc cafff8b6 .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / ext4_mark_iloc_dirty
ci2-upstream-kcsan-gce 2021/11/17 00:16 upstream 8ab774587903 cafff8b6 .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / ext4_mark_iloc_dirty
ci2-upstream-kcsan-gce 2021/11/16 12:33 upstream 8ab774587903 600426bd .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / ext4_mark_iloc_dirty
ci2-upstream-kcsan-gce 2021/11/16 12:26 upstream 8ab774587903 600426bd .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / ext4_mark_iloc_dirty
ci2-upstream-kcsan-gce 2021/11/15 15:21 upstream 8ab774587903 75b04091 .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / ext4_mark_iloc_dirty
ci2-upstream-kcsan-gce 2021/11/15 00:48 upstream ce49bfc8d037 75b04091 .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / ext4_mark_iloc_dirty
ci2-upstream-kcsan-gce 2021/11/14 09:36 upstream c8c109546a19 75b04091 .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / ext4_mark_iloc_dirty
ci2-upstream-kcsan-gce 2021/11/13 19:40 upstream a9b9669d9822 75b04091 .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / ext4_mark_iloc_dirty
ci2-upstream-kcsan-gce 2021/11/13 08:42 upstream 66f4beaa6c1d 75b04091 .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / ext4_mark_iloc_dirty
ci2-upstream-kcsan-gce 2021/11/12 14:00 upstream 5833291ab6de 75b04091 .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / ext4_mark_iloc_dirty
ci2-upstream-kcsan-gce 2021/11/11 23:47 upstream ca2ef2d9f2aa 75b04091 .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / ext4_mark_iloc_dirty
ci2-upstream-kcsan-gce 2021/11/11 14:22 upstream debe436e77c7 75b04091 .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / ext4_mark_iloc_dirty
ci2-upstream-kcsan-gce 2021/11/11 13:29 upstream debe436e77c7 75b04091 .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / ext4_mark_iloc_dirty
ci2-upstream-kcsan-gce 2021/11/10 01:09 upstream cb690f5238d7 55fa030c .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / ext4_mark_iloc_dirty
ci2-upstream-kcsan-gce 2021/11/08 11:37 upstream 6b75d88fa81b d29682f1 .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / ext4_mark_iloc_dirty
ci2-upstream-kcsan-gce 2021/11/04 03:14 upstream ce840177930f 4c1be0be .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / ext4_mark_iloc_dirty
ci2-upstream-kcsan-gce 2021/10/23 06:41 upstream 9c0c4d24ac00 282f03fb .config log report info KCSAN: data-race in ext4_mark_iloc_dirty / ext4_mark_iloc_dirty