------------[ cut here ]------------ kernel BUG at fs/hfs/inode.c:447! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 5423 Comm: syz.4.216 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 RIP: 0010:hfs_write_inode+0x964/0x970 fs/hfs/inode.c:447 Code: 8f ff e9 13 fe ff ff 44 89 f1 80 e1 07 80 c1 03 38 c1 0f 8c 5e fe ff ff 4c 89 f7 e8 c6 07 8f ff e9 51 fe ff ff e8 9c a1 4a ff <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 55 41 57 41 56 41 54 53 48 89 RSP: 0018:ffffc9000318f6e0 EFLAGS: 00010287 RAX: ffffffff822d2914 RBX: ffff88807f328e98 RCX: 0000000000080000 RDX: ffffc90005f49000 RSI: 000000000001b5d6 RDI: 000000000001b5d7 RBP: ffffc9000318f870 R08: ffff88807ddd9dc0 R09: 0000000000000003 R10: 0000000000000004 R11: 0000000000000002 R12: dffffc0000000000 R13: 1ffff92000631ee0 R14: 0000000000000000 R15: ffff88807f328e58 FS: 00007fa04f37d6c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe5ef968000 CR3: 00000000682fb000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: write_inode fs/fs-writeback.c:1495 [inline] __writeback_single_inode+0x6c3/0xda0 fs/fs-writeback.c:1705 writeback_single_inode+0x221/0x8b0 fs/fs-writeback.c:1760 write_inode_now+0x217/0x280 fs/fs-writeback.c:2800 hfs_file_fsync+0xa3/0x140 fs/hfs/inode.c:680 generic_write_sync include/linux/fs.h:2989 [inline] generic_file_write_iter+0x157/0x1b0 mm/filemap.c:3948 do_iter_readv_writev+0x497/0x600 fs/read_write.c:-1 do_iter_write+0x205/0x7b0 fs/read_write.c:855 vfs_writev fs/read_write.c:928 [inline] do_pwritev+0x204/0x340 fs/read_write.c:1025 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:0x7fa051115be9 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:00007fa04f37d038 EFLAGS: 00000246 ORIG_RAX: 0000000000000148 RAX: ffffffffffffffda RBX: 00007fa05134cfa0 RCX: 00007fa051115be9 RDX: 0000000000000001 RSI: 00002000000001c0 RDI: 0000000000000007 RBP: 00007fa051198e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000e7b R11: 0000000000000246 R12: 0000000000000000 R13: 00007fa05134d038 R14: 00007fa05134cfa0 R15: 00007ffe3029fb88 Modules linked in: ---[ end trace 2815883d9631d7f0 ]--- RIP: 0010:hfs_write_inode+0x964/0x970 fs/hfs/inode.c:447 Code: 8f ff e9 13 fe ff ff 44 89 f1 80 e1 07 80 c1 03 38 c1 0f 8c 5e fe ff ff 4c 89 f7 e8 c6 07 8f ff e9 51 fe ff ff e8 9c a1 4a ff <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 55 41 57 41 56 41 54 53 48 89 RSP: 0018:ffffc9000318f6e0 EFLAGS: 00010287 RAX: ffffffff822d2914 RBX: ffff88807f328e98 RCX: 0000000000080000 RDX: ffffc90005f49000 RSI: 000000000001b5d6 RDI: 000000000001b5d7 RBP: ffffc9000318f870 R08: ffff88807ddd9dc0 R09: 0000000000000003 R10: 0000000000000004 R11: 0000000000000002 R12: dffffc0000000000 R13: 1ffff92000631ee0 R14: 0000000000000000 R15: ffff88807f328e58 FS: 00007fa04f37d6c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd1f314d368 CR3: 00000000682fb000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400