syzbot


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

Status: auto-closed as invalid on 2021/10/13 08:56
Subsystems: fs
[Documentation on labels]
First crash: 1213d, last: 1187d
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 1478d 1461d 0/28 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 1008d 1089d 0/28 auto-closed as invalid on 2022/04/10 08:05
upstream KCSAN: data-race in __writeback_single_inode / inode_io_list_del (8) fs 1 722d 722d 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 624d 624d 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 349d 349d 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 441d 441d 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 1440d 1440d 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 1263d 1336d 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 1143d 1143d 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 787d 794d 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 0xffff88814e14ec50 of 8 bytes by task 807 on cpu 1:
 inode_io_list_del+0xdc/0x2b0 fs/fs-writeback.c:1273
 evict+0xac/0x3c0 fs/inode.c:573
 iput_final fs/inode.c:1662 [inline]
 iput+0x430/0x580 fs/inode.c:1688
 do_unlinkat+0x2a4/0x520 fs/namei.c:4176
 __do_sys_unlink fs/namei.c:4217 [inline]
 __se_sys_unlink fs/namei.c:4215 [inline]
 __x64_sys_unlink+0x2c/0x30 fs/namei.c:4215
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0x90 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

read to 0xffff88814e14ec50 of 8 bytes by task 1791 on cpu 0:
 __writeback_single_inode+0x46/0x440 fs/fs-writeback.c:1612
 writeback_sb_inodes+0x563/0xd30 fs/fs-writeback.c:1881
 wb_writeback+0x25d/0x6b0 fs/fs-writeback.c:2053
 wb_do_writeback+0x101/0x510 fs/fs-writeback.c:2196
 wb_workfn+0xc8/0x520 fs/fs-writeback.c:2237
 process_one_work+0x402/0x910 kernel/workqueue.c:2297
 worker_thread+0x636/0xae0 kernel/workqueue.c:2444
 kthread+0x262/0x280 kernel/kthread.c:319
 ret_from_fork+0x1f/0x30

value changed: 0x0000000000020081 -> 0x00000000000000a1

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 1791 Comm: kworker/u4:4 Not tainted 5.14.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: writeback wb_workfn (flush-8:0)
==================================================================

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/09/08 08:47 upstream 0bcfe68b8767 064c9eb7 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __writeback_single_inode / inode_io_list_del
2021/09/04 21:56 upstream a9c9a6f741cd d236a457 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __writeback_single_inode / inode_io_list_del
2021/08/13 07:45 upstream f8e6dfc64f61 3fd2ea69 .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.