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: 702d, last: 6d05h
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 730d 937d 0/22 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 0xffff8881382dbc60 of 8 bytes by task 14036 on cpu 0:
 __writeback_single_inode+0x1f6/0x590 fs/fs-writeback.c:1617
 writeback_sb_inodes+0x69e/0xdd0 fs/fs-writeback.c:1858
 __writeback_inodes_wb+0xb0/0x2a0 fs/fs-writeback.c:1927
 wb_writeback+0x280/0x650 fs/fs-writeback.c:2032
 wb_check_start_all fs/fs-writeback.c:2154 [inline]
 wb_do_writeback+0x418/0x600 fs/fs-writeback.c:2180
 wb_workfn+0x88/0x260 fs/fs-writeback.c:2213
 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

read to 0xffff8881382dbc60 of 8 bytes by task 15100 on cpu 1:
 __mark_inode_dirty+0xd5/0x5f0 fs/fs-writeback.c:2392
 mark_inode_dirty include/linux/fs.h:2324 [inline]
 generic_write_end+0x168/0x230 fs/buffer.c:2199
 ext4_da_write_end+0x446/0x510 fs/ext4/inode.c:3068
 generic_perform_write+0x26a/0x3f0 mm/filemap.c:3798
 ext4_buffered_write_iter+0x199/0x280 fs/ext4/file.c:270
 ext4_file_write_iter+0x211/0xdf0
 call_write_iter include/linux/fs.h:2050 [inline]
 new_sync_write fs/read_write.c:504 [inline]
 vfs_write+0x71c/0x890 fs/read_write.c:591
 ksys_write+0xe8/0x1a0 fs/read_write.c:644
 __do_sys_write fs/read_write.c:656 [inline]
 __se_sys_write fs/read_write.c:653 [inline]
 __x64_sys_write+0x3e/0x50 fs/read_write.c:653
 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+0x44/0xae

value changed: 0x0000000000020087 -> 0x0000000000020084

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

Crashes (291):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2022/05/21 10:46 upstream 3b5e1590a267 7268fa62 .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/05/21 02:32 upstream 3d7285a335ed bd37ad7e .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/05/19 02:24 upstream ef1302160bfb 50c53f39 .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/05/17 10:11 upstream 42226c989789 744a39e2 .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/05/15 14:56 upstream bc403203d65a 744a39e2 .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/05/15 10:22 upstream 2fe1020d73ca 744a39e2 .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/05/14 11:50 upstream ec7f49619d8e 744a39e2 .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/05/13 23:05 upstream f2dd007445b1 107f6434 .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/05/13 13:09 upstream f3f19f939c11 7ce5a022 .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/05/12 20:04 upstream 0ac824f379fb 9ad6612a .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/05/09 17:04 upstream 9be9ed2612b5 8b277b8e .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/05/08 16:17 upstream 30c8e80f7932 e60b1103 .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/05/08 06:48 upstream 30c8e80f7932 e60b1103 .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/05/08 00:28 upstream 30c8e80f7932 e60b1103 .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/05/07 00:14 upstream 64267926e01b e60b1103 .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/05/05 20:26 upstream 0f5d752b1395 b3f09415 .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/05/04 11:09 upstream 107c948d1d3e dc9e5259 .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/05/02 09:05 upstream 672c0c517342 2df221f6 .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/05/02 00:58 upstream b2da7df52e16 2df221f6 .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/04/30 23:44 upstream 57ae8a492116 2df221f6 .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/04/30 05:35 upstream 8013d1d3d2e3 ad6b95d8 .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/04/30 03:24 upstream 8013d1d3d2e3 ad6b95d8 .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/04/28 02:21 upstream 8f4dd16603ce 8a1f1f07 .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/04/24 08:38 upstream 22da5264abf4 131df97d .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/04/23 22:39 upstream 13bc32bad705 131df97d .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/04/21 22:02 upstream 59f0c2447e25 2738b391 .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/04/19 12:23 upstream b2d229d4ddb1 c334415e .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/04/16 00:32 upstream 028192fea1de 8bcc32a6 .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/04/07 05:18 upstream 3e732ebf7316 53c67432 .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/04/05 17:25 upstream ce4c854ee868 0127c10f .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/04/05 15:40 upstream 312310928417 0127c10f .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/04/05 14:02 upstream 312310928417 5915c2cb .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/03/29 17:11 upstream 1930a6e739c4 6bdac766 .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/03/27 10:14 upstream f022814633e1 89bc8608 .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/03/24 10:39 upstream ed4643521e6a 89bc8608 .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/03/22 12:45 upstream b47d5a4f6b8d e2d91b1d .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/03/21 20:18 upstream eaa54b1458ca e2d91b1d .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/03/21 16:21 upstream f443e374ae13 e2d91b1d .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/03/20 21:16 upstream 14702b3b2438 e2d91b1d .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/03/20 04:37 upstream 97e9c8eb4bb1 e2d91b1d .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/03/19 05:19 upstream 34e047aa16c0 e2d91b1d .config log report info KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode
ci2-upstream-kcsan-gce 2022/03/18 01:36 upstream 551acdc3c3d2 e2d91b1d .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