------------[ cut here ]------------ kernel BUG at fs/hfsplus/bnode.c:618! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI CPU: 0 UID: 0 PID: 5567 Comm: kworker/u8:14 Not tainted 6.12.0-rc1-syzkaller-00306-g27cc6fdf7201 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: writeback wb_workfn (flush-7:4) RIP: 0010:hfsplus_bnode_put+0x510/0x520 fs/hfsplus/bnode.c:618 Code: ff e9 bf fe ff ff 44 89 e9 80 e1 07 80 c1 03 38 c1 0f 8c f3 fe ff ff 4c 89 ef e8 0b e0 77 ff e9 e6 fe ff ff e8 e1 51 11 ff 90 <0f> 0b e8 d9 51 11 ff 90 0f 0b 66 0f 1f 44 00 00 90 90 90 90 90 90 RSP: 0018:ffffc9000d567288 EFLAGS: 00010293 RAX: ffffffff8283843f RBX: ffff888028f5c080 RCX: ffff88802d575a00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffff82837fb0 R09: 1ffff110051eb810 R10: dffffc0000000000 R11: ffffed10051eb811 R12: ffff888028f5c000 R13: ffff888079c4e044 R14: dffffc0000000000 R15: ffff888079c4e000 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffc4cc92fb4 CR3: 000000007e07a000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hfsplus_btree_write+0x264/0x4c0 fs/hfsplus/btree.c:309 hfsplus_system_write_inode fs/hfsplus/super.c:136 [inline] hfsplus_write_inode+0x4c4/0x5e0 fs/hfsplus/super.c:162 write_inode fs/fs-writeback.c:1503 [inline] __writeback_single_inode+0x711/0x10d0 fs/fs-writeback.c:1723 writeback_sb_inodes+0x80c/0x1370 fs/fs-writeback.c:1954 __writeback_inodes_wb+0x11b/0x260 fs/fs-writeback.c:2025 wb_writeback+0x42f/0xbd0 fs/fs-writeback.c:2136 wb_check_background_flush fs/fs-writeback.c:2206 [inline] wb_do_writeback fs/fs-writeback.c:2294 [inline] wb_workfn+0xc58/0x1090 fs/fs-writeback.c:2321 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0xa63/0x1850 kernel/workqueue.c:3310 worker_thread+0x870/0xd30 kernel/workqueue.c:3391 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:hfsplus_bnode_put+0x510/0x520 fs/hfsplus/bnode.c:618 Code: ff e9 bf fe ff ff 44 89 e9 80 e1 07 80 c1 03 38 c1 0f 8c f3 fe ff ff 4c 89 ef e8 0b e0 77 ff e9 e6 fe ff ff e8 e1 51 11 ff 90 <0f> 0b e8 d9 51 11 ff 90 0f 0b 66 0f 1f 44 00 00 90 90 90 90 90 90 RSP: 0018:ffffc9000d567288 EFLAGS: 00010293 RAX: ffffffff8283843f RBX: ffff888028f5c080 RCX: ffff88802d575a00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffff82837fb0 R09: 1ffff110051eb810 R10: dffffc0000000000 R11: ffffed10051eb811 R12: ffff888028f5c000 R13: ffff888079c4e044 R14: dffffc0000000000 R15: ffff888079c4e000 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000086 CR3: 0000000030a94000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400