syzbot


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

Status: auto-closed as invalid on 2021/02/16 20:27
Subsystems: fs
[Documentation on labels]
First crash: 1371d, last: 1371d
Similar bugs (9)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in iput / move_expired_inodes (5) fs 1 852d 852d 0/28 auto-closed as invalid on 2022/07/21 10:59
upstream KCSAN: data-race in iput / move_expired_inodes (8) fs 1 467d 467d 0/28 auto-obsoleted due to no activity on 2023/08/10 09:55
upstream KCSAN: data-race in iput / move_expired_inodes (10) fs 1 248d 248d 0/28 auto-obsoleted due to no activity on 2024/03/16 00:02
upstream KCSAN: data-race in iput / move_expired_inodes (7) fs 1 597d 597d 0/28 auto-obsoleted due to no activity on 2023/04/08 21:12
upstream KCSAN: data-race in iput / move_expired_inodes (9) fs 2 285d 308d 0/28 auto-obsoleted due to no activity on 2024/02/07 16:43
upstream KCSAN: data-race in iput / move_expired_inodes fs 5 1422d 1408d 0/28 auto-closed as invalid on 2020/12/27 22:09
upstream KCSAN: data-race in iput / move_expired_inodes (3) fs 3 1260d 1305d 0/28 auto-closed as invalid on 2021/06/07 20:37
upstream KCSAN: data-race in iput / move_expired_inodes (4) fs 1 1131d 1131d 0/28 auto-closed as invalid on 2021/10/15 01:41
upstream KCSAN: data-race in iput / move_expired_inodes (6) fs 1 642d 642d 0/28 auto-obsoleted due to no activity on 2023/02/22 21:07

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

read-write to 0xffff888009ac0cd8 of 8 bytes by task 3274 on cpu 0:
 move_expired_inodes+0x1bf/0x490 fs/fs-writeback.c:1257
 queue_io+0xe1/0x2b0 fs/fs-writeback.c:1304
 wb_writeback+0x255/0x660 fs/fs-writeback.c:1892
 wb_do_writeback+0x101/0x5d0 fs/fs-writeback.c:2039
 wb_workfn+0xb8/0x410 fs/fs-writeback.c:2080
 process_one_work+0x3e1/0x950 kernel/workqueue.c:2275
 worker_thread+0x635/0xb90 kernel/workqueue.c:2421
 kthread+0x1fd/0x220 kernel/kthread.c:292
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296

read to 0xffff888009ac0cd8 of 8 bytes by task 8457 on cpu 1:
 iput+0x2e/0x510 fs/inode.c:1669
 dentry_unlink_inode+0x1f3/0x210 fs/dcache.c:374
 d_delete+0x70/0xa0 fs/dcache.c:2477
 vfs_rmdir+0x271/0x290 fs/namei.c:3729
 do_rmdir+0x16e/0x300 fs/namei.c:3776
 __do_sys_rmdir fs/namei.c:3794 [inline]
 __se_sys_rmdir fs/namei.c:3792 [inline]
 __x64_sys_rmdir+0x2c/0x30 fs/namei.c:3792
 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 8457 Comm: syz-executor.3 Not tainted 5.11.0-rc3-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
2021/01/12 20:25 upstream e609571b5ffa 0cdd6185 .config console log report info ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.