------------[ cut here ]------------ kernel BUG at fs/hfs/inode.c:444! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI CPU: 0 UID: 0 PID: 8115 Comm: syz.0.307 Not tainted 6.13.0-rc3-syzkaller-00193-ge9b8ffafd20a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:hfs_write_inode+0xeb9/0xec0 fs/hfs/inode.c:444 Code: e9 88 fb ff ff 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c 9d fb ff ff e8 97 70 82 ff e9 93 fb ff ff e8 ed df 3f 09 e8 f8 99 1e ff 90 <0f> 0b 0f 1f 44 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc90005837780 EFLAGS: 00010283 RAX: ffffffff8280d9a8 RBX: 0000000000000005 RCX: 0000000000080000 RDX: ffffc90004f02000 RSI: 000000000000127b RDI: 000000000000127c RBP: ffffc90005837920 R08: 0000000000000007 R09: ffffffff8280cc52 R10: 0000000000000003 R11: ffff8880305ebc00 R12: 1ffff92000b06ef4 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff888028b33bd8 FS: 00007f859a7c66c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020002000 CR3: 000000007ee7c000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: write_inode fs/fs-writeback.c:1525 [inline] __writeback_single_inode+0x708/0x10d0 fs/fs-writeback.c:1745 writeback_single_inode+0x1f3/0x660 fs/fs-writeback.c:1801 write_inode_now+0x1dd/0x260 fs/fs-writeback.c:2851 hfs_file_fsync+0x9f/0x140 fs/hfs/inode.c:676 generic_write_sync include/linux/fs.h:2904 [inline] generic_file_write_iter+0x29f/0x310 mm/filemap.c:4186 new_sync_write fs/read_write.c:586 [inline] vfs_write+0xaeb/0xd30 fs/read_write.c:679 ksys_write+0x18f/0x2b0 fs/read_write.c:731 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f8599985d29 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f859a7c6038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f8599b75fa0 RCX: 00007f8599985d29 RDX: 00000000175d9003 RSI: 0000000020000200 RDI: 0000000000000006 RBP: 00007f8599a01aa8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f8599b75fa0 R15: 00007ffdcc68f228 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:hfs_write_inode+0xeb9/0xec0 fs/hfs/inode.c:444 Code: e9 88 fb ff ff 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c 9d fb ff ff e8 97 70 82 ff e9 93 fb ff ff e8 ed df 3f 09 e8 f8 99 1e ff 90 <0f> 0b 0f 1f 44 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc90005837780 EFLAGS: 00010283 RAX: ffffffff8280d9a8 RBX: 0000000000000005 RCX: 0000000000080000 RDX: ffffc90004f02000 RSI: 000000000000127b RDI: 000000000000127c RBP: ffffc90005837920 R08: 0000000000000007 R09: ffffffff8280cc52 R10: 0000000000000003 R11: ffff8880305ebc00 R12: 1ffff92000b06ef4 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff888028b33bd8 FS: 00007f859a7c66c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8678c28440 CR3: 000000007ee7c000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400