bcachefs (loop0): accounting_read... done bcachefs (loop0): alloc_read... done bcachefs (loop0): snapshots_read... done bcachefs (loop0): done starting filesystem ------------[ cut here ]------------ WARNING: CPU: 1 PID: 5830 at block/bio.c:513 bio_alloc_bioset+0xd45/0x1110 block/bio.c:513 Modules linked in: CPU: 1 UID: 0 PID: 5830 Comm: syz-executor271 Not tainted 6.16.0-rc1-syzkaller-00004-gaef17cb3d3c4 #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 47 2c 7f fd 48 85 c0 0f 84 8b 00 00 00 49 89 c7 e8 86 d2 28 fd e9 65 f8 ff ff e8 7c d2 28 fd 90 <0f> 0b 90 e9 41 fb ff ff e8 6e d2 28 fd 90 0f 0b 90 e9 04 fb ff ff RSP: 0018:ffffc900043ef220 EFLAGS: 00010293 RAX: ffffffff84977b74 RBX: 0000000000000000 RCX: ffff88807a9d1e00 RDX: 0000000000000000 RSI: 0000000000000100 RDI: 0000000000000000 RBP: dffffc0000000000 R08: ffff888073f48948 R09: 1ffffd400008ff98 R10: dffffc0000000000 R11: fffff9400008ff99 R12: 0000000000000001 R13: ffff888073f48948 R14: ffff888073f48a60 R15: 0000000000000100 FS: 000055557b4d9380(0000) GS:ffff888125d86000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000020000000a000 CR3: 0000000073ea0000 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:502 [inline] __bch2_writepage+0x1581/0x2790 fs/bcachefs/fs-io-buffered.c:636 write_cache_pages+0x64/0x100 mm/page-writeback.c:2614 bch2_writepages+0xf9/0x2d0 fs/bcachefs/fs-io-buffered.c:666 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:1089 do_iter_readv_writev+0x56b/0x7f0 fs/read_write.c:-1 vfs_writev+0x31a/0x960 fs/read_write.c:1057 do_pwritev fs/read_write.c:1153 [inline] __do_sys_pwritev2 fs/read_write.c:1211 [inline] __se_sys_pwritev2+0x179/0x290 fs/read_write.c:1202 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:0x7fe8d3b5cdd9 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:00007ffd85d31068 EFLAGS: 00000246 ORIG_RAX: 0000000000000148 RAX: ffffffffffffffda RBX: 0031656c69662f2e RCX: 00007fe8d3b5cdd9 RDX: 0000000000000001 RSI: 00002000000001c0 RDI: 0000000000000004 RBP: 00007fe8d3bd65f0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000e7b R11: 0000000000000246 R12: 00007ffd85d310a0 R13: 00007ffd85d312c8 R14: 431bde82d7b634db R15: 00007fe8d3ba603b