syzbot


KCSAN: data-race in iput / writeback_sb_inodes (3)
Status: auto-closed as invalid on 2020/08/11 19:26
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 687d, last: 687d
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 707d 707d 0/22 closed as invalid on 2020/06/18 14:13
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 345d 352d 0/22 auto-closed as invalid on 2021/07/20 06:50
upstream KCSAN: data-race in iput / writeback_sb_inodes (8) 1 48d 48d 0/22 auto-closed as invalid on 2022/05/13 10:29
upstream KCSAN: data-race in iput / writeback_sb_inodes 1 808d 808d 0/22 auto-closed as invalid on 2020/05/18 05:32
upstream KCSAN: data-race in iput / writeback_sb_inodes (5) 4 483d 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 535d 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 0xffff8880bb7bdac0 of 8 bytes by task 12330 on cpu 0:
 inode_sync_complete fs/fs-writeback.c:1197 [inline]
 writeback_sb_inodes+0x9c9/0xe40 fs/fs-writeback.c:1744
 wb_writeback+0x2b8/0x730 fs/fs-writeback.c:1892
 wb_do_writeback+0x108/0x610 fs/fs-writeback.c:2037
 wb_workfn+0xc8/0x460 fs/fs-writeback.c:2078
 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 0xffff8880bb7bdac0 of 8 bytes by task 8823 on cpu 1:
 iput+0x2e/0x550 fs/inode.c:1668
 do_unlinkat+0x2c9/0x4d0 fs/namei.c:3895
 __do_sys_unlink fs/namei.c:3936 [inline]
 __se_sys_unlink fs/namei.c:3934 [inline]
 __x64_sys_unlink+0x2c/0x30 fs/namei.c:3934
 do_syscall_64+0x51/0xb0 arch/x86/entry/common.c:384
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 8823 Comm: syz-executor.1 Not tainted 5.8.0-rc4-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/07/07 19:23 upstream bfe91da29bfa 08fc4ef1 .config log report