syzbot


KCSAN: data-race in iput / writeback_sb_inodes
Status: auto-closed as invalid on 2020/05/18 05:32
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 807d, last: 807d
similar bugs (7):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in iput / writeback_sb_inodes (2) 1 706d 706d 0/22 closed as invalid on 2020/06/18 14:13
upstream KCSAN: data-race in iput / writeback_sb_inodes (3) 1 687d 687d 0/22 auto-closed as invalid on 2020/08/11 19:26
upstream KCSAN: data-race in iput / writeback_sb_inodes (7) 1 273d 273d 0/22 auto-closed as invalid on 2021/09/29 17:35
upstream KCSAN: data-race in iput / writeback_sb_inodes (6) 2 344d 351d 0/22 auto-closed as invalid on 2021/07/20 06:50
upstream KCSAN: data-race in iput / writeback_sb_inodes (8) 1 47d 47d 0/22 auto-closed as invalid on 2022/05/13 10:29
upstream KCSAN: data-race in iput / writeback_sb_inodes (5) 4 482d 506d 0/22 auto-closed as invalid on 2021/03/04 09:19
upstream KCSAN: data-race in iput / writeback_sb_inodes (4) 7 570d 534d 0/22 auto-closed as invalid on 2020/12/21 11:42

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

write to 0xffff8880af0fc1c0 of 8 bytes by task 1002 on cpu 1:
 writeback_sb_inodes+0x3bd/0xa10 fs/fs-writeback.c:1705
 wb_writeback+0x1f9/0x6a0 fs/fs-writeback.c:1892
 wb_do_writeback fs/fs-writeback.c:2037 [inline]
 wb_workfn+0x215/0x970 fs/fs-writeback.c:2078
 process_one_work+0x424/0x930 kernel/workqueue.c:2264
 worker_thread+0x9a/0x7e0 kernel/workqueue.c:2410
 kthread+0x1cb/0x1f0 kernel/kthread.c:255
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:352

read to 0xffff8880af0fc1c0 of 8 bytes by task 7888 on cpu 0:
 iput+0x4d/0x4d0 fs/inode.c:1587
 do_unlinkat+0x388/0x550 fs/namei.c:4143
 __do_sys_unlink fs/namei.c:4184 [inline]
 __se_sys_unlink fs/namei.c:4182 [inline]
 __x64_sys_unlink+0x38/0x50 fs/namei.c:4182
 do_syscall_64+0xc7/0x390 arch/x86/entry/common.c:294
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

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

Crashes (1):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2020/03/09 05:30 https://github.com/google/ktsan.git kcsan 941e0d917bbf 2e9971bb .config log report