hfs: keylen 94 too large hfs: keylen 94 too large ------------[ cut here ]------------ kernel BUG at fs/hfs/inode.c:444! Oops: invalid opcode: 0000 [#1] SMP KASAN PTI CPU: 1 UID: 0 PID: 7787 Comm: syz.6.219 Not tainted 6.16.0-rc3-syzkaller-00072-gee88bddf7f2f #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 32 a9 99 80 e1 07 80 c1 03 38 c1 0f 8c 7d fe ff ff 48 c7 c7 60 32 a9 99 e8 b3 2d 89 ff e9 6c fe ff ff e8 d9 d4 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:ffffc9000c077560 EFLAGS: 00010287 RAX: ffffffff82987897 RBX: ffff8880226c0e98 RCX: 0000000000080000 RDX: ffffc900043b1000 RSI: 00000000000011bc RDI: 00000000000011bd RBP: ffffc9000c077700 R08: ffff88802c268000 R09: 0000000000000003 R10: 0000000000000004 R11: 0000000000000002 R12: dffffc0000000000 R13: 1ffff9200180eeb0 R14: ffff8880226c0e58 R15: 0000000000000000 FS: 00007f4a7a3ac6c0(0000) GS:ffff888125d85000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c3bb281 CR3: 000000007bb00000 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+0x6f1/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:0x7f4a7958e929 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:00007f4a7a3ac038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f4a797b5fa0 RCX: 00007f4a7958e929 RDX: 0000000000001006 RSI: 0000200000001440 RDI: 000000000000000d RBP: 00007f4a79610b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f4a797b5fa0 R15: 00007ffd99008a58 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:hfs_write_inode+0x7c8/0x7d0 fs/hfs/inode.c:444 Code: c1 60 32 a9 99 80 e1 07 80 c1 03 38 c1 0f 8c 7d fe ff ff 48 c7 c7 60 32 a9 99 e8 b3 2d 89 ff e9 6c fe ff ff e8 d9 d4 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:ffffc9000c077560 EFLAGS: 00010287 RAX: ffffffff82987897 RBX: ffff8880226c0e98 RCX: 0000000000080000 RDX: ffffc900043b1000 RSI: 00000000000011bc RDI: 00000000000011bd RBP: ffffc9000c077700 R08: ffff88802c268000 R09: 0000000000000003 R10: 0000000000000004 R11: 0000000000000002 R12: dffffc0000000000 R13: 1ffff9200180eeb0 R14: ffff8880226c0e58 R15: 0000000000000000 FS: 00007f4a7a3ac6c0(0000) GS:ffff888125d85000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4a7a369f98 CR3: 000000007bb00000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400