syzbot


KCSAN: data-race in __wb_update_bandwidth / wb_position_ratio

Status: auto-closed as invalid on 2020/03/07 18:44
Subsystems: fs mm
[Documentation on labels]
First crash: 1573d, last: 1573d

Sample crash report:
==================================================================
BUG: KCSAN: data-race in __wb_update_bandwidth / wb_position_ratio

write to 0xffff8880a21fa128 of 8 bytes by task 15358 on cpu 1:
 wb_update_write_bandwidth mm/page-writeback.c:1130 [inline]
 __wb_update_bandwidth+0x277/0x3c0 mm/page-writeback.c:1387
 wb_update_bandwidth+0x90/0xc0 mm/page-writeback.c:1399
 wb_writeback+0x21d/0x6a0 fs/fs-writeback.c:1897
 wb_check_background_flush fs/fs-writeback.c:1962 [inline]
 wb_do_writeback fs/fs-writeback.c:2050 [inline]
 wb_workfn+0x696/0x970 fs/fs-writeback.c:2078
 process_one_work+0x3d4/0x890 kernel/workqueue.c:2264
 worker_thread+0xa0/0x800 kernel/workqueue.c:2410
 kthread+0x1d4/0x200 drivers/block/aoe/aoecmd.c:1253
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:352

read to 0xffff8880a21fa128 of 8 bytes by task 24323 on cpu 0:
 wb_position_ratio+0x3b/0x3e0 mm/page-writeback.c:907
 balance_dirty_pages+0x1283/0x1ba0 mm/page-writeback.c:1698
 balance_dirty_pages_ratelimited+0x703/0xa30 mm/page-writeback.c:1913
 generic_perform_write+0x22d/0x320 mm/filemap.c:3345
 ext4_buffered_write_iter+0x143/0x290 fs/ext4/file.c:252
 ext4_file_write_iter+0xf4/0xd40 fs/ext4/file.c:547
 call_write_iter include/linux/fs.h:1902 [inline]
 new_sync_write+0x388/0x4a0 fs/read_write.c:483
 __vfs_write+0xb1/0xc0 fs/read_write.c:496
 vfs_write fs/read_write.c:558 [inline]
 vfs_write+0x18a/0x390 fs/read_write.c:542
 ksys_write+0xd5/0x1b0 fs/read_write.c:611
 __do_sys_write fs/read_write.c:623 [inline]
 __se_sys_write fs/read_write.c:620 [inline]
 __x64_sys_write+0x4c/0x60 fs/read_write.c:620
 do_syscall_64+0xcc/0x3a0 arch/x86/entry/common.c:294
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

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

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/12/28 18:36 https://github.com/google/ktsan.git kcsan 245a43005292 af6b8ef8 .config console log report ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.