syzbot


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

Status: auto-obsoleted due to no activity on 2023/05/31 14:58
Subsystems: fs
[Documentation on labels]
First crash: 370d, last: 370d
Similar bugs (10)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in iput / writeback_sb_inodes (2) fs 1 1413d 1413d 0/26 closed as invalid on 2020/06/18 14:13
upstream KCSAN: data-race in iput / writeback_sb_inodes (3) fs 1 1393d 1393d 0/26 auto-closed as invalid on 2020/08/11 19:26
upstream KCSAN: data-race in iput / writeback_sb_inodes (7) fs 1 979d 979d 0/26 auto-closed as invalid on 2021/09/29 17:35
upstream KCSAN: data-race in iput / writeback_sb_inodes (6) fs 2 1051d 1058d 0/26 auto-closed as invalid on 2021/07/20 06:50
upstream KCSAN: data-race in iput / writeback_sb_inodes (8) fs 1 754d 754d 0/26 auto-closed as invalid on 2022/05/13 10:29
upstream KCSAN: data-race in iput / writeback_sb_inodes fs 1 1514d 1514d 0/26 auto-closed as invalid on 2020/05/18 05:32
upstream KCSAN: data-race in iput / writeback_sb_inodes (11) fs 1 57d 57d 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 1189d 1212d 0/26 auto-closed as invalid on 2021/03/04 09:19
upstream KCSAN: data-race in iput / writeback_sb_inodes (4) fs 7 1276d 1241d 0/26 auto-closed as invalid on 2020/12/21 11:42
upstream KCSAN: data-race in iput / writeback_sb_inodes (9) fs 2 636d 650d 0/26 auto-closed as invalid on 2022/09/08 05:08

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

write to 0xffff88810aa38ae0 of 8 bytes by task 15370 on cpu 1:
 writeback_sb_inodes+0x2db/0xaa0 fs/fs-writeback.c:1883
 __writeback_inodes_wb+0x9a/0x1a0 fs/fs-writeback.c:1965
 wb_writeback+0x24d/0x6c0 fs/fs-writeback.c:2070
 wb_check_start_all fs/fs-writeback.c:2192 [inline]
 wb_do_writeback fs/fs-writeback.c:2218 [inline]
 wb_workfn+0x4ea/0x8d0 fs/fs-writeback.c:2251
 process_one_work+0x3e6/0x750 kernel/workqueue.c:2390
 worker_thread+0x5f2/0xa10 kernel/workqueue.c:2537
 kthread+0x1d7/0x210 kernel/kthread.c:379
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308

read to 0xffff88810aa38ae0 of 8 bytes by task 3067 on cpu 0:
 iput+0x32/0x5b0 fs/inode.c:1764
 dentry_unlink_inode+0x22a/0x240 fs/dcache.c:401
 d_delete+0x76/0xf0 fs/dcache.c:2565
 d_delete_notify include/linux/fsnotify.h:259 [inline]
 vfs_rmdir+0x1a0/0x2f0 fs/namei.c:4134
 do_rmdir+0x18e/0x300 fs/namei.c:4180
 __do_sys_unlinkat fs/namei.c:4358 [inline]
 __se_sys_unlinkat fs/namei.c:4352 [inline]
 __x64_sys_unlinkat+0xa4/0xb0 fs/namei.c:4352
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

value changed: 0x0000000000020007 -> 0x0000000000000000

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 3067 Comm: syz-executor.0 Not tainted 6.3.0-syzkaller-04626-g0cfd8703e7da #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/04/26 14:55 upstream 0cfd8703e7da 8d843721 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in iput / writeback_sb_inodes
* Struck through repros no longer work on HEAD.