------------[ cut here ]------------ WARNING: CPU: 0 PID: 9 at fs/hfsplus/inode.c:616 hfsplus_cat_write_inode+0x6dd/0x7a0 fs/hfsplus/inode.c:616 Modules linked in: CPU: 0 PID: 9 Comm: kworker/u4:0 Not tainted 6.2.0-rc2-next-20230105-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Workqueue: writeback wb_workfn (flush-7:0) RIP: 0010:hfsplus_cat_write_inode+0x6dd/0x7a0 fs/hfsplus/inode.c:616 Code: ff ff e8 f6 70 88 ff e9 42 fa ff ff 4c 89 e7 e8 a9 70 88 ff e9 0b fc ff ff e8 ff 89 3a ff 0f 0b e9 44 fc ff ff e8 f3 89 3a ff <0f> 0b e9 15 fe ff ff 41 bd fb ff ff ff e9 58 fa ff ff 4c 89 f7 e8 RSP: 0018:ffffc900000e74a0 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 1ffff9200001ce96 RCX: 0000000000000000 RDX: ffff88813fe48000 RSI: ffffffff8247258d RDI: 0000000000000005 RBP: ffff88801e8101b0 R08: 0000000000000005 R09: 00000000000000f7 R10: 0000000000000058 R11: 0000000000000000 R12: 0000000000000058 R13: 0000000000000000 R14: ffff88801e810140 R15: ffffc900000e74e0 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f52601a3140 CR3: 000000002887b000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hfsplus_write_inode fs/hfsplus/super.c:160 [inline] hfsplus_write_inode+0x93/0x4e0 fs/hfsplus/super.c:147 write_inode fs/fs-writeback.c:1451 [inline] __writeback_single_inode+0xd38/0x14d0 fs/fs-writeback.c:1663 writeback_sb_inodes+0x54d/0xfb0 fs/fs-writeback.c:1889 wb_writeback+0x2c5/0xdd0 fs/fs-writeback.c:2063 wb_do_writeback fs/fs-writeback.c:2206 [inline] wb_workfn+0x2d4/0xdc0 fs/fs-writeback.c:2246 process_one_work+0x9bf/0x1750 kernel/workqueue.c:2293 worker_thread+0x669/0x1090 kernel/workqueue.c:2440 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308