------------[ cut here ]------------ kernel BUG at fs/hfs/inode.c:446! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 41 Comm: kworker/u4:2 Not tainted 6.1.0-rc8-syzkaller-00148-g0d1409e4ff08 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Workqueue: writeback wb_workfn (flush-7:0) RIP: 0010:hfs_write_inode+0x5ec/0x980 fs/hfs/inode.c:446 Code: 2e 66 8a 4c 89 ef e8 f3 ff 38 ff 49 83 fd 03 0f 84 95 00 00 00 49 83 fd 04 74 11 49 83 fd 02 0f 84 f7 fa ff ff e8 e4 02 39 ff <0f> 0b e8 dd 02 39 ff 48 8d 7d 28 48 b8 00 00 00 00 00 fc ff df 48 RSP: 0018:ffffc90000b276e8 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 1ffff92000164edf RCX: 0000000000000000 RDX: ffff8880170e1d40 RSI: ffffffff82471b1c RDI: 0000000000000007 RBP: ffff888073fe94d8 R08: 0000000000000007 R09: 0000000000000004 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: ffffc90000b27994 R15: ffffffff8a664da0 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fff68aaf038 CR3: 0000000021e45000 CR4: 0000000000350ee0 Call Trace: write_inode fs/fs-writeback.c:1440 [inline] __writeback_single_inode+0xcfc/0x1440 fs/fs-writeback.c:1652 writeback_sb_inodes+0x54d/0xf90 fs/fs-writeback.c:1878 wb_writeback+0x2c5/0xd70 fs/fs-writeback.c:2052 wb_do_writeback fs/fs-writeback.c:2195 [inline] wb_workfn+0x2e0/0x12f0 fs/fs-writeback.c:2235 process_one_work+0x9bf/0x1710 kernel/workqueue.c:2289 worker_thread+0x669/0x1090 kernel/workqueue.c:2436 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:hfs_write_inode+0x5ec/0x980 fs/hfs/inode.c:446 Code: 2e 66 8a 4c 89 ef e8 f3 ff 38 ff 49 83 fd 03 0f 84 95 00 00 00 49 83 fd 04 74 11 49 83 fd 02 0f 84 f7 fa ff ff e8 e4 02 39 ff <0f> 0b e8 dd 02 39 ff 48 8d 7d 28 48 b8 00 00 00 00 00 fc ff df 48 RSP: 0018:ffffc90000b276e8 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 1ffff92000164edf RCX: 0000000000000000 RDX: ffff8880170e1d40 RSI: ffffffff82471b1c RDI: 0000000000000007 RBP: ffff888073fe94d8 R08: 0000000000000007 R09: 0000000000000004 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: ffffc90000b27994 R15: ffffffff8a664da0 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fff68aaf038 CR3: 0000000021e45000 CR4: 0000000000350ee0