hfs: unable to locate alternate MDB
hfs: continuing without an alternate MDB
------------[ cut here ]------------
kernel BUG at fs/hfs/btree.c:41!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 11495 Comm: syz.7.2307 Not tainted 6.1.116-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:hfs_btree_open+0xf05/0xf20 fs/hfs/btree.c:41
Code: 7f ff e9 7e fa ff ff 44 89 f1 80 e1 07 80 c1 03 38 c1 0f 8c 9b fa ff ff 4c 89 f7 e8 a5 a7 7f ff e9 8e fa ff ff e8 cb 1e 28 ff <0f> 0b e8 c4 1e 28 ff 0f 0b e8 bd 1e 28 ff 0f 0b 66 2e 0f 1f 84 00
RSP: 0018:ffffc9000cd9f798 EFLAGS: 00010287
RAX: ffffffff82626d65 RBX: ffff888074b0a380 RCX: 0000000000040000
RDX: ffffc90004a39000 RSI: 0000000000006a16 RDI: 0000000000006a17
RBP: 0000000000000000 R08: ffffffff82625fc3 R09: ffffed100e96148c
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888053778000
R13: ffff88807e5e6008 R14: ffff88807e5e6000 R15: dffffc0000000000
FS: 00007fa29edff6c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000200000c0 CR3: 0000000064703000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
hfs_mdb_get+0x1442/0x21b0 fs/hfs/mdb.c:199
hfs_fill_super+0x100c/0x1730 fs/hfs/super.c:406
mount_bdev+0x2c9/0x3f0 fs/super.c:1443
legacy_get_tree+0xeb/0x180 fs/fs_context.c:632
vfs_get_tree+0x88/0x270 fs/super.c:1573
do_new_mount+0x2ba/0xb40 fs/namespace.c:3056
do_mount fs/namespace.c:3399 [inline]
__do_sys_mount fs/namespace.c:3607 [inline]
__se_sys_mount+0x2d5/0x3c0 fs/namespace.c:3584
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fa29ef7feba
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fa29edfee68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007fa29edfeef0 RCX: 00007fa29ef7feba
RDX: 00000000200001c0 RSI: 0000000020000140 RDI: 00007fa29edfeeb0
RBP: 00000000200001c0 R08: 00007fa29edfeef0 R09: 0000000000014000
R10: 0000000000014000 R11: 0000000000000246 R12: 0000000020000140
R13: 00007fa29edfeeb0 R14: 0000000000000293 R15: 0000000020000000
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:hfs_btree_open+0xf05/0xf20 fs/hfs/btree.c:41
Code: 7f ff e9 7e fa ff ff 44 89 f1 80 e1 07 80 c1 03 38 c1 0f 8c 9b fa ff ff 4c 89 f7 e8 a5 a7 7f ff e9 8e fa ff ff e8 cb 1e 28 ff <0f> 0b e8 c4 1e 28 ff 0f 0b e8 bd 1e 28 ff 0f 0b 66 2e 0f 1f 84 00
RSP: 0018:ffffc9000cd9f798 EFLAGS: 00010287
RAX: ffffffff82626d65 RBX: ffff888074b0a380 RCX: 0000000000040000
RDX: ffffc90004a39000 RSI: 0000000000006a16 RDI: 0000000000006a17
RBP: 0000000000000000 R08: ffffffff82625fc3 R09: ffffed100e96148c
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888053778000
R13: ffff88807e5e6008 R14: ffff88807e5e6000 R15: dffffc0000000000
FS: 00007fa29edff6c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f2a3519a5a0 CR3: 0000000064703000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400