syzbot


KCSAN: data-race in ext4_free_inodes_count / ext4_free_inodes_set
Status: auto-closed as invalid on 2022/01/25 08:41
Reported-by: syzbot+4c6f0606244957a58652@syzkaller.appspotmail.com
First crash: 961d, last: 157d
similar bugs (3):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in ext4_free_inodes_count / ext4_free_inodes_set (4) 2 15d 15d 0/22 closed as invalid on 2022/05/13 11:20
upstream KCSAN: data-race in ext4_free_inodes_count / ext4_free_inodes_set (3) 54 15d 17d 0/22 closed as invalid on 2022/05/12 12:04
upstream KCSAN: data-race in ext4_free_inodes_count / ext4_free_inodes_set (2) 6 112d 114d 0/22 auto-closed as invalid on 2022/03/10 19:17

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

write to 0xffff8881036d700e of 2 bytes by task 1830 on cpu 1:
 ext4_free_inodes_set+0x1b/0x80 fs/ext4/super.c:385
 ext4_free_inode+0x615/0xa30 fs/ext4/ialloc.c:323
 ext4_evict_inode+0xbff/0xf10 fs/ext4/inode.c:332
 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

read to 0xffff8881036d700e of 2 bytes by task 1831 on cpu 0:
 ext4_free_inodes_count+0x18/0x80 fs/ext4/super.c:329
 __ext4_new_inode+0x9f9/0x2fc0 fs/ext4/ialloc.c:1042
 ext4_mkdir+0x28a/0x760 fs/ext4/namei.c:2929
 vfs_mkdir+0x2c8/0x3d0 fs/namei.c:3883
 do_mkdirat+0x12e/0x2c0 fs/namei.c:3909
 __do_sys_mkdir fs/namei.c:3929 [inline]
 __se_sys_mkdir fs/namei.c:3927 [inline]
 __x64_sys_mkdir+0x40/0x50 fs/namei.c:3927
 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: 0x1aa9 -> 0x1aaa

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 1831 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 (1876):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2021/12/21 08:34 upstream 6e0567b73052 a938f0b8 .config log report info KCSAN: data-race in ext4_free_inodes_count / ext4_free_inodes_set
ci2-upstream-kcsan-gce 2021/12/20 20:23 upstream 86085fe79e3c 62bd192b .config log report info KCSAN: data-race in ext4_free_inodes_count / ext4_free_inodes_set
ci2-upstream-kcsan-gce 2021/12/20 08:21 upstream a7904a538933 021b36cb .config log report info KCSAN: data-race in ext4_free_inodes_count / ext4_free_inodes_set
ci2-upstream-kcsan-gce 2021/12/19 21:06 upstream a76c3d035872 44068e19 .config log report info KCSAN: data-race in ext4_free_inodes_count / ext4_free_inodes_set
ci2-upstream-kcsan-gce 2021/12/19 05:12 upstream 3f667b5d4053 44068e19 .config log report info KCSAN: data-race in ext4_free_inodes_count / ext4_free_inodes_set
ci2-upstream-kcsan-gce 2021/12/18 04:00 upstream 9eaa88c7036e 44068e19 .config log report info KCSAN: data-race in ext4_free_inodes_count / ext4_free_inodes_set
ci2-upstream-kcsan-gce 2021/12/17 14:45 upstream 6441998e2e37 44068e19 .config log report info KCSAN: data-race in ext4_free_inodes_count / ext4_free_inodes_set
ci2-upstream-kcsan-gce 2021/12/17 01:34 upstream fa36bbe6d43f 44068e19 .config log report info KCSAN: data-race in ext4_free_inodes_count / ext4_free_inodes_set
ci2-upstream-kcsan-gce 2021/12/16 19:21 upstream fa36bbe6d43f 8dd6a5e3 .config log report info KCSAN: data-race in ext4_free_inodes_count / ext4_free_inodes_set
ci2-upstream-kcsan-gce 2021/12/16 19:16 upstream fa36bbe6d43f 8dd6a5e3 .config log report info KCSAN: data-race in ext4_free_inodes_count / ext4_free_inodes_set
ci2-upstream-kcsan-gce 2021/12/16 13:21 upstream 2b14864acbaa 8dd6a5e3 .config log report info KCSAN: data-race in ext4_free_inodes_count / ext4_free_inodes_set
ci2-upstream-kcsan-gce 2021/12/15 19:37 upstream 2b14864acbaa 572bcb40 .config log report info KCSAN: data-race in ext4_free_inodes_count / ext4_free_inodes_set
ci2-upstream-kcsan-gce 2021/12/15 17:33 upstream 5472f14a3742 572bcb40 .config log report info KCSAN: data-race in ext4_free_inodes_count / ext4_free_inodes_set
ci2-upstream-kcsan-gce 2021/12/14 23:57 upstream 5472f14a3742 f752fb53 .config log report info KCSAN: data-race in ext4_free_inodes_count / ext4_free_inodes_set
ci2-upstream-kcsan-gce 2021/12/14 12:06 upstream 5472f14a3742 d018dd31 .config log report info KCSAN: data-race in ext4_free_inodes_count / ext4_free_inodes_set
ci2-upstream-kcsan-gce 2021/12/14 00:18 upstream 5472f14a3742 5d14b1ea .config log report info KCSAN: data-race in ext4_free_inodes_count / ext4_free_inodes_set
ci2-upstream-kcsan-gce 2021/12/13 12:10 upstream 2585cf9dfaad 0304899b .config log report info KCSAN: data-race in ext4_free_inodes_count / ext4_free_inodes_set
ci2-upstream-kcsan-gce 2021/12/13 10:30 upstream 2585cf9dfaad 49ca1f59 .config log report info KCSAN: data-race in ext4_free_inodes_count / ext4_free_inodes_set
ci2-upstream-kcsan-gce 2021/12/12 20:02 upstream 90d9fbc16b69 49ca1f59 .config log report info KCSAN: data-race in ext4_free_inodes_count / ext4_free_inodes_set
ci2-upstream-kcsan-gce 2021/12/12 04:19 upstream a763d5a5abd6 49ca1f59 .config log report info KCSAN: data-race in ext4_free_inodes_count / ext4_free_inodes_set
ci2-upstream-kcsan-gce 2021/12/11 15:08 upstream 6f513529296f 49ca1f59 .config log report info KCSAN: data-race in ext4_free_inodes_count / ext4_free_inodes_set
ci2-upstream-kcsan-gce 2021/12/11 01:52 upstream 9e65da135b39 49ca1f59 .config log report info KCSAN: data-race in ext4_free_inodes_count / ext4_free_inodes_set
ci2-upstream-kcsan-gce 2021/12/10 13:50 upstream c741e49150db fc17c959 .config log report info KCSAN: data-race in ext4_free_inodes_count / ext4_free_inodes_set
ci2-upstream-kcsan-gce 2021/12/10 01:28 upstream ded746bfc943 4d4ce9bc .config log report info KCSAN: data-race in ext4_free_inodes_count / ext4_free_inodes_set
ci2-upstream-kcsan-gce 2021/12/09 20:46 upstream ded746bfc943 b54aa474 .config log report info KCSAN: data-race in ext4_free_inodes_count / ext4_free_inodes_set
ci2-upstream-kcsan-gce 2021/12/09 13:18 upstream 2a987e65025e b54aa474 .config log report info KCSAN: data-race in ext4_free_inodes_count / ext4_free_inodes_set
ci2-upstream-kcsan-gce 2021/12/08 09:30 upstream 2a987e65025e a4a2a501 .config log report info KCSAN: data-race in ext4_free_inodes_count / ext4_free_inodes_set
ci2-upstream-kcsan-gce 2021/12/08 01:01 upstream 2a987e65025e 0230ba3e .config log report info KCSAN: data-race in ext4_free_inodes_count / ext4_free_inodes_set
ci2-upstream-kcsan-gce 2021/12/07 11:38 upstream cd8c917a56f2 0230ba3e .config log report info KCSAN: data-race in ext4_free_inodes_count / ext4_free_inodes_set
ci2-upstream-kcsan-gce 2021/12/06 22:17 upstream f80ef9e49fdf 0230ba3e .config log report info KCSAN: data-race in ext4_free_inodes_count / ext4_free_inodes_set
ci2-upstream-kcsan-gce 2021/12/06 09:26 upstream 0fcfb00b28c0 a617004c .config log report info KCSAN: data-race in ext4_free_inodes_count / ext4_free_inodes_set
ci2-upstream-kcsan-gce 2021/12/05 19:50 upstream 944207047ca4 a617004c .config log report info KCSAN: data-race in ext4_free_inodes_count / ext4_free_inodes_set
ci2-upstream-kcsan-gce 2021/12/05 06:38 upstream 79a72162048e a617004c .config log report info KCSAN: data-race in ext4_free_inodes_count / ext4_free_inodes_set
ci2-upstream-kcsan-gce 2021/12/04 17:27 upstream bbef3c7a63d2 a617004c .config log report info KCSAN: data-race in ext4_free_inodes_count / ext4_free_inodes_set
ci2-upstream-kcsan-gce 2021/12/04 00:11 upstream 12119cfa1052 a617004c .config log report info KCSAN: data-race in ext4_free_inodes_count / ext4_free_inodes_set
ci2-upstream-kcsan-gce 2021/12/03 11:47 upstream 5f58da2befa5 c7c20675 .config log report info KCSAN: data-race in ext4_free_inodes_count / ext4_free_inodes_set
ci2-upstream-kcsan-gce 2021/12/03 09:10 upstream 5f58da2befa5 61f86278 .config log report info KCSAN: data-race in ext4_free_inodes_count / ext4_free_inodes_set
ci2-upstream-kcsan-gce 2021/12/02 20:00 upstream a51e3ac43ddb 61f86278 .config log report info KCSAN: data-race in ext4_free_inodes_count / ext4_free_inodes_set
ci2-upstream-kcsan-gce 2021/12/01 19:31 upstream 58e1100fdc59 61f86278 .config log report info KCSAN: data-race in ext4_free_inodes_count / ext4_free_inodes_set
ci2-upstream-kcsan-gce 2021/12/01 07:28 upstream 58e1100fdc59 5fa3eacc .config log report info KCSAN: data-race in ext4_free_inodes_count / ext4_free_inodes_set
ci2-upstream-kcsan-gce 2021/11/30 18:05 upstream f080815fdb3e 80270552 .config log report info KCSAN: data-race in ext4_free_inodes_count / ext4_free_inodes_set
ci2-upstream-kcsan-gce 2021/11/30 10:55 upstream d58071a8a76d 80270552 .config log report info KCSAN: data-race in ext4_free_inodes_count / ext4_free_inodes_set
ci2-upstream-kcsan-gce 2021/11/29 14:28 upstream d58071a8a76d d0830353 .config log report info KCSAN: data-race in ext4_free_inodes_count / ext4_free_inodes_set
ci2-upstream-kcsan-gce 2021/11/29 11:40 upstream d58071a8a76d 63eeac02 .config log report info KCSAN: data-race in ext4_free_inodes_count / ext4_free_inodes_set
ci2-upstream-kcsan-gce 2021/11/28 21:58 upstream d06c942efea4 63eeac02 .config log report info KCSAN: data-race in ext4_free_inodes_count / ext4_free_inodes_set
ci2-upstream-kcsan-gce 2021/11/28 08:49 upstream 3498e7f2bb41 63eeac02 .config log report info KCSAN: data-race in ext4_free_inodes_count / ext4_free_inodes_set
ci2-upstream-kcsan-gce 2021/11/27 19:25 upstream 741392771338 63eeac02 .config log report info KCSAN: data-race in ext4_free_inodes_count / ext4_free_inodes_set
ci2-upstream-kcsan-gce 2021/11/26 22:23 upstream c5c17547b778 63eeac02 .config log report info KCSAN: data-race in ext4_free_inodes_count / ext4_free_inodes_set
ci2-upstream-kcsan-gce 2021/11/26 08:45 upstream a4849f6000e2 63eeac02 .config log report info KCSAN: data-race in ext4_free_inodes_count / ext4_free_inodes_set
ci2-upstream-kcsan-gce 2021/11/25 19:19 upstream b501b85957de 63eeac02 .config log report info KCSAN: data-race in ext4_free_inodes_count / ext4_free_inodes_set
ci2-upstream-kcsan-gce 2021/01/17 09:53 upstream 0da0a8a0a0e1 65a7a854 .config log report info
ci2-upstream-kcsan-gce 2019/10/08 16:15 https://github.com/google/ktsan.git kcsan 3675607974a2 137e37ca .config log report