syzbot


KCSAN: data-race in __ext4_update_other_inode_time / inode_io_list_del

Status: auto-closed as invalid on 2021/12/01 13:20
Reported-by: syzbot+5a3c6a9f3af55e08000a@syzkaller.appspotmail.com
First crash: 827d, last: 405d

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

write to 0xffff888104b623f0 of 8 bytes by task 499 on cpu 0:
 inode_io_list_del+0xdc/0x2b0 fs/fs-writeback.c:1273
 evict+0xac/0x3c0 fs/inode.c:575
 iput_final fs/inode.c:1664 [inline]
 iput+0x430/0x580 fs/inode.c:1690
 do_unlinkat+0x2d4/0x540 fs/namei.c:4176
 __do_sys_unlink fs/namei.c:4217 [inline]
 __se_sys_unlink fs/namei.c:4215 [inline]
 __x64_sys_unlink+0x2c/0x30 fs/namei.c:4215
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x44/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

read to 0xffff888104b623f0 of 8 bytes by task 12675 on cpu 1:
 inode_is_dirtytime_only include/linux/fs.h:2471 [inline]
 __ext4_update_other_inode_time+0x48/0x5c0 fs/ext4/inode.c:4914
 ext4_update_other_inodes_time fs/ext4/inode.c:4957 [inline]
 ext4_do_update_inode fs/ext4/inode.c:5091 [inline]
 ext4_mark_iloc_dirty+0x1286/0x1700 fs/ext4/inode.c:5683
 __ext4_mark_inode_dirty+0x4ec/0x5c0 fs/ext4/inode.c:5879
 __ext4_new_inode+0x2ae2/0x2fd0 fs/ext4/ialloc.c:1343
 ext4_symlink+0x2cc/0x700 fs/ext4/namei.c:3293
 vfs_symlink+0x23f/0x350 fs/namei.c:4250
 do_symlinkat+0x104/0x380 fs/namei.c:4279
 __do_sys_symlink fs/namei.c:4301 [inline]
 __se_sys_symlink fs/namei.c:4299 [inline]
 __x64_sys_symlink+0x52/0x60 fs/namei.c:4299
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x44/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

value changed: 0x0000000000000000 -> 0x0000000000000060

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

