hfs: unable to locate alternate MDB hfs: new node 0 already hashed? hfs: continuing without an alternate MDB ------------[ cut here ]------------ hfs: unable to locate alternate MDB WARNING: CPU: 1 PID: 3953 at fs/hfs/bnode.c:416 hfs_bnode_create.cold.13+0xe/0x15 fs/hfs/bnode.c:415 Kernel panic - not syncing: panic_on_warn set ... CPU: 1 PID: 3953 Comm: syz-executor4 Not tainted 5.7.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x12f/0x187 lib/dump_stack.c:118 panic+0x22a/0x4f5 kernel/panic.c:221 __warn.cold.10+0x25/0x28 kernel/panic.c:582 report_bug+0x1b0/0x270 lib/bug.c:195 fixup_bug arch/x86/kernel/traps.c:175 [inline] do_error_trap+0x11b/0x200 arch/x86/kernel/traps.c:267 do_invalid_op+0x36/0x40 arch/x86/kernel/traps.c:286 hfs: continuing without an alternate MDB invalid_op+0x23/0x30 arch/x86/entry/entry_64.S:1027 RIP: 0010:hfs_bnode_create.cold.13+0xe/0x15 fs/hfs/bnode.c:416 Code: db e8 8a 06 57 ff e9 f4 df ff ff 48 c7 c7 a0 e9 5a 87 e8 79 06 57 ff e9 8f f6 ff ff 89 de 48 c7 c7 e0 e9 5a 87 e8 66 06 57 ff <0f> 0b e9 ce fe ff ff 48 b8 00 00 00 00 00 fc ff df 55 48 89 e5 41 RSP: 0018:ffff8881c8d3f880 EFLAGS: 00010282 RAX: 000000000000001f RBX: 0000000000000000 RCX: ffffffff82e0028e RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff8881db12a16c RBP: ffff8881c8d3f8c8 R08: ffffed103b6266b9 R09: ffffed103b6266b9 R10: ffff8881db1335c7 R11: ffffed103b6266b8 R12: ffff8881c8ff00e0 hfs: new node 0 already hashed? R13: dffffc0000000000 R14: ffff8881d360e900 R15: ffff8881d360e900 hfs_bmap_alloc+0x42f/0x5e0 fs/hfs/btree.c:288 hfs_bnode_split+0xbd/0xe20 fs/hfs/brec.c:241 ------------[ cut here ]------------ WARNING: CPU: 0 PID: 3962 at fs/hfs/bnode.c:416 hfs_bnode_create.cold.13+0xe/0x15 fs/hfs/bnode.c:415 Modules linked in: CPU: 0 PID: 3962 Comm: syz-executor5 Not tainted 5.7.0-rc5-syzkaller #0 hfs_brec_insert+0x2f0/0xbb0 fs/hfs/brec.c:102 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:hfs_bnode_create.cold.13+0xe/0x15 fs/hfs/bnode.c:416 hfs_cat_create+0x698/0x880 fs/hfs/catalog.c:131 Code: db e8 8a 06 57 ff e9 f4 df ff ff 48 c7 c7 a0 e9 5a 87 e8 79 06 57 ff e9 8f f6 ff ff 89 de 48 c7 c7 e0 e9 5a 87 e8 66 06 57 ff <0f> 0b e9 ce fe ff ff 48 b8 00 00 00 00 00 fc ff df 55 48 89 e5 41 RSP: 0018:ffff8881cb68f880 EFLAGS: 00010282 RAX: 000000000000001f RBX: 0000000000000000 RCX: ffffffff82e0028e RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff8881db02a16c hfs_mkdir+0x57/0xc0 fs/hfs/dir.c:231 RBP: ffff8881cb68f8c8 R08: ffffed103b6066b9 R09: ffffed103b6066b9 R10: ffff8881db0335c7 R11: ffffed103b6066b8 R12: ffff8881c87d20e0 vfs_mkdir+0x384/0x610 fs/namei.c:3625 R13: dffffc0000000000 R14: ffff8881d4b80800 R15: ffff8881d4b80800 FS: 00007f590e3a1700(0000) GS:ffff8881db000000(0000) knlGS:0000000000000000 do_mkdirat+0x1b7/0x210 fs/namei.c:3648 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000556068a92500 CR3: 00000001c93c8000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hfs_bmap_alloc+0x42f/0x5e0 fs/hfs/btree.c:288 __do_sys_mkdir fs/namei.c:3664 [inline] __se_sys_mkdir fs/namei.c:3662 [inline] __x64_sys_mkdir+0x57/0x80 fs/namei.c:3662 do_syscall_64+0xd0/0x630 arch/x86/entry/common.c:295 entry_SYSCALL_64_after_hwframe+0x49/0xb3 RIP: 0033:0x455429 hfs_bnode_split+0xbd/0xe20 fs/hfs/brec.c:241 Code: 1d ba fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 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 0f 83 eb b9 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f819287dc68 EFLAGS: 00000246 ORIG_RAX: 0000000000000053 RAX: ffffffffffffffda RBX: 00007f819287e6d4 RCX: 0000000000455429 RDX: 0000000000000000 RSI: 0000000000000021 RDI: 0000000020000180 RBP: 000000000072bea0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000000003ea R14: 00000000006f8e90 R15: 0000000000000000 hfs_brec_insert+0x2f0/0xbb0 fs/hfs/brec.c:102 hfs_cat_create+0x698/0x880 fs/hfs/catalog.c:131 hfs_mkdir+0x57/0xc0 fs/hfs/dir.c:231 vfs_mkdir+0x384/0x610 fs/namei.c:3625 do_mkdirat+0x1b7/0x210 fs/namei.c:3648 __do_sys_mkdir fs/namei.c:3664 [inline] __se_sys_mkdir fs/namei.c:3662 [inline] __x64_sys_mkdir+0x57/0x80 fs/namei.c:3662 do_syscall_64+0xd0/0x630 arch/x86/entry/common.c:295 entry_SYSCALL_64_after_hwframe+0x49/0xb3 RIP: 0033:0x455429 Code: 1d ba fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 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 0f 83 eb b9 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f590e3a0c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000053 RAX: ffffffffffffffda RBX: 00007f590e3a16d4 RCX: 0000000000455429 RDX: 0000000000000000 RSI: 0000000000000021 RDI: 0000000020000180 RBP: 000000000072bea0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000000003ea R14: 00000000006f8e90 R15: 0000000000000000 irq event stamp: 1118 hardirqs last enabled at (1117): [] trace_hardirqs_on_thunk+0x1a/0x1c arch/x86/entry/thunk_64.S:41 hardirqs last disabled at (1118): [] trace_hardirqs_off_thunk+0x1a/0x1c arch/x86/entry/thunk_64.S:42 softirqs last enabled at (832): [] spin_unlock_bh include/linux/spinlock.h:398 [inline] softirqs last enabled at (832): [] wb_wakeup_delayed+0x99/0xe0 mm/backing-dev.c:276 softirqs last disabled at (828): [] spin_lock_bh include/linux/spinlock.h:358 [inline] softirqs last disabled at (828): [] wb_wakeup_delayed+0x65/0xe0 mm/backing-dev.c:273 ---[ end trace b21bf0330a55736c ]--- Kernel Offset: disabled Rebooting in 86400 seconds..