syzbot


KCSAN: data-race in evict / writeback_sb_inodes (2)

Status: auto-closed as invalid on 2021/01/27 13:06
Subsystems: fs
[Documentation on labels]
First crash: 1830d, last: 1830d
Similar bugs (3)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in evict / writeback_sb_inodes (4) fs 6 1 1677d 1677d 0/29 auto-closed as invalid on 2021/06/29 12:32
upstream KCSAN: data-race in evict / writeback_sb_inodes (3) fs 6 1 1751d 1751d 0/29 auto-closed as invalid on 2021/04/17 10:46
upstream KCSAN: data-race in evict / writeback_sb_inodes fs 6 3 1917d 1946d 0/29 auto-closed as invalid on 2020/11/01 12:53

Sample crash report:
==================================================================
BUG: KCSAN: data-race in evict / writeback_sb_inodes

read-write to 0xffff888027812b58 of 8 bytes by task 8 on cpu 0:
 redirty_tail_locked fs/fs-writeback.c:1190 [inline]
 writeback_sb_inodes+0x405/0x1020 fs/fs-writeback.c:1677
 wb_writeback+0x27d/0x660 fs/fs-writeback.c:1894
 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 0xffff888027812b58 of 8 bytes by task 8473 on cpu 1:
 evict+0x42/0x410 fs/inode.c:560
 iput_final fs/inode.c:1651 [inline]
 iput+0x421/0x510 fs/inode.c:1677
 dentry_unlink_inode+0x1f3/0x210 fs/dcache.c:374
 d_delete+0x70/0xa0 fs/dcache.c:2470
 vfs_rmdir+0x271/0x290 fs/namei.c:3727
 do_rmdir+0x16e/0x300 fs/namei.c:3774
 __do_sys_rmdir fs/namei.c:3792 [inline]
 __se_sys_rmdir fs/namei.c:3790 [inline]
 __x64_sys_rmdir+0x2c/0x30 fs/namei.c:3790
 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: 8473 Comm: syz-executor.4 Not tainted 5.10.0-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/23 12:57 upstream 614cb5894306 c2c1d1dd .config console log report info ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.