syzbot


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

Status: auto-closed as invalid on 2022/04/10 08:05
Subsystems: fs
[Documentation on labels]
First crash: 1091d, last: 1010d
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 1480d 1464d 0/28 auto-closed as invalid on 2020/12/26 08:23
upstream KCSAN: data-race in __writeback_single_inode / inode_io_list_del (4) fs 3 1189d 1215d 0/28 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 724d 724d 0/28 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 626d 626d 0/28 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 351d 351d 0/28 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 444d 444d 0/28 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 1442d 1442d 0/28 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 1266d 1338d 0/28 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 1146d 1146d 0/28 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 789d 797d 0/28 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

write to 0xffff888132abc3f0 of 8 bytes by task 1827 on cpu 0:
 inode_io_list_del+0x62/0x200 fs/fs-writeback.c:1275
 evict+0xad/0x410 fs/inode.c:651
 iput_final fs/inode.c:1744 [inline]
 iput+0x3ef/0x580 fs/inode.c:1770
 d_delete_notify include/linux/fsnotify.h:261 [inline]
 vfs_rmdir+0x270/0x320 fs/namei.c:4032
 do_rmdir+0x18d/0x330 fs/namei.c:4080
 __do_sys_rmdir fs/namei.c:4099 [inline]
 __se_sys_rmdir fs/namei.c:4097 [inline]
 __x64_sys_rmdir+0x2c/0x30 fs/namei.c:4097
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

read to 0xffff888132abc3f0 of 8 bytes by task 26906 on cpu 1:
 __writeback_single_inode+0x10c/0x590 fs/fs-writeback.c:1638
 writeback_sb_inodes+0x677/0xdf0 fs/fs-writeback.c:1891
 wb_writeback+0x26b/0x650 fs/fs-writeback.c:2064
 wb_do_writeback+0x101/0x560 fs/fs-writeback.c:2207
 wb_workfn+0xc8/0x440 fs/fs-writeback.c:2248
 process_one_work+0x3f6/0x960 kernel/workqueue.c:2307
 worker_thread+0x616/0xa70 kernel/workqueue.c:2454
 kthread+0x1bf/0x1e0 kernel/kthread.c:377
 ret_from_fork+0x1f/0x30

value changed: 0x0000000000020081 -> 0x00000000000000a1

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 26906 Comm: kworker/u4:42 Not tainted 5.17.0-rc6-syzkaller-00242-g0014404f9c18-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: writeback wb_workfn (flush-8:0)
==================================================================

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/03/06 08:01 upstream 0014404f9c18 7bdd8b2c .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __writeback_single_inode / inode_io_list_del
2022/02/08 07:30 upstream 2ade8eef993c a7dab638 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __writeback_single_inode / inode_io_list_del
2022/01/05 13:36 upstream c9e6606c7fe9 0a2584dd .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __writeback_single_inode / inode_io_list_del
2021/12/15 10:31 upstream 5472f14a3742 f752fb53 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __writeback_single_inode / inode_io_list_del
* Struck through repros no longer work on HEAD.