------------[ cut here ]------------ kernel BUG at fs/hfs/inode.c:444! Oops: invalid opcode: 0000 [#1] SMP KASAN PTI CPU: 0 UID: 0 PID: 9276 Comm: syz.9.426 Not tainted 6.16.0-rc3-syzkaller-00057-g92ca6c498a5e #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:hfs_write_inode+0x7c8/0x7d0 fs/hfs/inode.c:444 Code: c1 60 52 a9 99 80 e1 07 80 c1 03 38 c1 0f 8c 7d fe ff ff 48 c7 c7 60 52 a9 99 e8 13 32 89 ff e9 6c fe ff ff e8 29 da 27 ff 90 <0f> 0b 66 0f 1f 44 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc90003c27560 EFLAGS: 00010283 RAX: ffffffff829871f7 RBX: ffff888031972218 RCX: 0000000000080000 RDX: ffffc9000c313000 RSI: 0000000000000584 RDI: 0000000000000585 RBP: ffffc90003c27700 R08: ffff88802b7dda00 R09: 0000000000000003 R10: 0000000000000004 R11: 0000000000000002 R12: dffffc0000000000 R13: 1ffff92000784eb0 R14: ffff8880319721d8 R15: 0000000000000000 FS: 00007fcaf59836c0(0000) GS:ffff888125c83000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe0d7f83338 CR3: 0000000027018000 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+0x6ee/0xff0 fs/fs-writeback.c:1745 writeback_single_inode+0x1f3/0x6a0 fs/fs-writeback.c:1801 write_inode_now+0x158/0x1c0 fs/fs-writeback.c:2863 hfs_file_fsync+0xa4/0x140 fs/hfs/inode.c:676 generic_write_sync include/linux/fs.h:3031 [inline] generic_file_write_iter+0x311/0x540 mm/filemap.c:4259 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x54b/0xa90 fs/read_write.c:686 ksys_write+0x145/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fcaf4b8e929 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:00007fcaf5983038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fcaf4db5fa0 RCX: 00007fcaf4b8e929 RDX: 00000000000000a0 RSI: 00002000000003c0 RDI: 0000000000000005 RBP: 00007fcaf4c10b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fcaf4db5fa0 R15: 00007fff3079bd48 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:hfs_write_inode+0x7c8/0x7d0 fs/hfs/inode.c:444 Code: c1 60 52 a9 99 80 e1 07 80 c1 03 38 c1 0f 8c 7d fe ff ff 48 c7 c7 60 52 a9 99 e8 13 32 89 ff e9 6c fe ff ff e8 29 da 27 ff 90 <0f> 0b 66 0f 1f 44 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc90003c27560 EFLAGS: 00010283 RAX: ffffffff829871f7 RBX: ffff888031972218 RCX: 0000000000080000 RDX: ffffc9000c313000 RSI: 0000000000000584 RDI: 0000000000000585 RBP: ffffc90003c27700 R08: ffff88802b7dda00 R09: 0000000000000003 R10: 0000000000000004 R11: 0000000000000002 R12: dffffc0000000000 R13: 1ffff92000784eb0 R14: ffff8880319721d8 R15: 0000000000000000 FS: 00007fcaf59836c0(0000) GS:ffff888125d83000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe0ce5ff000 CR3: 0000000027018000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400