syzbot


KCSAN: data-race in __ext4_update_other_inode_time / move_expired_inodes

Status: auto-closed as invalid on 2021/02/04 04:18
Subsystems: ext4
[Documentation on labels]
First crash: 1212d, last: 1212d

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

read-write to 0xffff888009058bd8 of 8 bytes by task 1341 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 0xffff888009058bd8 of 8 bytes by task 24477 on cpu 1:
 __ext4_update_other_inode_time+0x45/0x550 fs/ext4/inode.c:4964
 ext4_update_other_inodes_time fs/ext4/inode.c:5011 [inline]
 ext4_do_update_inode fs/ext4/inode.c:5140 [inline]
 ext4_mark_iloc_dirty+0x1286/0x1650 fs/ext4/inode.c:5721
 __ext4_mark_inode_dirty+0x4cd/0x5d0 fs/ext4/inode.c:5915
 ext4_truncate+0x9fc/0xbd0 fs/ext4/inode.c:4286
 ext4_evict_inode+0xa2a/0xee0 fs/ext4/inode.c:287
 evict+0x1aa/0x410 fs/inode.c:577
 iput_final fs/inode.c:1653 [inline]
 iput+0x3fd/0x510 fs/inode.c:1679
 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: 24477 Comm: syz-executor.4 Not tainted 5.11.0-rc1-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
2020/12/31 04:12 upstream f6e1ea196492 5cc121d6 .config console log report info ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.