syzbot


KCSAN: data-race in __mark_inode_dirty / writeback_sb_inodes

Status: closed as invalid on 2020/06/18 14:24
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 1191d, last: 971d
similar bugs (9):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in __mark_inode_dirty / writeback_sb_inodes (5) 1 418d 418d 0/24 auto-closed as invalid on 2022/01/16 16:04
upstream KCSAN: data-race in __mark_inode_dirty / writeback_sb_inodes (3) 2 531d 533d 0/24 auto-closed as invalid on 2021/09/25 11:37
upstream KCSAN: data-race in __mark_inode_dirty / writeback_sb_inodes (7) 2 260d 292d 0/24 auto-closed as invalid on 2022/06/23 15:49
upstream KCSAN: data-race in __mark_inode_dirty / writeback_sb_inodes (2) 70 598d 823d 0/24 auto-closed as invalid on 2021/07/20 20:13
upstream KCSAN: data-race in __mark_inode_dirty / writeback_sb_inodes (4) 2 471d 492d 0/24 auto-closed as invalid on 2021/11/25 03:42
upstream KCSAN: data-race in __mark_inode_dirty / writeback_sb_inodes (8) 2 215d 224d 0/24 auto-closed as invalid on 2022/08/07 13:58
upstream KCSAN: data-race in __mark_inode_dirty / writeback_sb_inodes (10) 1 118d 118d 0/24 auto-obsoleted due to no activity on 2022/11/12 17:32
upstream KCSAN: data-race in __mark_inode_dirty / writeback_sb_inodes (9) 1 177d 177d 0/24 auto-closed as invalid on 2022/09/14 22:08
upstream KCSAN: data-race in __mark_inode_dirty / writeback_sb_inodes (6) 1 347d 347d 0/24 auto-closed as invalid on 2022/03/28 07:47

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

write to 0xffff888120b40cc0 of 8 bytes by task 21 on cpu 1:
 writeback_sb_inodes+0x3bd/0xa10 fs/fs-writeback.c:1705
 wb_writeback+0x1f9/0x6a0 fs/fs-writeback.c:1892
 wb_do_writeback fs/fs-writeback.c:2037 [inline]
 wb_workfn+0x215/0x970 fs/fs-writeback.c:2078
 process_one_work+0x424/0x930 kernel/workqueue.c:2268
 worker_thread+0x9a/0x7e0 kernel/workqueue.c:2414
 kthread+0x203/0x230 kernel/kthread.c:268
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:352

read to 0xffff888120b40cc0 of 8 bytes by task 16919 on cpu 0:
 __mark_inode_dirty+0xb6/0x940 fs/fs-writeback.c:2272
 mark_buffer_dirty+0x28b/0x2b0 fs/buffer.c:1150
 __block_commit_write.isra.0+0x11d/0x170 fs/buffer.c:2075
 block_commit_write fs/buffer.c:2467 [inline]
 block_page_mkwrite+0x21d/0x230 fs/buffer.c:2516
 ext4_page_mkwrite+0x4e8/0x820 fs/ext4/inode.c:5958
 do_page_mkwrite+0xfa/0x210 mm/memory.c:2529
 wp_page_shared mm/memory.c:2856 [inline]
 do_wp_page+0xa07/0xca0 mm/memory.c:2973
 handle_pte_fault mm/memory.c:4231 [inline]
 __handle_mm_fault+0x2d96/0x2da0 mm/memory.c:4345
 handle_mm_fault+0x21c/0x540 mm/memory.c:4382
 do_user_addr_fault arch/x86/mm/fault.c:1464 [inline]
 do_page_fault+0x48a/0xa96 arch/x86/mm/fault.c:1535
 page_fault+0x34/0x40 arch/x86/entry/entry_64.S:1203

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