Crashes (111):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2021/10/27 13:19 upstream d25f27432f80 be531bb4 .config log report info KCSAN: data-race in __ext4_update_other_inode_time / inode_io_list_del
ci2-upstream-kcsan-gce 2021/10/18 18:58 upstream 519d81956ee2 24dc29db .config log report info KCSAN: data-race in __ext4_update_other_inode_time / inode_io_list_del
ci2-upstream-kcsan-gce 2021/10/08 01:45 upstream 4a16df549d23 efe0f24d .config log report info KCSAN: data-race in __ext4_update_other_inode_time / inode_io_list_del
ci2-upstream-kcsan-gce 2021/10/03 12:09 upstream 7b66f4393ad4 db0f5787 .config log report info KCSAN: data-race in __ext4_update_other_inode_time / inode_io_list_del
ci2-upstream-kcsan-gce 2021/10/01 15:13 upstream 4de593fb965f cc80db95 .config log report info KCSAN: data-race in __ext4_update_other_inode_time / inode_io_list_del
ci2-upstream-kcsan-gce 2021/09/26 22:12 upstream 996148ee05d0 78494d16 .config log report info KCSAN: data-race in __ext4_update_other_inode_time / inode_io_list_del
ci2-upstream-kcsan-gce 2021/09/25 04:56 upstream 7d42e9818258 8cac236e .config log report info KCSAN: data-race in __ext4_update_other_inode_time / inode_io_list_del
ci2-upstream-kcsan-gce 2021/08/24 11:57 upstream d5ae8d7f85b7 b599f2fc .config log report info KCSAN: data-race in __ext4_update_other_inode_time / inode_io_list_del
ci2-upstream-kcsan-gce 2021/08/22 07:45 upstream 9ff50bf2f2ff b599f2fc .config log report info KCSAN: data-race in __ext4_update_other_inode_time / inode_io_list_del
ci2-upstream-kcsan-gce 2021/08/16 09:17 upstream 7c60610d4767 2489ab88 .config log report info KCSAN: data-race in __ext4_update_other_inode_time / inode_io_list_del
ci2-upstream-kcsan-gce 2021/08/12 07:09 upstream 1746f4db5135 6972b106 .config log report info KCSAN: data-race in __ext4_update_other_inode_time / inode_io_list_del
ci2-upstream-kcsan-gce 2021/08/06 19:16 upstream 894d6f401b21 6972b106 .config log report info KCSAN: data-race in __ext4_update_other_inode_time / inode_io_list_del
ci2-upstream-kcsan-gce 2021/08/05 20:39 upstream e04480920d1e d2d6e680 .config log report info KCSAN: data-race in __ext4_update_other_inode_time / inode_io_list_del
ci2-upstream-kcsan-gce 2021/08/01 08:14 upstream f3438b4c4e69 6c236867 .config log report info KCSAN: data-race in __ext4_update_other_inode_time / inode_io_list_del
ci2-upstream-kcsan-gce 2021/07/29 05:11 upstream 4010a528219e b44001ce .config log report info KCSAN: data-race in __ext4_update_other_inode_time / inode_io_list_del
ci2-upstream-kcsan-gce 2021/07/15 16:09 upstream 8096acd7442e f115ae98 .config log report info KCSAN: data-race in __ext4_update_other_inode_time / inode_io_list_del
ci2-upstream-kcsan-gce 2021/06/24 08:57 upstream 7426cedc7dad ec865f6a .config log report info KCSAN: data-race in __ext4_update_other_inode_time / inode_io_list_del
ci2-upstream-kcsan-gce 2021/06/11 17:13 upstream 06af8679449d 1ba81399 .config log report info KCSAN: data-race in __ext4_update_other_inode_time / inode_io_list_del
ci2-upstream-kcsan-gce 2021/06/04 21:55 upstream 16f0596fc1d7 500c2339 .config log report info KCSAN: data-race in __ext4_update_other_inode_time / inode_io_list_del
ci2-upstream-kcsan-gce 2021/05/29 16:26 upstream 6799d4f2da49 325a8dab .config log report info KCSAN: data-race in __ext4_update_other_inode_time / inode_io_list_del
ci2-upstream-kcsan-gce 2021/05/24 13:52 upstream c4681547bcce 3c7fef33 .config log report info KCSAN: data-race in __ext4_update_other_inode_time / inode_io_list_del
ci2-upstream-kcsan-gce 2021/05/22 04:14 upstream 45af60e7ced0 3c7fef33 .config log report info KCSAN: data-race in __ext4_update_other_inode_time / inode_io_list_del
ci2-upstream-kcsan-gce 2021/05/20 10:10 upstream c3d0e3fd41b7 a343ba6b .config log report info KCSAN: data-race in __ext4_update_other_inode_time / inode_io_list_del
ci2-upstream-kcsan-gce 2021/05/07 21:20 upstream 1ad77a05cfae bc5434be .config log report info KCSAN: data-race in __ext4_update_other_inode_time / inode_io_list_del
ci2-upstream-kcsan-gce 2021/05/05 10:11 upstream d665ea6ea86c 06c27ff5 .config log report info KCSAN: data-race in __ext4_update_other_inode_time / inode_io_list_del
ci2-upstream-kcsan-gce 2021/05/03 05:31 upstream 9ccce092fc64 77e2b668 .config log report info KCSAN: data-race in __ext4_update_other_inode_time / inode_io_list_del
ci2-upstream-kcsan-gce 2021/05/02 12:20 upstream 17ae69aba89d 77e2b668 .config log report info KCSAN: data-race in __ext4_update_other_inode_time / inode_io_list_del
ci2-upstream-kcsan-gce 2021/04/25 11:40 upstream 2a1d7946fa53 36c88236 .config log report info KCSAN: data-race in __ext4_update_other_inode_time / inode_io_list_del
ci2-upstream-kcsan-gce 2021/04/21 08:01 upstream 1fe5501ba1ab 95777977 .config log report info KCSAN: data-race in __ext4_update_other_inode_time / inode_io_list_del
ci2-upstream-kcsan-gce 2021/04/20 07:38 upstream 7af08140979a c0ced557 .config log report info KCSAN: data-race in __ext4_update_other_inode_time / inode_io_list_del
ci2-upstream-kcsan-gce 2021/04/19 23:01 upstream 7af08140979a 4285c989 .config log report info KCSAN: data-race in __ext4_update_other_inode_time / inode_io_list_del
ci2-upstream-kcsan-gce 2021/04/19 20:19 upstream bf05bf16c76b 4285c989 .config log report info KCSAN: data-race in __ext4_update_other_inode_time / inode_io_list_del
ci2-upstream-kcsan-gce 2021/04/16 22:12 upstream 2f7b98d1e55c 7e2b734b .config log report info KCSAN: data-race in __ext4_update_other_inode_time / inode_io_list_del
ci2-upstream-kcsan-gce 2021/04/15 19:02 upstream 7f75285ca572 c59079a6 .config log report info KCSAN: data-race in __ext4_update_other_inode_time / inode_io_list_del
ci2-upstream-kcsan-gce 2021/04/09 02:52 upstream 3fb4f979b4fa 6a81331a .config log report info KCSAN: data-race in __ext4_update_other_inode_time / inode_io_list_del
ci2-upstream-kcsan-gce 2021/04/05 19:25 upstream 0a50438c8436 6a81331a .config log report info KCSAN: data-race in __ext4_update_other_inode_time / inode_io_list_del
ci2-upstream-kcsan-gce 2021/04/03 00:44 upstream 0a84c2e440f7 6a81331a .config log report info KCSAN: data-race in __ext4_update_other_inode_time / inode_io_list_del
ci2-upstream-kcsan-gce 2021/03/22 02:57 upstream 5ee96fa9dd78 4c9a64da .config log report info KCSAN: data-race in __ext4_update_other_inode_time / inode_io_list_del
ci2-upstream-kcsan-gce 2021/03/20 00:45 upstream 8b12a62a4e3e 3d01c4de .config log report info KCSAN: data-race in __ext4_update_other_inode_time / inode_io_list_del
ci2-upstream-kcsan-gce 2021/03/18 05:11 upstream 6417f03132a6 fdb2bb2c .config log report info KCSAN: data-race in __ext4_update_other_inode_time / inode_io_list_del
ci2-upstream-kcsan-gce 2021/03/15 15:17 upstream 1e28eed17697 fdb2bb2c .config log report info KCSAN: data-race in __ext4_update_other_inode_time / inode_io_list_del
ci2-upstream-kcsan-gce 2021/03/15 05:44 upstream 75013c6c52d8 cc1cff8f .config log report info KCSAN: data-race in __ext4_update_other_inode_time / inode_io_list_del
ci2-upstream-kcsan-gce 2021/01/13 01:37 upstream e609571b5ffa 0cdd6185 .config log report info
ci2-upstream-kcsan-gce 2020/12/01 11:58 upstream b65054597872 07bfe8a5 .config log report info
ci2-upstream-kcsan-gce 2020/09/01 07:06 upstream b51594df17d0 d5a3ae1f .config log report
* Struck through repros no longer work on HEAD.