syzbot


KCSAN: data-race in __ext4_update_other_inode_time / d_instantiate_new
Status: auto-closed as invalid on 2022/01/25 09:14
Reported-by: syzbot+18c763eeb28dd25d2d9e@syzkaller.appspotmail.com
First crash: 695d, last: 151d
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 / d_instantiate_new (3) 12 8d20h 12d 0/22 closed as invalid on 2022/05/13 11:20
upstream KCSAN: data-race in __ext4_update_other_inode_time / d_instantiate_new (2) 1 108d 108d 0/22 auto-closed as invalid on 2022/03/09 07:51

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

write to 0xffff88813dcdb720 of 8 bytes by task 23125 on cpu 0:
 d_instantiate_new+0x99/0xe0 fs/dcache.c:2031
 ext4_add_nondir+0x172/0x1a0 fs/ext4/namei.c:2714
 ext4_symlink+0x4ba/0x700 fs/ext4/namei.c:3363
 vfs_symlink+0x241/0x330 fs/namei.c:4248
 do_symlinkat+0x104/0x380 fs/namei.c:4277
 __do_sys_symlink fs/namei.c:4299 [inline]
 __se_sys_symlink fs/namei.c:4297 [inline]
 __x64_sys_symlink+0x52/0x60 fs/namei.c:4297
 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 0xffff88813dcdb720 of 8 bytes by task 23130 on cpu 1:
 inode_is_dirtytime_only include/linux/fs.h:2470 [inline]
 __ext4_update_other_inode_time+0x45/0x550 fs/ext4/inode.c:5010
 ext4_update_other_inodes_time fs/ext4/inode.c:5053 [inline]
 ext4_do_update_inode fs/ext4/inode.c:5102 [inline]
 ext4_mark_iloc_dirty+0x4c6/0x890 fs/ext4/inode.c:5694
 __ext4_mark_inode_dirty+0x4ec/0x5f0 fs/ext4/inode.c:5890
 __ext4_new_inode+0x2a7f/0x2fc0 fs/ext4/ialloc.c:1343
 ext4_symlink+0x2cc/0x700 fs/ext4/namei.c:3293
 vfs_symlink+0x241/0x330 fs/namei.c:4248
 do_symlinkat+0x104/0x380 fs/namei.c:4277
 __do_sys_symlink fs/namei.c:4299 [inline]
 __se_sys_symlink fs/namei.c:4297 [inline]
 __x64_sys_symlink+0x52/0x60 fs/namei.c:4297
 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: 0x0000000000008008 -> 0x0000000000000000

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

