------------[ cut here ]------------ kernel BUG at fs/hfsplus/bnode.c:618! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 4109 Comm: kworker/u4:14 Not tainted 6.1.107-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 Workqueue: writeback wb_workfn (flush-7:0) RIP: 0010:hfsplus_bnode_put+0x6b3/0x6d0 fs/hfsplus/bnode.c:618 Code: ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 6c fd ff ff 48 89 df e8 0e df 81 ff e9 5f fd ff ff e8 c4 5f 2a ff 0f 0b e8 bd 5f 2a ff <0f> 0b e8 b6 5f 2a ff 0f 0b e8 af 5f 2a ff 0f 0b 66 2e 0f 1f 84 00 RSP: 0018:ffffc9000317f348 EFLAGS: 00010293 RAX: ffffffff82604eb3 RBX: ffff888022962b80 RCX: ffff88807cd40000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffff8260487c R09: ffffed100452c571 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888022962b00 R13: dffffc0000000000 R14: ffff88807d830000 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2f5f2ff8 CR3: 000000007f5ce000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hfsplus_btree_write+0x260/0x4c0 fs/hfsplus/btree.c:309 hfsplus_system_write_inode fs/hfsplus/super.c:136 [inline] hfsplus_write_inode+0x49d/0x5c0 fs/hfsplus/super.c:162 write_inode fs/fs-writeback.c:1460 [inline] __writeback_single_inode+0x67d/0x11e0 fs/fs-writeback.c:1677 writeback_sb_inodes+0xc2b/0x1b20 fs/fs-writeback.c:1903 __writeback_inodes_wb+0x114/0x400 fs/fs-writeback.c:1974 wb_writeback+0x4b1/0xe10 fs/fs-writeback.c:2079 wb_check_background_flush fs/fs-writeback.c:2145 [inline] wb_do_writeback fs/fs-writeback.c:2233 [inline] wb_workfn+0xc9e/0x1020 fs/fs-writeback.c:2260 process_one_work+0x8a9/0x11d0 kernel/workqueue.c:2292 worker_thread+0xa47/0x1200 kernel/workqueue.c:2439 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:hfsplus_bnode_put+0x6b3/0x6d0 fs/hfsplus/bnode.c:618 Code: ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 6c fd ff ff 48 89 df e8 0e df 81 ff e9 5f fd ff ff e8 c4 5f 2a ff 0f 0b e8 bd 5f 2a ff <0f> 0b e8 b6 5f 2a ff 0f 0b e8 af 5f 2a ff 0f 0b 66 2e 0f 1f 84 00 RSP: 0018:ffffc9000317f348 EFLAGS: 00010293 RAX: ffffffff82604eb3 RBX: ffff888022962b80 RCX: ffff88807cd40000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffff8260487c R09: ffffed100452c571 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888022962b00 R13: dffffc0000000000 R14: ffff88807d830000 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffd256f2228 CR3: 000000005e5f0000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400