syzbot


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

Status: auto-closed as invalid on 2021/07/31 05:30
Subsystems: fs
[Documentation on labels]
First crash: 1021d, last: 1021d
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in __writeback_single_inode / iput (2) fs 2 1441d 1497d 0/26 auto-closed as invalid on 2020/06/18 13:23
upstream KCSAN: data-race in __writeback_single_inode / iput (6) ext4 3 162d 125d 0/26 auto-obsoleted due to no activity on 2023/12/24 00:08
upstream KCSAN: data-race in __writeback_single_inode / iput fs 1 1578d 1578d 0/26 auto-closed as invalid on 2020/02/25 20:08
upstream KCSAN: data-race in __writeback_single_inode / iput (5) fs 2 580d 587d 0/26 auto-obsoleted due to no activity on 2022/10/16 04:00
upstream KCSAN: data-race in __writeback_single_inode / iput (4) fs 1 927d 927d 0/26 auto-closed as invalid on 2021/11/02 09:27

Sample crash report:
==================================================================
BUG: KCSAN: data-race in __writeback_single_inode / iput

write to 0xffff8881017db5c8 of 8 bytes by task 8 on cpu 1:
 __writeback_single_inode+0x1e9/0x450 fs/fs-writeback.c:1503
 writeback_sb_inodes+0x564/0xf10 fs/fs-writeback.c:1732
 __writeback_inodes_wb fs/fs-writeback.c:1801 [inline]
 wb_writeback+0x327/0x700 fs/fs-writeback.c:1907
 wb_check_start_all fs/fs-writeback.c:2031 [inline]
 wb_do_writeback+0x330/0x510 fs/fs-writeback.c:2057
 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

read to 0xffff8881017db5c8 of 8 bytes by task 9641 on cpu 0:
 iput+0x2e/0x590 fs/inode.c:1676
 iterate_bdevs+0x192/0x2b0 fs/block_dev.c:1939
 ksys_sync+0x93/0xe0 fs/sync.c:118
 __do_sys_sync+0xa/0x10 fs/sync.c:125
 do_syscall_64+0x4a/0x90 arch/x86/entry/common.c:47
 entry_SYSCALL_64_after_hwframe+0x44/0xae

value changed: 0x0000000000020084 -> 0x0000000000000000

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 9641 Comm: syz-executor.0 Not tainted 5.13.0-rc7-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/06/26 05:30 upstream b7050b242430 9d2ab5df .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __writeback_single_inode / iput
* Struck through repros no longer work on HEAD.