bcachefs (loop0): done starting filesystem ------------[ cut here ]------------ WARNING: CPU: 1 PID: 5823 at block/bio.c:513 bio_alloc_bioset+0xd45/0x1110 block/bio.c:513 Modules linked in: CPU: 1 UID: 0 PID: 5823 Comm: syz-executor331 Not tainted 6.15.0-syzkaller-10769-g7d4e49a77d99 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:bio_alloc_bioset+0xd45/0x1110 block/bio.c:513 Code: db f6 ff 81 ce 00 20 09 00 e8 c7 68 80 fd 48 85 c0 0f 84 8b 00 00 00 49 89 c7 e8 b6 07 2a fd e9 65 f8 ff ff e8 ac 07 2a fd 90 <0f> 0b 90 e9 41 fb ff ff e8 9e 07 2a fd 90 0f 0b 90 e9 04 fb ff ff RSP: 0018:ffffc9000446f278 EFLAGS: 00010293 RAX: ffffffff84963234 RBX: 0000000000000000 RCX: ffff888032c31e00 RDX: 0000000000000000 RSI: 0000000000000100 RDI: 0000000000000000 RBP: dffffc0000000000 R08: ffff88805dc48908 R09: 1ffffd40002f3ed8 R10: dffffc0000000000 R11: fffff940002f3ed9 R12: 0000000000000001 R13: ffff88805dc48908 R14: ffff88805dc48a20 R15: 0000000000000100 FS: 000055558ce71380(0000) GS:ffff888125d95000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000020000000a000 CR3: 0000000077e2a000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: bch2_writepage_io_alloc fs/bcachefs/fs-io-buffered.c:510 [inline] __bch2_writepage+0x1581/0x2790 fs/bcachefs/fs-io-buffered.c:644 write_cache_pages+0x64/0x100 mm/page-writeback.c:2614 bch2_writepages+0x154/0x360 fs/bcachefs/fs-io-buffered.c:675 do_writepages+0x32b/0x550 mm/page-writeback.c:2636 filemap_fdatawrite_wbc mm/filemap.c:386 [inline] __filemap_fdatawrite_range mm/filemap.c:419 [inline] file_write_and_wait_range+0x22c/0x330 mm/filemap.c:794 bch2_fsync+0x127/0x330 fs/bcachefs/fs-io.c:245 generic_write_sync include/linux/fs.h:3027 [inline] bch2_write_iter+0x2822/0x2b90 fs/bcachefs/fs-io-buffered.c:1097 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x54b/0xa90 fs/read_write.c:686 ksys_pwrite64 fs/read_write.c:793 [inline] __do_sys_pwrite64 fs/read_write.c:801 [inline] __se_sys_pwrite64 fs/read_write.c:798 [inline] __x64_sys_pwrite64+0x193/0x220 fs/read_write.c:798 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f0c36d55dd9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffcd9f815e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000012 RAX: ffffffffffffffda RBX: 0031656c69662f2e RCX: 00007f0c36d55dd9 RDX: 000000000000fdef RSI: 0000200000000140 RDI: 0000000000000004 RBP: 00007f0c36d9f095 R08: 000055558ce724c0 R09: 000055558ce724c0 R10: 0000000000000e7c R11: 0000000000000246 R12: 00007ffcd9f81610 R13: 00007ffcd9f81838 R14: 431bde82d7b634db R15: 00007f0c36d9f03b