syzbot


KCSAN: data-race in mm_update_next_owner / wb_workfn (3)

Status: auto-closed as invalid on 2020/08/22 21:27
Subsystems: fs
[Documentation on labels]
First crash: 1397d, last: 1377d
Similar bugs (7)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in mm_update_next_owner / wb_workfn (4) fs 1 1291d 1291d 0/26 auto-closed as invalid on 2020/11/16 07:19
upstream KCSAN: data-race in mm_update_next_owner / wb_workfn (7) fs 1 1140d 1140d 0/26 auto-closed as invalid on 2021/04/17 00:26
upstream KCSAN: data-race in mm_update_next_owner / wb_workfn (5) fs 2 1231d 1235d 0/26 auto-closed as invalid on 2021/01/15 21:05
upstream KCSAN: data-race in mm_update_next_owner / wb_workfn (2) fs 3 1487d 1577d 0/26 auto-closed as invalid on 2020/06/08 08:14
upstream KCSAN: data-race in mm_update_next_owner / wb_workfn (6) fs 2 1183d 1195d 0/26 auto-closed as invalid on 2021/03/04 08:19
upstream KCSAN: data-race in mm_update_next_owner / wb_workfn (8) fs 4 1070d 1081d 0/26 auto-closed as invalid on 2021/06/25 06:02
upstream KCSAN: data-race in mm_update_next_owner / wb_workfn fs 2 1631d 1641d 0/26 closed as invalid on 2019/11/19 14:44

Sample crash report:
==================================================================
BUG: KCSAN: data-race in mm_update_next_owner / wb_workfn

write to 0xffff88812b7dc024 of 4 bytes by task 29 on cpu 0:
 wb_workfn+0x75/0x460 fs/fs-writeback.c:2067
 process_one_work+0x3e1/0x9a0 kernel/workqueue.c:2269
 worker_thread+0x665/0xbe0 kernel/workqueue.c:2415
 kthread+0x20d/0x230 kernel/kthread.c:291
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:293

read to 0xffff88812b7dc024 of 4 bytes by task 20588 on cpu 1:
 mm_update_next_owner+0x1d9/0x4a0 kernel/exit.c:386
 exit_mm+0x2c0/0x330 kernel/exit.c:481
 do_exit+0x415/0x16e0 kernel/exit.c:792
 do_group_exit+0xcb/0x180 kernel/exit.c:903
 get_signal+0x106d/0x1650 kernel/signal.c:2743
 do_signal+0x25/0x270 arch/x86/kernel/signal.c:810
 exit_to_usermode_loop arch/x86/entry/common.c:235 [inline]
 __prepare_exit_to_usermode+0x127/0x230 arch/x86/entry/common.c:269
 __syscall_return_slowpath+0x47/0x60 arch/x86/entry/common.c:352
 do_syscall_64+0x5d/0xb0 arch/x86/entry/common.c:393
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

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

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/07/18 21:23 upstream 6cf7ccba29dc 9c812472 .config console log report ci2-upstream-kcsan-gce
2020/06/28 12:36 upstream 719fdd32921f a2cdad9d .config console log report ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.