------------[ cut here ]------------ kernel BUG at fs/hfs/inode.c:447! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 144 Comm: kworker/u4:1 Not tainted 5.15.173-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 Workqueue: writeback wb_workfn (flush-7:1) RIP: 0010:hfs_write_inode+0xeb0/0xec0 fs/hfs/inode.c:447 Code: ff e9 88 fb ff ff 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c 9d fb ff ff e8 0f 87 85 ff e9 93 fb ff ff e8 95 a9 ef 07 e8 60 ae 3b ff <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 41 57 41 56 41 54 RSP: 0018:ffffc900016af360 EFLAGS: 00010293 RAX: ffffffff8244c540 RBX: 0000000000000000 RCX: ffff88801c1b1dc0 RDX: 0000000000000000 RSI: ffffffff8cae5620 RDI: 0000000000000000 RBP: ffffc900016af4f0 R08: 0000000000000007 R09: ffffffff8244b7ea R10: 0000000000000003 R11: ffff88801c1b1dc0 R12: 1ffff920002d5e70 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff88801c1f3558 FS: 0000000000000000(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000040 CR3: 000000001fc84000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: write_inode fs/fs-writeback.c:1495 [inline] __writeback_single_inode+0x644/0xe30 fs/fs-writeback.c:1705 writeback_sb_inodes+0xbce/0x1a40 fs/fs-writeback.c:1930 wb_writeback+0x451/0xc50 fs/fs-writeback.c:2104 wb_do_writeback fs/fs-writeback.c:2247 [inline] wb_workfn+0x46c/0x1130 fs/fs-writeback.c:2288 process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2310 worker_thread+0xaca/0x1280 kernel/workqueue.c:2457 kthread+0x3f6/0x4f0 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 Modules linked in: ---[ end trace 8577078b8deca3ef ]--- RIP: 0010:hfs_write_inode+0xeb0/0xec0 fs/hfs/inode.c:447 Code: ff e9 88 fb ff ff 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c 9d fb ff ff e8 0f 87 85 ff e9 93 fb ff ff e8 95 a9 ef 07 e8 60 ae 3b ff <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 41 57 41 56 41 54 RSP: 0018:ffffc900016af360 EFLAGS: 00010293 RAX: ffffffff8244c540 RBX: 0000000000000000 RCX: ffff88801c1b1dc0 RDX: 0000000000000000 RSI: ffffffff8cae5620 RDI: 0000000000000000 RBP: ffffc900016af4f0 R08: 0000000000000007 R09: ffffffff8244b7ea R10: 0000000000000003 R11: ffff88801c1b1dc0 R12: 1ffff920002d5e70 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff88801c1f3558 FS: 0000000000000000(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f667505fab8 CR3: 0000000065ff2000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400