syzbot


KCSAN: data-race in __writeback_single_inode / inode_io_list_del (8)

Status: auto-obsoleted due to no activity on 2023/02/11 03:08
Subsystems: fs
[Documentation on labels]
First crash: 467d, last: 467d
Similar bugs (10)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in __writeback_single_inode / inode_io_list_del fs 3 1223d 1207d 0/26 auto-closed as invalid on 2020/12/26 08:23
upstream KCSAN: data-race in __writeback_single_inode / inode_io_list_del (6) fs 4 753d 834d 0/26 auto-closed as invalid on 2022/04/10 08:05
upstream KCSAN: data-race in __writeback_single_inode / inode_io_list_del (4) fs 3 932d 958d 0/26 auto-closed as invalid on 2021/10/13 08:56
upstream KCSAN: data-race in __writeback_single_inode / inode_io_list_del (9) fs 1 369d 369d 0/26 auto-obsoleted due to no activity on 2023/04/29 11:24
upstream KCSAN: data-race in __writeback_single_inode / inode_io_list_del (11) fs 1 94d 94d 0/26 auto-obsoleted due to no activity on 2024/01/29 08:54
upstream KCSAN: data-race in __writeback_single_inode / inode_io_list_del (10) fs 1 186d 186d 0/26 auto-obsoleted due to no activity on 2023/10/28 20:31
upstream KCSAN: data-race in __writeback_single_inode / inode_io_list_del (2) fs 1 1185d 1185d 0/26 auto-closed as invalid on 2021/02/02 10:05
upstream KCSAN: data-race in __writeback_single_inode / inode_io_list_del (3) fs 7 1008d 1081d 0/26 auto-closed as invalid on 2021/07/28 16:39
upstream KCSAN: data-race in __writeback_single_inode / inode_io_list_del (5) fs 1 888d 888d 0/26 auto-closed as invalid on 2021/11/25 13:43
upstream KCSAN: data-race in __writeback_single_inode / inode_io_list_del (7) fs 2 532d 540d 0/26 auto-obsoleted due to no activity on 2022/11/17 07:22

Sample crash report:
==================================================================
BUG: KCSAN: data-race in __writeback_single_inode / inode_io_list_del

read-write to 0xffff88810b33eb20 of 8 bytes by task 3139 on cpu 1:
 inode_io_list_del+0x4e/0x1c0 fs/fs-writeback.c:1242
 evict+0xad/0x410 fs/inode.c:651
 iput_final fs/inode.c:1747 [inline]
 iput+0x3f9/0x580 fs/inode.c:1773
 d_delete_notify include/linux/fsnotify.h:261 [inline]
 vfs_rmdir+0x270/0x2f0 fs/namei.c:4134
 do_rmdir+0x176/0x300 fs/namei.c:4182
 __do_sys_unlinkat fs/namei.c:4362 [inline]
 __se_sys_unlinkat fs/namei.c:4356 [inline]
 __x64_sys_unlinkat+0xa0/0xb0 fs/namei.c:4356
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

read to 0xffff88810b33eb20 of 8 bytes by task 12186 on cpu 0:
 __writeback_single_inode+0x46/0x590 fs/fs-writeback.c:1594
 writeback_sb_inodes+0x4dd/0xa30 fs/fs-writeback.c:1889
 __writeback_inodes_wb+0xa0/0x1b0 fs/fs-writeback.c:1960
 wb_writeback+0x280/0x650 fs/fs-writeback.c:2065
 wb_check_start_all fs/fs-writeback.c:2187 [inline]
 wb_do_writeback+0x418/0x600 fs/fs-writeback.c:2213
 wb_workfn+0x88/0x260 fs/fs-writeback.c:2246
 process_one_work+0x3d3/0x720 kernel/workqueue.c:2289
 worker_thread+0x618/0xa70 kernel/workqueue.c:2436
 kthread+0x1a9/0x1e0 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308

value changed: 0x0000000000020081 -> 0x00000000000000a1

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 12186 Comm: kworker/u4:60 Not tainted 6.1.0-syzkaller-11674-g84e57d292203-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
Workqueue: writeback wb_workfn (flush-8:0)
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/12/17 02:29 upstream 84e57d292203 05494336 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __writeback_single_inode / inode_io_list_del
* Struck through repros no longer work on HEAD.