bcachefs (loop0): mounting version 1.7: mi_btree_bitmap opts=metadata_checksum=crc64,data_checksum=xxhash,compression=gzip,str_hash=crc64,nojournal_transaction_names bcachefs (loop0): recovering from clean shutdown, journal seq 7 bcachefs (loop0): alloc_read... done bcachefs (loop0): stripes_read... done bcachefs (loop0): snapshots_read... ------------[ cut here ]------------ WARNING: CPU: 0 PID: 2357 at mm/util.c:649 kvmalloc_node+0xbb/0xd0 mm/util.c:649 Modules linked in: CPU: 0 PID: 2357 Comm: syz-executor.0 Not tainted 6.9.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:kvmalloc_node+0xbb/0xd0 mm/util.c:649 Code: df 41 89 e8 ff 74 24 18 41 56 68 00 04 00 00 e8 1b 8b 05 00 48 83 c4 18 5b 41 5e 5d c3 cc cc cc cc f7 c5 00 20 00 00 75 9e 90 <0f> 0b 90 31 c0 eb e7 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 90 RSP: 0018:ffffc90001e8f818 EFLAGS: 00010246 RAX: 000000000000006f RBX: 00000037ffc7c850 RCX: 0000004000000000 RDX: 00000037ffc7c850 RSI: ffffffff836c93ed RDI: ffffffff835775bd RBP: 0000000000000dc0 R08: 0000000000012dc0 R09: 00000000ffffffff R10: 0000000000000000 R11: 0000000000000000 R12: ffff888179680000 R13: 00000037ffc7c800 R14: 00000000ffffffff R15: 00000000000100ff FS: 00007f80af4016c0(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f80a6301150 CR3: 0000000103336000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: kvmalloc include/linux/slab.h:766 [inline] kvzalloc include/linux/slab.h:774 [inline] __snapshot_t_mut+0x30/0xb0 fs/bcachefs/snapshot.c:171 snapshot_t_mut fs/bcachefs/snapshot.c:200 [inline] __bch2_mark_snapshot+0x1bf/0x1f0 fs/bcachefs/snapshot.c:310 bch2_snapshots_read+0x205/0x630 fs/bcachefs/snapshot.c:1844 bch2_run_recovery_pass fs/bcachefs/recovery_passes.c:182 [inline] bch2_run_recovery_passes+0xaf/0x210 fs/bcachefs/recovery_passes.c:225 bch2_fs_recovery+0x9b3/0x1160 fs/bcachefs/recovery.c:799 bch2_fs_start+0x1b9/0x270 fs/bcachefs/super.c:1045 bch2_fs_open+0x404/0x530 fs/bcachefs/super.c:2106 bch2_mount+0x277/0x5c0 fs/bcachefs/fs.c:1903 legacy_get_tree+0x2d/0x60 fs/fs_context.c:662 vfs_get_tree+0x2a/0xf0 fs/super.c:1779 do_new_mount+0x15a/0x3a0 fs/namespace.c:3352 do_mount fs/namespace.c:3692 [inline] __do_sys_mount fs/namespace.c:3898 [inline] __se_sys_mount+0x14b/0x1c0 fs/namespace.c:3875 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xe2/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f80ae67e5ea Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 09 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f80af400ef8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f80af400f80 RCX: 00007f80ae67e5ea RDX: 0000000020005d80 RSI: 0000000020005dc0 RDI: 00007f80af400f40 RBP: 0000000020005d80 R08: 00007f80af400f80 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000020005dc0 R13: 00007f80af400f40 R14: 0000000000005d6a R15: 0000000020005e00