Crashes (414):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2021/12/21 09:13 upstream 6e0567b73052 a938f0b8 .config log report info KCSAN: data-race in __ext4_update_other_inode_time / d_instantiate_new
ci2-upstream-kcsan-gce 2021/12/20 20:36 upstream 86085fe79e3c 62bd192b .config log report info KCSAN: data-race in __ext4_update_other_inode_time / d_instantiate_new
ci2-upstream-kcsan-gce 2021/12/20 08:28 upstream a7904a538933 021b36cb .config log report info KCSAN: data-race in __ext4_update_other_inode_time / d_instantiate_new
ci2-upstream-kcsan-gce 2021/12/19 21:52 upstream a76c3d035872 44068e19 .config log report info KCSAN: data-race in __ext4_update_other_inode_time / d_instantiate_new
ci2-upstream-kcsan-gce 2021/12/19 09:09 upstream 3f667b5d4053 44068e19 .config log report info KCSAN: data-race in __ext4_update_other_inode_time / d_instantiate_new
ci2-upstream-kcsan-gce 2021/12/18 04:31 upstream 9eaa88c7036e 44068e19 .config log report info KCSAN: data-race in __ext4_update_other_inode_time / d_instantiate_new
ci2-upstream-kcsan-gce 2021/12/17 15:08 upstream 6441998e2e37 44068e19 .config log report info KCSAN: data-race in __ext4_update_other_inode_time / d_instantiate_new
ci2-upstream-kcsan-gce 2021/12/17 01:58 upstream fa36bbe6d43f 44068e19 .config log report info KCSAN: data-race in __ext4_update_other_inode_time / d_instantiate_new
ci2-upstream-kcsan-gce 2021/12/16 14:16 upstream 2b14864acbaa 8dd6a5e3 .config log report info KCSAN: data-race in __ext4_update_other_inode_time / d_instantiate_new
ci2-upstream-kcsan-gce 2021/12/15 20:24 upstream 2b14864acbaa 572bcb40 .config log report info KCSAN: data-race in __ext4_update_other_inode_time / d_instantiate_new
ci2-upstream-kcsan-gce 2021/12/15 18:01 upstream 5472f14a3742 572bcb40 .config log report info KCSAN: data-race in __ext4_update_other_inode_time / d_instantiate_new
ci2-upstream-kcsan-gce 2021/12/14 12:56 upstream 5472f14a3742 d018dd31 .config log report info KCSAN: data-race in __ext4_update_other_inode_time / d_instantiate_new
ci2-upstream-kcsan-gce 2021/12/14 00:27 upstream 5472f14a3742 5d14b1ea .config log report info KCSAN: data-race in __ext4_update_other_inode_time / d_instantiate_new
ci2-upstream-kcsan-gce 2021/12/13 11:52 upstream 2585cf9dfaad 0304899b .config log report info KCSAN: data-race in __ext4_update_other_inode_time / d_instantiate_new
ci2-upstream-kcsan-gce 2021/12/13 10:38 upstream 2585cf9dfaad 49ca1f59 .config log report info KCSAN: data-race in __ext4_update_other_inode_time / d_instantiate_new
ci2-upstream-kcsan-gce 2021/12/13 02:33 upstream 90d9fbc16b69 49ca1f59 .config log report info KCSAN: data-race in __ext4_update_other_inode_time / d_instantiate_new
ci2-upstream-kcsan-gce 2021/12/12 04:22 upstream a763d5a5abd6 49ca1f59 .config log report info KCSAN: data-race in __ext4_update_other_inode_time / d_instantiate_new
ci2-upstream-kcsan-gce 2021/12/11 15:58 upstream 6f513529296f 49ca1f59 .config log report info KCSAN: data-race in __ext4_update_other_inode_time / d_instantiate_new
ci2-upstream-kcsan-gce 2021/12/10 14:23 upstream c741e49150db fc17c959 .config log report info KCSAN: data-race in __ext4_update_other_inode_time / d_instantiate_new
ci2-upstream-kcsan-gce 2021/12/10 02:48 upstream ded746bfc943 4d4ce9bc .config log report info KCSAN: data-race in __ext4_update_other_inode_time / d_instantiate_new
ci2-upstream-kcsan-gce 2021/12/10 00:43 upstream ded746bfc943 b54aa474 .config log report info KCSAN: data-race in __ext4_update_other_inode_time / d_instantiate_new
ci2-upstream-kcsan-gce 2021/12/09 14:13 upstream 2a987e65025e b54aa474 .config log report info KCSAN: data-race in __ext4_update_other_inode_time / d_instantiate_new
ci2-upstream-kcsan-gce 2021/12/08 10:15 upstream 2a987e65025e a4a2a501 .config log report info KCSAN: data-race in __ext4_update_other_inode_time / d_instantiate_new
ci2-upstream-kcsan-gce 2021/12/08 01:30 upstream 2a987e65025e 0230ba3e .config log report info KCSAN: data-race in __ext4_update_other_inode_time / d_instantiate_new
ci2-upstream-kcsan-gce 2021/12/07 11:42 upstream cd8c917a56f2 0230ba3e .config log report info KCSAN: data-race in __ext4_update_other_inode_time / d_instantiate_new
ci2-upstream-kcsan-gce 2021/12/06 23:00 upstream f80ef9e49fdf 0230ba3e .config log report info KCSAN: data-race in __ext4_update_other_inode_time / d_instantiate_new
ci2-upstream-kcsan-gce 2021/12/06 14:46 upstream 0fcfb00b28c0 579a8754 .config log report info KCSAN: data-race in __ext4_update_other_inode_time / d_instantiate_new
ci2-upstream-kcsan-gce 2021/12/06 09:46 upstream 0fcfb00b28c0 a617004c .config log report info KCSAN: data-race in __ext4_update_other_inode_time / d_instantiate_new
ci2-upstream-kcsan-gce 2021/12/05 19:52 upstream 944207047ca4 a617004c .config log report info KCSAN: data-race in __ext4_update_other_inode_time / d_instantiate_new
ci2-upstream-kcsan-gce 2021/12/05 07:00 upstream 79a72162048e a617004c .config log report info KCSAN: data-race in __ext4_update_other_inode_time / d_instantiate_new
ci2-upstream-kcsan-gce 2021/12/04 18:23 upstream bbef3c7a63d2 a617004c .config log report info KCSAN: data-race in __ext4_update_other_inode_time / d_instantiate_new
ci2-upstream-kcsan-gce 2021/12/04 00:19 upstream 12119cfa1052 a617004c .config log report info KCSAN: data-race in __ext4_update_other_inode_time / d_instantiate_new
ci2-upstream-kcsan-gce 2021/12/03 11:54 upstream 5f58da2befa5 c7c20675 .config log report info KCSAN: data-race in __ext4_update_other_inode_time / d_instantiate_new
ci2-upstream-kcsan-gce 2021/12/03 09:08 upstream 5f58da2befa5 61f86278 .config log report info KCSAN: data-race in __ext4_update_other_inode_time / d_instantiate_new
ci2-upstream-kcsan-gce 2021/12/02 20:14 upstream a51e3ac43ddb 61f86278 .config log report info KCSAN: data-race in __ext4_update_other_inode_time / d_instantiate_new
ci2-upstream-kcsan-gce 2021/12/01 08:20 upstream 58e1100fdc59 5fa3eacc .config log report info KCSAN: data-race in __ext4_update_other_inode_time / d_instantiate_new
ci2-upstream-kcsan-gce 2021/11/30 18:51 upstream f080815fdb3e 80270552 .config log report info KCSAN: data-race in __ext4_update_other_inode_time / d_instantiate_new
ci2-upstream-kcsan-gce 2021/11/30 11:53 upstream d58071a8a76d 80270552 .config log report info KCSAN: data-race in __ext4_update_other_inode_time / d_instantiate_new
ci2-upstream-kcsan-gce 2021/11/29 14:58 upstream d58071a8a76d d0830353 .config log report info KCSAN: data-race in __ext4_update_other_inode_time / d_instantiate_new
ci2-upstream-kcsan-gce 2021/11/29 11:41 upstream d58071a8a76d 63eeac02 .config log report info KCSAN: data-race in __ext4_update_other_inode_time / d_instantiate_new
ci2-upstream-kcsan-gce 2021/11/28 21:59 upstream d06c942efea4 63eeac02 .config log report info KCSAN: data-race in __ext4_update_other_inode_time / d_instantiate_new
ci2-upstream-kcsan-gce 2021/11/26 22:38 upstream c5c17547b778 63eeac02 .config log report info KCSAN: data-race in __ext4_update_other_inode_time / d_instantiate_new
ci2-upstream-kcsan-gce 2021/11/26 11:50 upstream a4849f6000e2 63eeac02 .config log report info KCSAN: data-race in __ext4_update_other_inode_time / d_instantiate_new
ci2-upstream-kcsan-gce 2021/11/25 19:53 upstream b501b85957de 63eeac02 .config log report info KCSAN: data-race in __ext4_update_other_inode_time / d_instantiate_new
ci2-upstream-kcsan-gce 2021/11/25 18:34 upstream 5f53fa508db0 63eeac02 .config log report info KCSAN: data-race in __ext4_update_other_inode_time / d_instantiate_new
ci2-upstream-kcsan-gce 2021/01/13 12:59 upstream e609571b5ffa a945f0a3 .config log report info
ci2-upstream-kcsan-gce 2020/08/30 06:35 upstream 1127b219ce94 d5a3ae1f .config log report
ci2-upstream-kcsan-gce 2020/08/27 00:12 upstream 15bc20c6af4c 318430cb .config log report
ci2-upstream-kcsan-gce 2020/06/25 08:40 upstream 26e122e97a3d 9d60b18e .config log report