syzbot


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

Status: auto-closed as invalid on 2021/07/28 16:39
Subsystems: fs
[Documentation on labels]
First crash: 960d, last: 887d
Similar bugs (9)
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 1102d 1086d 0/25 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 632d 713d 0/25 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 811d 837d 0/25 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 346d 346d 0/25 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 248d 248d 0/25 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 65d 65d 0/25 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 1064d 1064d 0/25 auto-closed as invalid on 2021/02/02 10:05
upstream KCSAN: data-race in __writeback_single_inode / inode_io_list_del (5) fs 1 767d 767d 0/25 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 411d 419d 0/25 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 0xffff888106bb57c8 of 8 bytes by task 10996 on cpu 1:
 inode_io_list_del_locked fs/fs-writeback.c:148 [inline]
 inode_io_list_del+0x10c/0x2f0 fs/fs-writeback.c:1127
 evict+0xac/0x3c0 fs/inode.c:571
 iput_final fs/inode.c:1660 [inline]
 iput+0x433/0x590 fs/inode.c:1686
 do_unlinkat+0x293/0x4f0 fs/namei.c:4099
 __do_sys_unlink fs/namei.c:4139 [inline]
 __se_sys_unlink fs/namei.c:4137 [inline]
 __x64_sys_unlink+0x2c/0x30 fs/namei.c:4137
 do_syscall_64+0x4a/0x90 arch/x86/entry/common.c:47
 entry_SYSCALL_64_after_hwframe+0x44/0xae

read to 0xffff888106bb57c8 of 8 bytes by task 23857 on cpu 0:
 __writeback_single_inode+0x46/0x450 fs/fs-writeback.c:1463
 writeback_sb_inodes+0x564/0xf10 fs/fs-writeback.c:1732
 wb_writeback+0x28e/0x700 fs/fs-writeback.c:1905
 wb_do_writeback+0x101/0x510 fs/fs-writeback.c:2050
 wb_workfn+0xc8/0x520 fs/fs-writeback.c:2091
 process_one_work+0x3e9/0x8f0 kernel/workqueue.c:2276
 worker_thread+0x636/0xae0 kernel/workqueue.c:2422
 kthread+0x1d0/0x1f0 kernel/kthread.c:313
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294

value changed: 0x0000000000020081 -> 0x00000000000000a1

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 23857 Comm: kworker/u4:7 Tainted: G        W         5.13.0-rc7-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: writeback wb_workfn (flush-8:0)
==================================================================

Crashes (7):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/06/23 16:31 upstream 0c18f29aae7c aba2b2fb .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __writeback_single_inode / inode_io_list_del
2021/06/15 09:37 upstream 009c9aa5be65 8022d7e3 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __writeback_single_inode / inode_io_list_del
2021/06/01 18:09 upstream c2131f7e73c9 032639db .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __writeback_single_inode / inode_io_list_del
2021/05/02 13:17 upstream 17ae69aba89d 77e2b668 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __writeback_single_inode / inode_io_list_del
2021/04/27 20:14 upstream 4a0225c3d208 805b5003 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __writeback_single_inode / inode_io_list_del
2021/04/24 07:52 upstream 8db5efb83fa9 17f0b706 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __writeback_single_inode / inode_io_list_del
2021/04/12 09:57 upstream d434405aaab7 6a81331a .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.