syzbot


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

Status: auto-closed as invalid on 2022/07/21 10:59
Subsystems: fs
[Documentation on labels]
First crash: 671d, last: 671d
Similar bugs (9)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in iput / move_expired_inodes (8) fs 1 286d 286d 0/26 auto-obsoleted due to no activity on 2023/08/10 09:55
upstream KCSAN: data-race in iput / move_expired_inodes (10) fs 1 68d 68d 0/26 auto-obsoleted due to no activity on 2024/03/16 00:02
upstream KCSAN: data-race in iput / move_expired_inodes (7) fs 1 417d 417d 0/26 auto-obsoleted due to no activity on 2023/04/08 21:12
upstream KCSAN: data-race in iput / move_expired_inodes (9) fs 2 105d 127d 0/26 auto-obsoleted due to no activity on 2024/02/07 16:43
upstream KCSAN: data-race in iput / move_expired_inodes fs 5 1242d 1227d 0/26 auto-closed as invalid on 2020/12/27 22:09
upstream KCSAN: data-race in iput / move_expired_inodes (3) fs 3 1080d 1125d 0/26 auto-closed as invalid on 2021/06/07 20:37
upstream KCSAN: data-race in iput / move_expired_inodes (4) fs 1 950d 950d 0/26 auto-closed as invalid on 2021/10/15 01:41
upstream KCSAN: data-race in iput / move_expired_inodes (6) fs 1 462d 462d 0/26 auto-obsoleted due to no activity on 2023/02/22 21:07
upstream KCSAN: data-race in iput / move_expired_inodes (2) fs 1 1191d 1191d 0/26 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):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/06/16 10:58 upstream 30306f6194ca 1719ee24 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in iput / move_expired_inodes
* Struck through repros no longer work on HEAD.