------------[ cut here ]------------ kernel BUG at fs/hfsplus/bnode.c:624! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 1 UID: 0 PID: 6652 Comm: syz.0.212 Not tainted 6.16.0-rc6-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:hfsplus_bnode_put.part.0+0x3ac/0x440 fs/hfsplus/bnode.c:624 Code: b6 04 02 84 c0 74 09 3c 03 7f 05 e8 ae 53 84 ff 41 8b 54 24 38 31 f6 48 89 ef e8 7f da ff ff e9 a2 fe ff ff e8 65 6f 1e ff 90 <0f> 0b 48 8b 7c 24 08 e8 88 53 84 ff e9 32 fd ff ff 48 89 df e8 7b RSP: 0018:ffffc90004a8f2a8 EFLAGS: 00010287 RAX: 00000000000075d2 RBX: ffff88803229df80 RCX: ffffc9000e352000 RDX: 0000000000080000 RSI: ffffffff829d826b RDI: 0000000000000005 RBP: ffff88803229df00 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: ffff8880559a6000 R13: 0000000000000000 R14: 00000000ffffff20 R15: 00000000ffffffe0 FS: 00007f4b1ed5c6c0(0000) GS:ffff88812481a000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b3110dff8 CR3: 000000005544b000 CR4: 0000000000350ef0 Call Trace: hfsplus_bnode_put+0x1f/0x30 fs/hfsplus/bnode.c:617 hfsplus_bmap_alloc+0x79a/0x910 fs/hfsplus/btree.c:414 hfs_bnode_split+0xde/0xde0 fs/hfsplus/brec.c:245 hfsplus_brec_insert+0x2f6/0xc50 fs/hfsplus/brec.c:100 hfsplus_rename_cat+0x7c9/0x1290 fs/hfsplus/catalog.c:491 hfsplus_unlink+0x490/0x7f0 fs/hfsplus/dir.c:376 hfsplus_rename+0xbc/0x200 fs/hfsplus/dir.c:547 vfs_rename+0xf64/0x2250 fs/namei.c:5137 do_renameat2+0x82b/0xc90 fs/namei.c:5286 __do_sys_rename fs/namei.c:5333 [inline] __se_sys_rename fs/namei.c:5331 [inline] __x64_sys_rename+0x7d/0xa0 fs/namei.c:5331 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0x4c0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f4b1df8e929 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f4b1ed5c038 EFLAGS: 00000246 ORIG_RAX: 0000000000000052 RAX: ffffffffffffffda RBX: 00007f4b1e1b6080 RCX: 00007f4b1df8e929 RDX: 0000000000000000 RSI: 00002000000002c0 RDI: 0000200000000580 RBP: 00007f4b1e010b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f4b1e1b6080 R15: 00007ffe421aa2a8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:hfsplus_bnode_put.part.0+0x3ac/0x440 fs/hfsplus/bnode.c:624 Code: b6 04 02 84 c0 74 09 3c 03 7f 05 e8 ae 53 84 ff 41 8b 54 24 38 31 f6 48 89 ef e8 7f da ff ff e9 a2 fe ff ff e8 65 6f 1e ff 90 <0f> 0b 48 8b 7c 24 08 e8 88 53 84 ff e9 32 fd ff ff 48 89 df e8 7b RSP: 0018:ffffc90004a8f2a8 EFLAGS: 00010287 RAX: 00000000000075d2 RBX: ffff88803229df80 RCX: ffffc9000e352000 RDX: 0000000000080000 RSI: ffffffff829d826b RDI: 0000000000000005 RBP: ffff88803229df00 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: ffff8880559a6000 R13: 0000000000000000 R14: 00000000ffffff20 R15: 00000000ffffffe0 FS: 00007f4b1ed5c6c0(0000) GS:ffff88812481a000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f452c01e000 CR3: 000000005544b000 CR4: 0000000000350ef0