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: 1228d, last: 1228d
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 708d 708d 0/26 auto-closed as invalid on 2022/07/21 10:59
upstream KCSAN: data-race in iput / move_expired_inodes (8) fs 1 323d 323d 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 104d 104d 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 454d 454d 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 142d 164d 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 1278d 1264d 0/26 auto-closed as invalid on 2020/12/27 22:09
upstream KCSAN: data-race in iput / move_expired_inodes (3) fs 3 1117d 1161d 0/26 auto-closed as invalid on 2021/06/07 20:37
upstream KCSAN: data-race in iput / move_expired_inodes (4) fs 1 987d 987d 0/26 auto-closed as invalid on 2021/10/15 01:41
upstream KCSAN: data-race in iput / move_expired_inodes (6) fs 1 499d 499d 0/26 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.