syzbot


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

Status: auto-obsoleted due to no activity on 2024/01/29 08:54
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+eb94f6d5b59ca16f56b4@syzkaller.appspotmail.com
First crash: 124d, last: 124d
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 (10) fs 1 217d 217d 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 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 0xffff88810673a1b0 of 8 bytes by task 29753 on cpu 0:
 inode_io_list_del+0x52/0x1d0 fs/fs-writeback.c:1264
 evict+0xad/0x410 fs/inode.c:653
 iput_final fs/inode.c:1777 [inline]
 iput+0x42c/0x5b0 fs/inode.c:1803
 d_delete_notify include/linux/fsnotify.h:262 [inline]
 vfs_rmdir+0x274/0x2f0 fs/namei.c:4202
 do_rmdir+0x194/0x320 fs/namei.c:4248
 __do_sys_unlinkat fs/namei.c:4424 [inline]
 __se_sys_unlinkat fs/namei.c:4418 [inline]
 __x64_sys_unlinkat+0xa4/0xb0 fs/namei.c:4418
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0x44/0x110 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b

read to 0xffff88810673a1b0 of 8 bytes by task 18957 on cpu 1:
 __writeback_single_inode+0x48/0x860 fs/fs-writeback.c:1621
 writeback_sb_inodes+0x514/0xad0 fs/fs-writeback.c:1916
 wb_writeback+0x252/0x6e0 fs/fs-writeback.c:2092
 wb_do_writeback fs/fs-writeback.c:2239 [inline]
 wb_workfn+0x1a8/0x8d0 fs/fs-writeback.c:2279
 process_one_work kernel/workqueue.c:2627 [inline]
 process_scheduled_works+0x5b8/0xa30 kernel/workqueue.c:2700
 worker_thread+0x525/0x730 kernel/workqueue.c:2781
 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:242

value changed: 0x0000000000020081 -> 0x00000000000000a1

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 18957 Comm: kworker/u4:11 Not tainted 6.7.0-rc7-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/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/12/25 08:53 upstream 861deac3b092 fb427a07 .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.