syzbot


KCSAN: data-race in iput / move_expired_inodes (5)

Status: auto-closed as invalid on 2022/07/21 10:59
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 169d, last: 169d
similar bugs (4):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in iput / move_expired_inodes 5 740d 725d 0/24 auto-closed as invalid on 2020/12/27 22:09
upstream KCSAN: data-race in iput / move_expired_inodes (3) 3 578d 623d 0/24 auto-closed as invalid on 2021/06/07 20:37
upstream KCSAN: data-race in iput / move_expired_inodes (4) 1 449d 449d 0/24 auto-closed as invalid on 2021/10/15 01:41
upstream KCSAN: data-race in iput / move_expired_inodes (2) 1 689d 689d 0/24 auto-closed as invalid on 2021/02/16 20:27

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

read-write to 0xffff88813bc4c6d0 of 8 bytes by task 30965 on cpu 1:
 move_expired_inodes+0x1c0/0x4a0 fs/fs-writeback.c:1372
 queue_io+0xe1/0x2b0 fs/fs-writeback.c:1424
 wb_writeback+0x243/0x650 fs/fs-writeback.c:2037
 wb_do_writeback+0x101/0x600 fs/fs-writeback.c:2182
 wb_workfn+0x88/0x260 fs/fs-writeback.c:2222
 process_one_work+0x3d3/0x720 kernel/workqueue.c:2289
 worker_thread+0x618/0xa70 kernel/workqueue.c:2436
 kthread+0x1a9/0x1e0 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30

read to 0xffff88813bc4c6d0 of 8 bytes by task 1827 on cpu 0:
 iput+0x2e/0x580 fs/inode.c:1760
 d_delete_notify include/linux/fsnotify.h:261 [inline]
 vfs_rmdir+0x270/0x2f0 fs/namei.c:4074
 do_rmdir+0x178/0x300 fs/namei.c:4122
 __do_sys_unlinkat fs/namei.c:4302 [inline]
 __se_sys_unlinkat fs/namei.c:4296 [inline]
 __x64_sys_unlinkat+0xa0/0xb0 fs/namei.c:4296
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x46/0xb0

value changed: 0x0000000000000001 -> 0x0000000000000000

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 1827 Comm: syz-executor.1 Not tainted 5.19.0-rc2-syzkaller-00060-g30306f6194ca-dirty #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 2022/06/16 10:58 upstream 30306f6194ca 1719ee24 .config log report info KCSAN: data-race in iput / move_expired_inodes
* Struck through repros no longer work on HEAD.