syzbot


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

Status: auto-obsoleted due to no activity on 2023/10/28 20:31
Subsystems: fs
[Documentation on labels]
First crash: 217d, last: 217d
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 1253d 1237d 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 783d 864d 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 962d 988d 0/26 auto-closed as invalid on 2021/10/13 08:56
upstream KCSAN: data-race in __writeback_single_inode / inode_io_list_del (8) fs 1 497d 497d 0/26 auto-obsoleted due to no activity on 2023/02/11 03:08
upstream KCSAN: data-race in __writeback_single_inode / inode_io_list_del (9) fs 1 399d 399d 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 124d 124d 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 (2) fs 1 1215d 1215d 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 1039d 1111d 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 919d 919d 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 562d 570d 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 0xffff8881061ac650 of 8 bytes by task 11030 on cpu 1:
 inode_io_list_del+0x52/0x1d0 fs/fs-writeback.c:1247
 evict+0xad/0x410 fs/inode.c:651
 iput_final fs/inode.c:1775 [inline]
 iput+0x42c/0x5b0 fs/inode.c:1801
 d_delete_notify include/linux/fsnotify.h:263 [inline]
 vfs_rmdir+0x274/0x2f0 fs/namei.c:4216
 do_rmdir+0x194/0x310 fs/namei.c:4262
 __do_sys_unlinkat fs/namei.c:4440 [inline]
 __se_sys_unlinkat fs/namei.c:4434 [inline]
 __x64_sys_unlinkat+0xa4/0xb0 fs/namei.c:4434
 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

read to 0xffff8881061ac650 of 8 bytes by task 28572 on cpu 0:
 __writeback_single_inode+0x11e/0x860 fs/fs-writeback.c:1623
 writeback_sb_inodes+0x511/0xaa0 fs/fs-writeback.c:1894
 wb_writeback+0x252/0x6e0 fs/fs-writeback.c:2070
 wb_do_writeback fs/fs-writeback.c:2217 [inline]
 wb_workfn+0x1a8/0x8d0 fs/fs-writeback.c:2257
 process_one_work kernel/workqueue.c:2630 [inline]
 process_scheduled_works+0x5b8/0xa30 kernel/workqueue.c:2703
 worker_thread+0x525/0x730 kernel/workqueue.c:2784
 kthread+0x1d7/0x210 kernel/kthread.c:388
 ret_from_fork+0x48/0x60 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304

value changed: 0x0000000000020087 -> 0x00000000000000a7

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 28572 Comm: kworker/u4:44 Not tainted 6.6.0-rc2-syzkaller-00337-gd90b0276af8f #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023
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
2023/09/23 20:20 upstream d90b0276af8f 0b6a67ac .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.