------------[ cut here ]------------ kernel BUG at fs/hfs/inode.c:444! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 1142 Comm: kworker/u4:4 Not tainted 5.15.106-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023 Workqueue: writeback wb_workfn (flush-7:2) RIP: 0010:hfs_write_inode+0xeb0/0xec0 fs/hfs/inode.c:444 Code: ff e9 88 fb ff ff 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c 9d fb ff ff e8 4f 54 86 ff e9 93 fb ff ff e8 a5 38 d4 07 e8 00 0c 3d 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:ffffc9000552f360 EFLAGS: 00010293 RAX: ffffffff8242aeb0 RBX: 0000000000000005 RCX: ffff88801cda1d00 RDX: 0000000000000000 RSI: ffffffff8cadfb80 RDI: 0000000000000005 RBP: ffffc9000552f4f0 R08: 0000000000000007 R09: ffffffff8242a15a R10: 0000000000000003 R11: ffff88801cda1d00 R12: 1ffff92000aa5e70 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff88807ea21b58 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c01f5b1000 CR3: 00000000676be000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: write_inode fs/fs-writeback.c:1475 [inline] __writeback_single_inode+0x644/0xe30 fs/fs-writeback.c:1680 writeback_sb_inodes+0xbf0/0x1a50 fs/fs-writeback.c:1905 wb_writeback+0x451/0xc50 fs/fs-writeback.c:2079 wb_do_writeback fs/fs-writeback.c:2222 [inline] wb_workfn+0x46c/0x1130 fs/fs-writeback.c:2263 process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2306 worker_thread+0xaca/0x1280 kernel/workqueue.c:2453 kthread+0x3f6/0x4f0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 Modules linked in: ---[ end trace 0a5ef14d1c3cb68f ]--- RIP: 0010:hfs_write_inode+0xeb0/0xec0 fs/hfs/inode.c:444 Code: ff e9 88 fb ff ff 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c 9d fb ff ff e8 4f 54 86 ff e9 93 fb ff ff e8 a5 38 d4 07 e8 00 0c 3d 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:ffffc9000552f360 EFLAGS: 00010293 RAX: ffffffff8242aeb0 RBX: 0000000000000005 RCX: ffff88801cda1d00 RDX: 0000000000000000 RSI: ffffffff8cadfb80 RDI: 0000000000000005 RBP: ffffc9000552f4f0 R08: 0000000000000007 R09: ffffffff8242a15a R10: 0000000000000003 R11: ffff88801cda1d00 R12: 1ffff92000aa5e70 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff88807ea21b58 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f226eaa1d38 CR3: 000000001cc81000 CR4: 00000000003526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400