syzbot


WARNING in bch2_writepage_io_done (2)

Status: upstream: reported on 2024/11/02 00:53
Subsystems: bcachefs
[Documentation on labels]
Reported-by: syzbot+9765be6fa7d03a49a95c@syzkaller.appspotmail.com
First crash: 38d, last: 19d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [bcachefs?] WARNING in bch2_writepage_io_done (2) 0 (1) 2024/11/02 00:53
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in bch2_writepage_io_done bcachefs 2 204d 200d 0/28 auto-obsoleted due to no activity on 2024/08/23 03:08

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 52 at fs/bcachefs/fs-io-buffered.c:419 bch2_writepage_io_done+0x857/0xd10 fs/bcachefs/fs-io-buffered.c:419
Modules linked in:
CPU: 0 UID: 0 PID: 52 Comm: kworker/u8:3 Not tainted 6.12.0-rc5-syzkaller-00005-ge42b1a9a2557 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Workqueue: writeback wb_workfn (flush-bcachefs-56)
RIP: 0010:bch2_writepage_io_done+0x857/0xd10 fs/bcachefs/fs-io-buffered.c:419
Code: ff e8 cd 38 82 fd 8b 84 24 88 00 00 00 48 8b 74 24 08 48 8b 7c 24 10 8d 50 01 89 04 24 e8 11 ee ff ff eb c5 e8 aa 38 82 fd 90 <0f> 0b 90 e8 a1 38 82 fd 48 8b 44 24 18 48 8d 78 f8 48 b8 00 00 00
RSP: 0018:ffffc90000bd71b0 EFLAGS: 00010293
RAX: 0000000000000000 RBX: 0000000000000008 RCX: ffffffff840b3bd9
RDX: ffff888022699e00 RSI: ffffffff840b4286 RDI: 0000000000000007
RBP: 0000000000000008 R08: 0000000000000007 R09: 0000000000000000
R10: 0000000000000008 R11: 0000000000000000 R12: ffffea00004d63c0
R13: ffff88814cd81b80 R14: 0000000000000008 R15: dffffc0000000000
FS:  0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f7e3b046f98 CR3: 000000005dbaa000 CR4: 0000000000350ef0
Call Trace:
 <TASK>
 bch2_write_done+0x246/0x400 fs/bcachefs/io_write.c:477
 bch2_write_data_inline fs/bcachefs/io_write.c:1561 [inline]
 bch2_write+0xb42/0x14a0 fs/bcachefs/io_write.c:1630
 bch2_writepages+0x136/0x200 fs/bcachefs/fs-io-buffered.c:641
 do_writepages+0x1a6/0x7f0 mm/page-writeback.c:2683
 __writeback_single_inode+0x166/0xfa0 fs/fs-writeback.c:1658
 writeback_sb_inodes+0x603/0xfa0 fs/fs-writeback.c:1954
 __writeback_inodes_wb+0xff/0x2e0 fs/fs-writeback.c:2025
 wb_writeback+0x721/0xb50 fs/fs-writeback.c:2136
 wb_check_start_all fs/fs-writeback.c:2262 [inline]
 wb_do_writeback fs/fs-writeback.c:2288 [inline]
 wb_workfn+0x878/0xbc0 fs/fs-writeback.c:2321
 process_one_work+0x9c8/0x1ba0 kernel/workqueue.c:3229
 process_scheduled_works kernel/workqueue.c:3310 [inline]
 worker_thread+0x6c8/0xf00 kernel/workqueue.c:3391
 kthread+0x2c4/0x3a0 kernel/kthread.c:389
 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
 </TASK>

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/10/29 00:48 upstream e42b1a9a2557 9efb3cc7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING in bch2_writepage_io_done
2024/11/04 02:41 upstream b9021de3ec2f f00eed24 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in bch2_writepage_io_done
2024/11/16 10:00 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 887407160d72 cfe3a04a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in bch2_writepage_io_done
* Struck through repros no longer work on HEAD.