loop2: detected capacity change from 0 to 64 ------------[ cut here ]------------ kernel BUG at fs/hfs/btree.c:41! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 11156 Comm: syz-executor.2 Not tainted 6.6.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 RIP: 0010:hfs_btree_open+0xc87/0x1050 fs/hfs/btree.c:41 Code: 2d ff 41 83 ff 25 0f 84 4d ff ff ff e8 d2 11 2d ff 8b 34 24 48 c7 c7 c0 e0 a7 8a e8 a3 33 10 ff e9 01 fe ff ff e8 b9 11 2d ff <0f> 0b e8 b2 11 2d ff 8b 34 24 48 c7 c7 60 e0 a7 8a e8 83 33 10 ff RSP: 0018:ffffc90016b1f880 EFLAGS: 00010287 RAX: 0000000000011cf3 RBX: ffff88807e9b2000 RCX: ffffc9000ad6c000 RDX: 0000000000040000 RSI: ffffffff825ab507 RDI: 0000000000000007 RBP: ffff88807739bd50 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000000 R11: 00000000000000f1 R12: 0000000000000003 R13: ffff88807e9b2008 R14: ffff88801ffbc000 R15: 0000000000000003 FS: 00007f11585686c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3b02578038 CR3: 000000007d34b000 CR4: 0000000000350ef0 Call Trace: hfs_mdb_get+0x15d0/0x2020 fs/hfs/mdb.c:199 hfs_fill_super+0xb1e/0x16e0 fs/hfs/super.c:406 mount_bdev+0x1f3/0x2e0 fs/super.c:1629 legacy_get_tree+0x109/0x220 fs/fs_context.c:638 vfs_get_tree+0x8c/0x370 fs/super.c:1750 do_new_mount fs/namespace.c:3335 [inline] path_mount+0x1492/0x1ed0 fs/namespace.c:3662 do_mount fs/namespace.c:3675 [inline] __do_sys_mount fs/namespace.c:3884 [inline] __se_sys_mount fs/namespace.c:3861 [inline] __x64_sys_mount+0x293/0x310 fs/namespace.c:3861 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f115787e1ea 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:00007f1158567ee8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f1158567f80 RCX: 00007f115787e1ea RDX: 0000000020000240 RSI: 0000000020000040 RDI: 00007f1158567f40 RBP: 0000000020000240 R08: 00007f1158567f80 R09: 0000000000004000 R10: 0000000000004000 R11: 0000000000000202 R12: 0000000020000040 R13: 00007f1158567f40 R14: 0000000000000275 R15: 0000000020000000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:hfs_btree_open+0xc87/0x1050 fs/hfs/btree.c:41 Code: 2d ff 41 83 ff 25 0f 84 4d ff ff ff e8 d2 11 2d ff 8b 34 24 48 c7 c7 c0 e0 a7 8a e8 a3 33 10 ff e9 01 fe ff ff e8 b9 11 2d ff <0f> 0b e8 b2 11 2d ff 8b 34 24 48 c7 c7 60 e0 a7 8a e8 83 33 10 ff RSP: 0018:ffffc90016b1f880 EFLAGS: 00010287 RAX: 0000000000011cf3 RBX: ffff88807e9b2000 RCX: ffffc9000ad6c000 RDX: 0000000000040000 RSI: ffffffff825ab507 RDI: 0000000000000007 RBP: ffff88807739bd50 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000000 R11: 00000000000000f1 R12: 0000000000000003 R13: ffff88807e9b2008 R14: ffff88801ffbc000 R15: 0000000000000003 FS: 00007f11585686c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa959d75198 CR3: 000000007d34b000 CR4: 0000000000350ef0