syzbot


KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode (2)

Status: moderation: reported on 2020/10/14 12:01
Reported-by: syzbot+dd7eafdc93343dca0f7d@syzkaller.appspotmail.com
First crash: 831d, last: 3d00h
similar bugs (1):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode 43 859d 1066d 0/24 closed as invalid on 2020/06/18 14:24

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

write to 0xffff8881367bb2c0 of 8 bytes by task 8 on cpu 1:
 __writeback_single_inode+0x1f6/0x590 fs/fs-writeback.c:1623
 writeback_sb_inodes+0x6a0/0xdd0 fs/fs-writeback.c:1865
 wb_writeback+0x26b/0x650 fs/fs-writeback.c:2039
 wb_do_writeback+0x101/0x600 fs/fs-writeback.c:2182
 wb_workfn+0x88/0x260 fs/fs-writeback.c:2222
 process_one_work+0x3d3/0x720 kernel/workqueue.c:2289
 worker_thread+0x618/0xa70 kernel/workqueue.c:2436
 kthread+0x1a9/0x1e0 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306

read to 0xffff8881367bb2c0 of 8 bytes by task 5793 on cpu 0:
 __mark_inode_dirty+0xd5/0x620 fs/fs-writeback.c:2402
 mark_inode_dirty include/linux/fs.h:2462 [inline]
 generic_write_end+0x175/0x350 fs/buffer.c:2199
 ext4_da_write_end+0x26c/0x620 fs/ext4/inode.c:3089
 generic_perform_write+0x264/0x3f0 mm/filemap.c:3749
 ext4_buffered_write_iter+0x235/0x3e0 fs/ext4/file.c:270
 ext4_file_write_iter+0x2e3/0x1210
 call_write_iter include/linux/fs.h:2187 [inline]
 new_sync_write fs/read_write.c:491 [inline]
 vfs_write+0x468/0x760 fs/read_write.c:584
 ksys_write+0xe8/0x1a0 fs/read_write.c:637
 __do_sys_write fs/read_write.c:649 [inline]
 __se_sys_write fs/read_write.c:646 [inline]
 __x64_sys_write+0x3e/0x50 fs/read_write.c:646
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

value changed: 0x0000000000020087 -> 0x0000000000020084

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 5793 Comm: syz-executor.1 Not tainted 6.0.0-rc7-syzkaller-00180-g70575e77839f-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022
==================================================================

Crashes (349):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2022/09/30 21:21 upstream 70575e77839f feb56351 .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/09/29 13:43 upstream c3e0e1e23c70 45fd7169 .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/09/26 08:46 upstream f76349cf4145 d59ba983 .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/09/19 10:43 upstream 521a547ced64 dd9a85ff .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/09/13 09:13 upstream e839a756012b a08652b0 .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/09/08 13:03 upstream 26b1224903b3 f3027468 .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/09/08 01:22 upstream 0066f1b0e275 435aeef7 .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/09/06 12:39 upstream 53e99dcff61e 65aea2b9 .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/09/04 07:38 upstream 7726d4c3e60b 28811d0a .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/09/03 15:11 upstream d895ec7938c4 28811d0a .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/09/01 14:50 upstream c5e4d5e99162 86c46e46 .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/08/31 18:07 upstream c5e4d5e99162 51e54e30 .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/08/28 07:04 upstream 10d4879f9ef0 07177916 .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/08/27 02:15 upstream e022620b5d05 07177916 .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/08/23 05:07 upstream 072e51356cd5 26a13b38 .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/08/20 21:10 upstream f31c32efd57c 26a13b38 .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/08/20 18:08 upstream 50cd95ac4654 26a13b38 .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/08/18 10:07 upstream 3b06a2755758 d58e263f .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/08/16 08:27 upstream 7ebfc85e2cd7 7a7cb304 .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/08/13 12:24 upstream 7ebfc85e2cd7 8dfcaa3d .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/08/11 19:27 upstream ffcf9c5700e4 787ed7e0 .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/08/05 01:46 upstream c040862bfbd9 1c9013ac .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/08/04 13:17 upstream b44f2fd87919 1c9013ac .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/08/04 10:18 upstream ff89dd08c0f0 1c9013ac .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/07/31 20:39 upstream 334c0ef6429f fef302b1 .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/07/30 11:38 upstream e65c6a46df94 fef302b1 .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/07/29 11:47 upstream 6e2c0490769e fef302b1 .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/07/27 07:09 upstream 5de64d44968e ae971e66 .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/07/22 19:05 upstream 4ba1329cbb94 22343af4 .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/07/18 13:08 upstream ff6992735ade ff988920 .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/07/15 11:22 upstream e5d523f1ae8f 5d921b08 .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/07/14 21:32 upstream 9bd572ec7a66 5d921b08 .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/07/13 23:04 upstream 4a57a8400075 5d921b08 .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/07/11 15:47 upstream 32346491ddf2 f3f217ff .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/07/08 23:52 upstream a471da3100ef b5765a15 .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/07/06 18:34 upstream 9f09069cde34 bff65f44 .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/07/05 05:59 upstream c1084b6c5620 bff65f44 .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/07/02 11:53 upstream 089866061428 1434eec0 .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/07/02 06:23 upstream b336ad598a3b 1434eec0 .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/06/29 16:02 upstream 941e3e791269 1434eec0 .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/06/29 12:16 upstream 941e3e791269 1434eec0 .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/06/25 17:59 upstream 8c23f235a6a8 a371c43c .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/06/24 07:29 upstream 92f20ff72066 a5dbd430 .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/06/23 07:23 upstream de5c208d533a 912f5df7 .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/06/21 22:20 upstream ca1fdab7fd27 0fc5c330 .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/06/19 08:38 upstream 354c6e071be9 8f633d84 .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/06/16 00:14 upstream 018ab4fabddd 1719ee24 .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/06/14 17:30 upstream 24625f7d91fb 127d1faf .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/06/13 17:37 upstream b13baccc3850 0f087040 .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/06/12 14:42 upstream 7a68065eb9cd 0d5abf15 .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2021/01/02 22:07 upstream 3516bd729358 79264ae3 .config log report info
ci2-upstream-kcsan-gce 2020/10/13 22:55 upstream 6ad4bf6ea160 fc7735a2 .config log report info
ci2-upstream-kcsan-gce 2020/06/24 10:34 upstream 3e08a95294a4 41694dbf .config log report
* Struck through repros no longer work on HEAD.