loop0: 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: 9262 Comm: syz-executor.0 Not tainted 6.1.0-rc7-syzkaller-00200-gc2bf05db6c78 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:hfs_btree_open+0xf04/0xf20 fs/hfs/btree.c:41 Code: 80 ff e9 77 fa ff ff 44 89 f1 80 e1 07 80 c1 03 38 c1 0f 8c 93 fa ff ff 4c 89 f7 e8 46 2a 80 ff e9 86 fa ff ff e8 9c 07 2c ff <0f> 0b e8 95 07 2c ff 0f 0b e8 8e 07 2c ff 0f 0b 66 2e 0f 1f 84 00 RSP: 0000:ffffc90015b7f798 EFLAGS: 00010287 RAX: ffffffff825e9294 RBX: ffff88802d58c700 RCX: 0000000000040000 RDX: ffffc90013065000 RSI: 000000000000337a RDI: 000000000000337b RBP: 0000000000000000 R08: ffffffff825e84f3 R09: ffffed1005ab18fc R10: ffffed1005ab18fc R11: 1ffff11005ab18fb R12: ffff888040f34000 R13: ffff888077afa008 R14: ffff888077afa000 R15: dffffc0000000000 FS: 00007fd9c840a700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe44a52b000 CR3: 00000000769bd000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hfs_mdb_get+0x1404/0x21a0 fs/hfs/mdb.c:199 hfs_fill_super+0xfc7/0x1690 fs/hfs/super.c:406 mount_bdev+0x26c/0x3a0 fs/super.c:1401 legacy_get_tree+0xea/0x180 fs/fs_context.c:610 vfs_get_tree+0x88/0x270 fs/super.c:1531 do_new_mount+0x289/0xad0 fs/namespace.c:3040 do_mount fs/namespace.c:3383 [inline] __do_sys_mount fs/namespace.c:3591 [inline] __se_sys_mount+0x2d3/0x3c0 fs/namespace.c:3568 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fd9c768d60a Code: 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb d2 e8 b8 04 00 00 0f 1f 84 00 00 00 00 00 49 89 ca b8 a5 00 00 00 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:00007fd9c8409f88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000000000274 RCX: 00007fd9c768d60a RDX: 0000000020000240 RSI: 0000000020000280 RDI: 00007fd9c8409fe0 RBP: 00007fd9c840a020 R08: 00007fd9c840a020 R09: 0000000000004400 R10: 0000000000004400 R11: 0000000000000202 R12: 0000000020000240 R13: 0000000020000280 R14: 00007fd9c8409fe0 R15: 00000000200007c0 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:hfs_btree_open+0xf04/0xf20 fs/hfs/btree.c:41 Code: 80 ff e9 77 fa ff ff 44 89 f1 80 e1 07 80 c1 03 38 c1 0f 8c 93 fa ff ff 4c 89 f7 e8 46 2a 80 ff e9 86 fa ff ff e8 9c 07 2c ff <0f> 0b e8 95 07 2c ff 0f 0b e8 8e 07 2c ff 0f 0b 66 2e 0f 1f 84 00 RSP: 0000:ffffc90015b7f798 EFLAGS: 00010287 RAX: ffffffff825e9294 RBX: ffff88802d58c700 RCX: 0000000000040000 RDX: ffffc90013065000 RSI: 000000000000337a RDI: 000000000000337b RBP: 0000000000000000 R08: ffffffff825e84f3 R09: ffffed1005ab18fc R10: ffffed1005ab18fc R11: 1ffff11005ab18fb R12: ffff888040f34000 R13: ffff888077afa008 R14: ffff888077afa000 R15: dffffc0000000000 FS: 00007fd9c840a700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f324b378000 CR3: 00000000769bd000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400