syzbot


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

Status: closed as invalid on 2020/06/18 14:13
Subsystems: fs
[Documentation on labels]
First crash: 1422d, last: 1422d
Similar bugs (10)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in iput / writeback_sb_inodes (3) fs 1 1403d 1403d 0/26 auto-closed as invalid on 2020/08/11 19:26
upstream KCSAN: data-race in iput / writeback_sb_inodes (7) fs 1 989d 989d 0/26 auto-closed as invalid on 2021/09/29 17:35
upstream KCSAN: data-race in iput / writeback_sb_inodes (6) fs 2 1060d 1067d 0/26 auto-closed as invalid on 2021/07/20 06:50
upstream KCSAN: data-race in iput / writeback_sb_inodes (8) fs 1 763d 763d 0/26 auto-closed as invalid on 2022/05/13 10:29
upstream KCSAN: data-race in iput / writeback_sb_inodes fs 1 1523d 1523d 0/26 auto-closed as invalid on 2020/05/18 05:32
upstream KCSAN: data-race in iput / writeback_sb_inodes (11) fs 1 66d 66d 0/26 auto-obsoleted due to no activity on 2024/04/09 08:02
upstream KCSAN: data-race in iput / writeback_sb_inodes (5) fs 4 1198d 1222d 0/26 auto-closed as invalid on 2021/03/04 09:19
upstream KCSAN: data-race in iput / writeback_sb_inodes (4) fs 7 1286d 1250d 0/26 auto-closed as invalid on 2020/12/21 11:42
upstream KCSAN: data-race in iput / writeback_sb_inodes (9) fs 2 645d 660d 0/26 auto-closed as invalid on 2022/09/08 05:08
upstream KCSAN: data-race in iput / writeback_sb_inodes (10) fs 1 380d 380d 0/26 auto-obsoleted due to no activity on 2023/05/31 14:58

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

write to 0xffff8880b8d885c0 of 8 bytes by task 3793 on cpu 0:
 writeback_sb_inodes+0x3bd/0xa10 fs/fs-writeback.c:1705
 wb_writeback+0x1f9/0x6a0 fs/fs-writeback.c:1892
 wb_do_writeback fs/fs-writeback.c:2037 [inline]
 wb_workfn+0x215/0x970 fs/fs-writeback.c:2078
 process_one_work+0x424/0x930 kernel/workqueue.c:2268
 worker_thread+0x9a/0x7e0 kernel/workqueue.c:2414
 kthread+0x203/0x230 kernel/kthread.c:268
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:352

read to 0xffff8880b8d885c0 of 8 bytes by task 9049 on cpu 1:
 iput+0x4d/0x4d0 fs/inode.c:1588
 dentry_unlink_inode+0x272/0x2e0 fs/dcache.c:374
 d_delete fs/dcache.c:2451 [inline]
 d_delete+0xca/0xe0 fs/dcache.c:2440
 vfs_rmdir fs/namei.c:3702 [inline]
 vfs_rmdir+0x2f1/0x310 fs/namei.c:3667
 do_rmdir+0x2e9/0x320 fs/namei.c:3750
 __do_sys_rmdir fs/namei.c:3768 [inline]
 __se_sys_rmdir fs/namei.c:3766 [inline]
 __x64_sys_rmdir+0x2c/0x40 fs/namei.c:3766
 do_syscall_64+0xc7/0x3b0 arch/x86/entry/common.c:295
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 9049 Comm: syz-executor.1 Not tainted 5.7.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/06/18 05:13 https://github.com/google/ktsan.git kcsan 7c3cd68e5d38 d45a4d69 .config console log report ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.