------------[ cut here ]------------ WARNING: CPU: 0 PID: 1010 at fs/hfsplus/inode.c:616 hfsplus_cat_write_inode+0xb2f/0x1000 Modules linked in: CPU: 0 PID: 1010 Comm: kworker/u4:22 Not tainted 6.1.21-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 Workqueue: writeback wb_workfn (flush-7:4) RIP: 0010:hfsplus_cat_write_inode+0xb2f/0x1000 fs/hfsplus/inode.c:616 Code: 00 0f 85 e8 04 00 00 44 89 f0 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 7d 39 2e ff 0f 0b e9 d4 f7 ff ff e8 71 39 2e ff <0f> 0b e9 85 fa ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 0b f6 ff RSP: 0018:ffffc9001677f140 EFLAGS: 00010293 RAX: ffffffff825b4e6f RBX: 0000000000000058 RCX: ffff88809784d7c0 RDX: 0000000000000000 RSI: 0000000000000058 RDI: 00000000000000f8 RBP: ffffc9001677f4f0 R08: ffffffff825b48ea R09: ffffed101260e611 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880930730f0 R13: dffffc0000000000 R14: ffffc9001677f1a0 R15: ffffc9001677f200 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffcce9bcfb8 CR3: 000000003146d000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: write_inode fs/fs-writeback.c:1440 [inline] __writeback_single_inode+0x67d/0x11e0 fs/fs-writeback.c:1652 writeback_sb_inodes+0xc21/0x1ac0 fs/fs-writeback.c:1878 wb_writeback+0x49d/0xe10 fs/fs-writeback.c:2052 wb_do_writeback fs/fs-writeback.c:2195 [inline] wb_workfn+0x427/0x1020 fs/fs-writeback.c:2235 process_one_work+0x8aa/0x11f0 kernel/workqueue.c:2289 worker_thread+0xa5f/0x1210 kernel/workqueue.c:2436 kthread+0x268/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306