------------[ cut here ]------------ kernel BUG at fs/hfs/inode.c:447! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 5239 Comm: syz.2.206 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026 RIP: 0010:hfs_write_inode+0xa19/0xa20 fs/hfs/inode.c:447 Code: 8d ff e9 05 fe ff ff 44 89 f1 80 e1 07 80 c1 03 38 c1 0f 8c 50 fe ff ff 4c 89 f7 e8 01 d0 8d ff e9 43 fe ff ff e8 d7 af 48 ff <0f> 0b 0f 1f 44 00 00 55 41 57 41 56 41 54 53 48 89 fb 49 bf 00 00 RSP: 0000:ffffc90005217820 EFLAGS: 00010283 RAX: ffffffff823042c9 RBX: ffff88802aa88198 RCX: 0000000000080000 RDX: ffffc90004c59000 RSI: 00000000000007df RDI: 00000000000007e0 RBP: ffffc900052179b0 R08: ffff888024e01dc0 R09: 0000000000000003 R10: 0000000000000004 R11: 0000000000000002 R12: dffffc0000000000 R13: 1ffff92000a42f08 R14: 0000000000000005 R15: ffff88802aa88158 FS: 00007f37f6a326c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f12bf6d2c5a CR3: 0000000023363000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: write_inode fs/fs-writeback.c:1505 [inline] __writeback_single_inode+0x6c4/0xda0 fs/fs-writeback.c:1715 writeback_single_inode+0x3d2/0x8e0 fs/fs-writeback.c:1770 write_inode_now+0x23b/0x2c0 fs/fs-writeback.c:2817 hfs_file_fsync+0xa3/0x140 fs/hfs/inode.c:680 generic_write_sync include/linux/fs.h:2990 [inline] generic_file_write_iter+0x157/0x1b0 mm/filemap.c:3948 call_write_iter include/linux/fs.h:2173 [inline] new_sync_write fs/read_write.c:507 [inline] vfs_write+0x748/0xd70 fs/read_write.c:594 ksys_write+0x153/0x260 fs/read_write.c:647 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f37f87d8e59 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f37f6a32028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f37f8a51fa0 RCX: 00007f37f87d8e59 RDX: 0000000000000018 RSI: 0000200000006800 RDI: 0000000000000006 RBP: 00007f37f886ee6f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f37f8a52038 R14: 00007f37f8a51fa0 R15: 00007ffe88e2ca28 Modules linked in: ---[ end trace 06db72d327213994 ]--- RIP: 0010:hfs_write_inode+0xa19/0xa20 fs/hfs/inode.c:447 Code: 8d ff e9 05 fe ff ff 44 89 f1 80 e1 07 80 c1 03 38 c1 0f 8c 50 fe ff ff 4c 89 f7 e8 01 d0 8d ff e9 43 fe ff ff e8 d7 af 48 ff <0f> 0b 0f 1f 44 00 00 55 41 57 41 56 41 54 53 48 89 fb 49 bf 00 00 RSP: 0000:ffffc90005217820 EFLAGS: 00010283 RAX: ffffffff823042c9 RBX: ffff88802aa88198 RCX: 0000000000080000 RDX: ffffc90004c59000 RSI: 00000000000007df RDI: 00000000000007e0 RBP: ffffc900052179b0 R08: ffff888024e01dc0 R09: 0000000000000003 R10: 0000000000000004 R11: 0000000000000002 R12: dffffc0000000000 R13: 1ffff92000a42f08 R14: 0000000000000005 R15: ffff88802aa88158 FS: 00007f37f6a326c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fbdfe0d6000 CR3: 0000000023363000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400