syzbot


KCSAN: data-race in __wb_update_bandwidth / bdi_split_work_to_wbs

Status: closed as invalid on 2019/11/19 14:04
Subsystems: mm fs
[Documentation on labels]
First crash: 2163d, last: 2163d
Similar bugs (2)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in __wb_update_bandwidth / bdi_split_work_to_wbs (3) mm fs 6 1 1960d 1960d 0/29 closed as invalid on 2020/06/18 14:13
upstream KCSAN: data-race in __wb_update_bandwidth / bdi_split_work_to_wbs (2) fs mm 6 1 2122d 2122d 0/29 auto-closed as invalid on 2020/02/27 02:38

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

write to 0xffff8880aac26128 of 8 bytes by task 8218 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:1894
 wb_check_start_all fs/fs-writeback.c:2015 [inline]
 wb_do_writeback fs/fs-writeback.c:2041 [inline]
 wb_workfn+0x748/0x970 fs/fs-writeback.c:2075
 process_one_work+0x3d4/0x890 kernel/workqueue.c:2269
 worker_thread+0xa0/0x800 kernel/workqueue.c:2415
 kthread+0x1d4/0x200 drivers/block/aoe/aoecmd.c:1253
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:352

read to 0xffff8880aac26128 of 8 bytes by task 12751 on cpu 0:
 bdi_split_work_to_wbs+0x2ee/0x750 fs/fs-writeback.c:866
 sync_inodes_sb+0x179/0x410 fs/fs-writeback.c:2551
 sync_inodes_one_sb+0x53/0x70 fs/sync.c:74
 iterate_supers+0x120/0x220 fs/super.c:692
 ksys_sync+0x5e/0xf0 fs/sync.c:113
 __ia32_sys_sync+0x17/0x20 fs/sync.c:124
 do_syscall_64+0xcc/0x370 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 12751 Comm: syz-executor.4 Not tainted 5.4.0-rc6+ #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/11/08 00:07 https://github.com/google/ktsan.git kcsan 94c006602e13 f39aff9e .config console log report ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.