syzbot


KCSAN: data-race in evict / writeback_sb_inodes

Status: auto-closed as invalid on 2020/11/01 12:53
Subsystems: fs
[Documentation on labels]
First crash: 1306d, last: 1278d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in evict / writeback_sb_inodes (4) fs 1 1038d 1038d 0/26 auto-closed as invalid on 2021/06/29 12:32
upstream KCSAN: data-race in evict / writeback_sb_inodes (2) fs 1 1191d 1191d 0/26 auto-closed as invalid on 2021/01/27 13:06
upstream KCSAN: data-race in evict / writeback_sb_inodes (3) fs 1 1111d 1111d 0/26 auto-closed as invalid on 2021/04/17 10:46

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

write to 0xffff8880bb242808 of 8 bytes by task 10570 on cpu 0:
 writeback_sb_inodes+0x427/0xff0 fs/fs-writeback.c:1190
 wb_writeback+0x28d/0x6f0 fs/fs-writeback.c:1894
 wb_do_writeback+0x101/0x5f0 fs/fs-writeback.c:2039
 wb_workfn+0xc8/0x470 fs/fs-writeback.c:2080
 process_one_work+0x3e1/0x9a0 kernel/workqueue.c:2269
 worker_thread+0x665/0xbe0 kernel/workqueue.c:2415
 kthread+0x20d/0x230 kernel/kthread.c:292
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294

read to 0xffff8880bb242808 of 8 bytes by task 8716 on cpu 1:
 evict+0x42/0x470 fs/inode.c:559
 iput_final fs/inode.c:1652 [inline]
 iput+0x44a/0x550 fs/inode.c:1678
 do_unlinkat+0x2c9/0x4d0 fs/namei.c:3902
 __do_sys_unlink fs/namei.c:3942 [inline]
 __se_sys_unlink fs/namei.c:3940 [inline]
 __x64_sys_unlink+0x2c/0x30 fs/namei.c:3940
 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

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

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/09/27 12:52 upstream a1bffa48745a 5dd8aee8 .config console log report info ci2-upstream-kcsan-gce
2020/09/05 20:44 upstream 9322c47b21b9 abf9ba4f .config console log report ci2-upstream-kcsan-gce
2020/08/30 08:05 upstream 1127b219ce94 d5a3ae1f .config console log report ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.