loop2: detected capacity change from 0 to 1024 ------------[ cut here ]------------ kernel BUG at fs/hfsplus/bnode.c:618! invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI CPU: 0 PID: 6222 Comm: syz-executor.2 Not tainted 6.9.0-rc6-syzkaller-00005-gb947cc5bf6d7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:hfsplus_bnode_put.part.0+0x3ac/0x440 fs/hfsplus/bnode.c:618 Code: b6 04 02 84 c0 74 09 3c 03 7f 05 e8 ee 06 7e ff 41 8b 54 24 38 31 f6 48 89 ef e8 7f de ff ff e9 a2 fe ff ff e8 a5 17 22 ff 90 <0f> 0b 48 8b 7c 24 08 e8 c8 06 7e ff e9 32 fd ff ff 48 89 df e8 bb RSP: 0018:ffffc9000ac3f1c0 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff88802dd1c580 RCX: ffffffff826ce9f4 RDX: ffff88801bff1e00 RSI: ffffffff826ced1b RDI: 0000000000000005 RBP: ffff88802dd1c500 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000004 R12: ffff888015b04000 R13: 0000000000000000 R14: 00000000ffffffe0 R15: 00000000000000c0 FS: 00007f6a639ff6c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6a63fa8000 CR3: 000000002c14c000 CR4: 0000000000350ef0 Call Trace: hfsplus_bnode_put+0x1f/0x30 fs/hfsplus/bnode.c:611 hfsplus_bmap_alloc+0x720/0x830 fs/hfsplus/btree.c:414 hfs_bnode_split+0xe5/0xdd0 fs/hfsplus/brec.c:245 hfsplus_brec_insert+0x2f7/0xc50 fs/hfsplus/brec.c:100 hfsplus_create_cat+0xc6b/0x10d0 fs/hfsplus/catalog.c:308 hfsplus_mknod+0x169/0x300 fs/hfsplus/dir.c:494 lookup_open.isra.0+0x10a4/0x13c0 fs/namei.c:3497 open_last_lookups fs/namei.c:3566 [inline] path_openat+0x92f/0x2990 fs/namei.c:3796 do_filp_open+0x1dc/0x430 fs/namei.c:3826 do_sys_openat2+0x17a/0x1e0 fs/open.c:1406 do_sys_open fs/open.c:1421 [inline] __do_sys_open fs/open.c:1429 [inline] __se_sys_open fs/open.c:1425 [inline] __x64_sys_open+0x154/0x1e0 fs/open.c:1425 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f6a63e7dea9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 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 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f6a639ff0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f6a63fabf80 RCX: 00007f6a63e7dea9 RDX: 0000000000000000 RSI: 000000000014937e RDI: 0000000020000180 RBP: 00007f6a63eca4a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f6a63fabf80 R15: 00007ffe2d0906c8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:hfsplus_bnode_put.part.0+0x3ac/0x440 fs/hfsplus/bnode.c:618 Code: b6 04 02 84 c0 74 09 3c 03 7f 05 e8 ee 06 7e ff 41 8b 54 24 38 31 f6 48 89 ef e8 7f de ff ff e9 a2 fe ff ff e8 a5 17 22 ff 90 <0f> 0b 48 8b 7c 24 08 e8 c8 06 7e ff e9 32 fd ff ff 48 89 df e8 bb RSP: 0018:ffffc9000ac3f1c0 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff88802dd1c580 RCX: ffffffff826ce9f4 RDX: ffff88801bff1e00 RSI: ffffffff826ced1b RDI: 0000000000000005 RBP: ffff88802dd1c500 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000004 R12: ffff888015b04000 R13: 0000000000000000 R14: 00000000ffffffe0 R15: 00000000000000c0 FS: 00007f6a639ff6c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6a639ded58 CR3: 000000002c14c000 CR4: 0000000000350ef0