syzbot


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

Status: auto-closed as invalid on 2021/11/25 13:43
Subsystems: fs
[Documentation on labels]
First crash: 911d, last: 911d
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 1245d 1229d 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 775d 856d 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 954d 980d 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 489d 489d 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 391d 391d 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 116d 116d 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 (10) fs 1 209d 209d 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 1207d 1207d 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 1031d 1103d 0/26 auto-closed as invalid on 2021/07/28 16:39
upstream KCSAN: data-race in __writeback_single_inode / inode_io_list_del (7) fs 2 554d 562d 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

write to 0xffff888104af0270 of 8 bytes by task 501 on cpu 1:
 inode_io_list_del+0xdc/0x2b0 fs/fs-writeback.c:1273
 evict+0xac/0x3c0 fs/inode.c:575
 iput_final fs/inode.c:1664 [inline]
 iput+0x430/0x580 fs/inode.c:1690
 do_unlinkat+0x2d4/0x540 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+0x44/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

read to 0xffff888104af0270 of 8 bytes by task 57 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+0x27d/0x6d0 fs/fs-writeback.c:2053
 wb_do_writeback+0x101/0x530 fs/fs-writeback.c:2196
 wb_workfn+0xc8/0x540 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: 57 Comm: kworker/u4:2 Not tainted 5.15.0-rc6-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
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
2021/10/21 13:36 upstream 2f111a6fd5b5 c5cb7da8 .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.