syzbot


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

Status: auto-closed as invalid on 2020/08/11 19:26
Subsystems: fs
[Documentation on labels]
First crash: 1417d, last: 1417d
Similar bugs (10)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in iput / writeback_sb_inodes (2) fs 1 1436d 1436d 0/26 closed as invalid on 2020/06/18 14:13
upstream KCSAN: data-race in iput / writeback_sb_inodes (7) fs 1 1003d 1003d 0/26 auto-closed as invalid on 2021/09/29 17:35
upstream KCSAN: data-race in iput / writeback_sb_inodes (6) fs 2 1074d 1081d 0/26 auto-closed as invalid on 2021/07/20 06:50
upstream KCSAN: data-race in iput / writeback_sb_inodes (8) fs 1 777d 777d 0/26 auto-closed as invalid on 2022/05/13 10:29
upstream KCSAN: data-race in iput / writeback_sb_inodes fs 1 1537d 1537d 0/26 auto-closed as invalid on 2020/05/18 05:32
upstream KCSAN: data-race in iput / writeback_sb_inodes (11) fs 1 80d 80d 0/26 auto-obsoleted due to no activity on 2024/04/09 08:02
upstream KCSAN: data-race in iput / writeback_sb_inodes (5) fs 4 1212d 1236d 0/26 auto-closed as invalid on 2021/03/04 09:19
upstream KCSAN: data-race in iput / writeback_sb_inodes (4) fs 7 1300d 1264d 0/26 auto-closed as invalid on 2020/12/21 11:42
upstream KCSAN: data-race in iput / writeback_sb_inodes (9) fs 2 659d 674d 0/26 auto-closed as invalid on 2022/09/08 05:08
upstream KCSAN: data-race in iput / writeback_sb_inodes (10) fs 1 394d 394d 0/26 auto-obsoleted due to no activity on 2023/05/31 14:58

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

write to 0xffff8880bb7bdac0 of 8 bytes by task 12330 on cpu 0:
 inode_sync_complete fs/fs-writeback.c:1197 [inline]
 writeback_sb_inodes+0x9c9/0xe40 fs/fs-writeback.c:1744
 wb_writeback+0x2b8/0x730 fs/fs-writeback.c:1892
 wb_do_writeback+0x108/0x610 fs/fs-writeback.c:2037
 wb_workfn+0xc8/0x460 fs/fs-writeback.c:2078
 process_one_work+0x3e1/0x9a0 kernel/workqueue.c:2269
 worker_thread+0x665/0xbe0 kernel/workqueue.c:2415
 kthread+0x20d/0x230 kernel/kthread.c:291
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:293

read to 0xffff8880bb7bdac0 of 8 bytes by task 8823 on cpu 1:
 iput+0x2e/0x550 fs/inode.c:1668
 do_unlinkat+0x2c9/0x4d0 fs/namei.c:3895
 __do_sys_unlink fs/namei.c:3936 [inline]
 __se_sys_unlink fs/namei.c:3934 [inline]
 __x64_sys_unlink+0x2c/0x30 fs/namei.c:3934
 do_syscall_64+0x51/0xb0 arch/x86/entry/common.c:384
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 8823 Comm: syz-executor.1 Not tainted 5.8.0-rc4-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
2020/07/07 19:23 upstream bfe91da29bfa 08fc4ef1 .config console log report ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.