Crashes (38):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci2-upstream-kcsan-gce 2020/06/07 21:29 https://github.com/google/ktsan.git kcsan 7c3cd68e5d38 7751efd0 .config console log report
ci2-upstream-kcsan-gce 2020/06/06 14:28 https://github.com/google/ktsan.git kcsan 7c3cd68e5d38 e6b89e4e .config console log report
ci2-upstream-kcsan-gce 2020/06/03 00:41 https://github.com/google/ktsan.git kcsan 7c3cd68e5d38 f3ba1b5b .config console log report
ci2-upstream-kcsan-gce 2020/05/29 16:53 https://github.com/google/ktsan.git kcsan 7c3cd68e5d38 bed08304 .config console log report
ci2-upstream-kcsan-gce 2020/05/24 14:09 https://github.com/google/ktsan.git kcsan 7c3cd68e5d38 ce7ca010 .config console log report
ci2-upstream-kcsan-gce 2020/05/23 23:55 https://github.com/google/ktsan.git kcsan 7c3cd68e5d38 96c92ad3 .config console log report
ci2-upstream-kcsan-gce 2020/05/11 21:28 https://github.com/google/ktsan.git kcsan 7c3cd68e5d38 9eb09c40 .config console log report
ci2-upstream-kcsan-gce 2020/05/10 03:39 https://github.com/google/ktsan.git kcsan 7c3cd68e5d38 8742a2b9 .config console log report
ci2-upstream-kcsan-gce 2020/05/06 20:19 https://github.com/google/ktsan.git kcsan 7c3cd68e5d38 4618eb2d .config console log report
ci2-upstream-kcsan-gce 2020/05/03 16:06 https://github.com/google/ktsan.git kcsan 7c3cd68e5d38 58ae5e18 .config console log report
ci2-upstream-kcsan-gce 2020/03/29 10:35 https://github.com/google/ktsan.git kcsan 40959e34d670 05736b29 .config console log report
ci2-upstream-kcsan-gce 2020/03/21 22:07 https://github.com/google/ktsan.git kcsan 40959e34d670 78267cec .config console log report
ci2-upstream-kcsan-gce 2020/03/18 10:03 https://github.com/google/ktsan.git kcsan 941e0d917bbf 0a96a13c .config console log report
ci2-upstream-kcsan-gce 2020/03/04 06:21 https://github.com/google/ktsan.git kcsan 766d004d1b85 1f73b64b .config console log report
ci2-upstream-kcsan-gce 2020/03/02 15:37 https://github.com/google/ktsan.git kcsan 766d004d1b85 4a4e0509 .config console log report
ci2-upstream-kcsan-gce 2020/02/26 05:42 https://github.com/google/ktsan.git kcsan 766d004d1b85 4f588111 .config console log report
ci2-upstream-kcsan-gce 2020/02/21 13:41 https://github.com/google/ktsan.git kcsan 766d004d1b85 bd2a74a3 .config console log report
ci2-upstream-kcsan-gce 2020/02/13 05:43 https://github.com/google/ktsan.git kcsan f60f0f543333 84f4fc8a .config console log report
ci2-upstream-kcsan-gce 2020/01/19 15:37 https://github.com/google/ktsan.git kcsan 245a43005292 0342f8c7 .config console log report
ci2-upstream-kcsan-gce 2020/01/13 23:24 https://github.com/google/ktsan.git kcsan 245a43005292 32881205 .config console log report
ci2-upstream-kcsan-gce 2020/01/13 11:44 https://github.com/google/ktsan.git kcsan 245a43005292 99565c1a .config console log report
ci2-upstream-kcsan-gce 2020/01/11 04:17 https://github.com/google/ktsan.git kcsan 245a43005292 4c04afaa .config console log report
ci2-upstream-kcsan-gce 2020/01/07 16:01 https://github.com/google/ktsan.git kcsan 245a43005292 1bcd407e .config console log report
ci2-upstream-kcsan-gce 2020/01/06 01:02 https://github.com/google/ktsan.git kcsan 245a43005292 438e1227 .config console log report
ci2-upstream-kcsan-gce 2019/12/16 10:14 https://github.com/google/ktsan.git kcsan 245a43005292 0ae38e44 .config console log report
ci2-upstream-kcsan-gce 2019/12/12 06:44 https://github.com/google/ktsan.git kcsan ef798c30ba4e d973f528 .config console log report
ci2-upstream-kcsan-gce 2019/12/12 02:38 https://github.com/google/ktsan.git kcsan ef798c30ba4e 0d368675 .config console log report
ci2-upstream-kcsan-gce 2019/12/08 02:49 https://github.com/google/ktsan.git kcsan ef798c30ba4e 1508f453 .config console log report
ci2-upstream-kcsan-gce 2019/12/03 18:48 https://github.com/google/ktsan.git kcsan ef798c30ba4e ab342da3 .config console log report
ci2-upstream-kcsan-gce 2019/11/30 23:58 https://github.com/google/ktsan.git kcsan ef798c30ba4e a76bf83f .config console log report
ci2-upstream-kcsan-gce 2019/11/30 07:06 https://github.com/google/ktsan.git kcsan ef798c30ba4e 3a75be00 .config console log report
ci2-upstream-kcsan-gce 2019/11/29 19:00 https://github.com/google/ktsan.git kcsan ef798c30ba4e 4f7e1d0f .config console log report
ci2-upstream-kcsan-gce 2019/11/28 00:31 https://github.com/google/ktsan.git kcsan ef798c30ba4e 0d63f89c .config console log report
ci2-upstream-kcsan-gce 2019/11/22 12:28 https://github.com/google/ktsan.git kcsan 5863cc791e4c 598ca6c8 .config console log report
ci2-upstream-kcsan-gce 2019/11/17 11:47 https://github.com/google/ktsan.git kcsan 5863cc791e4c d5696d51 .config console log report
ci2-upstream-kcsan-gce 2019/11/05 01:45 https://github.com/google/ktsan.git kcsan 94c006602e13 76630fc9 .config console log report
ci2-upstream-kcsan-gce 2019/11/03 03:56 https://github.com/google/ktsan.git kcsan 05f2236801fe d603afc9 .config console log report
ci2-upstream-kcsan-gce 2019/10/31 12:02 https://github.com/google/ktsan.git kcsan 05f2236801fe a41ca8fa .config console log report
* Struck through repros no longer work on HEAD.