syzbot


KCSAN: data-race in evict / inode_sync_complete

Status: auto-closed as invalid on 2020/03/02 13:52
Subsystems: fs
[Documentation on labels]
First crash: 1584d, last: 1584d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in evict / inode_sync_complete (2) fs 1 1504d 1504d 0/26 auto-closed as invalid on 2020/05/21 17:02

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

write to 0xffff8881251f3280 of 8 bytes by task 7 on cpu 1:
 inode_sync_complete+0x3a/0x70 fs/fs-writeback.c:1197
 writeback_sb_inodes+0x791/0xa50 fs/fs-writeback.c:1744
 wb_writeback+0x1f9/0x6a0 fs/fs-writeback.c:1892
 wb_do_writeback fs/fs-writeback.c:2037 [inline]
 wb_workfn+0x22e/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 0xffff8881251f3280 of 8 bytes by task 7948 on cpu 0:
 evict+0x64/0x410 fs/inode.c:557
 iput_final fs/inode.c:1563 [inline]
 iput+0x371/0x4e0 fs/inode.c:1589
 do_unlinkat+0x378/0x530 fs/namei.c:4073
 __do_sys_unlink fs/namei.c:4114 [inline]
 __se_sys_unlink fs/namei.c:4112 [inline]
 __x64_sys_unlink+0x3b/0x50 fs/namei.c:4112
 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: 7948 Comm: syz-executor.1 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/23 13:47 https://github.com/google/ktsan.git kcsan 245a43005292 be5c2c81 .config console log report ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.