------------[ cut here ]------------ kernel BUG at fs/hfs/inode.c:441! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 21258 Comm: syz-executor.1 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 RIP: 0010:hfs_write_inode+0x4f2/0x930 fs/hfs/inode.c:441 Code: ae 7d 88 4c 89 ef e8 ed f7 63 ff 49 83 fd 03 0f 84 95 00 00 00 49 83 fd 04 74 11 49 83 fd 02 0f 84 ed fb ff ff e8 1e f6 63 ff <0f> 0b e8 17 f6 63 ff 48 8d 7d 28 48 b8 00 00 00 00 00 fc ff df 48 RSP: 0018:ffff8880443ff920 EFLAGS: 00010212 RAX: 0000000000040000 RBX: 1ffff1100887ff26 RCX: ffffc90006836000 RDX: 0000000000000ef5 RSI: ffffffff81fe8f52 RDI: 0000000000000007 RBP: ffff88809d093340 R08: 0000000000000000 R09: 0000000000000004 R10: 0000000000000007 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: ffffffff887dcd20 R15: ffff88809d093368 FS: 00007fd64a58e700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9eadc83718 CR3: 00000000a9cab000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: write_inode fs/fs-writeback.c:1244 [inline] __writeback_single_inode+0x733/0x11d0 fs/fs-writeback.c:1442 writeback_single_inode+0x2a1/0x440 fs/fs-writeback.c:1496 write_inode_now+0x1e8/0x2d0 fs/fs-writeback.c:2489 hfs_file_fsync+0xa9/0x190 fs/hfs/inode.c:667 vfs_fsync_range+0x13a/0x220 fs/sync.c:197 generic_write_sync include/linux/fs.h:2750 [inline] generic_file_write_iter+0x4be/0x730 mm/filemap.c:3327 call_write_iter include/linux/fs.h:1821 [inline] new_sync_write fs/read_write.c:474 [inline] __vfs_write+0x51b/0x770 fs/read_write.c:487 vfs_write+0x1f3/0x540 fs/read_write.c:549 ksys_write+0x12b/0x2a0 fs/read_write.c:599 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7fd64c01c0c9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fd64a58e168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fd64c13bf80 RCX: 00007fd64c01c0c9 RDX: 0000000000000180 RSI: 0000000020004200 RDI: 0000000000000004 RBP: 00007fd64c077ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffef36c6a6f R14: 00007fd64a58e300 R15: 0000000000022000 Modules linked in: ---[ end trace 0bfec4188452b006 ]--- RIP: 0010:hfs_write_inode+0x4f2/0x930 fs/hfs/inode.c:441 Code: ae 7d 88 4c 89 ef e8 ed f7 63 ff 49 83 fd 03 0f 84 95 00 00 00 49 83 fd 04 74 11 49 83 fd 02 0f 84 ed fb ff ff e8 1e f6 63 ff <0f> 0b e8 17 f6 63 ff 48 8d 7d 28 48 b8 00 00 00 00 00 fc ff df 48 RSP: 0018:ffff8880443ff920 EFLAGS: 00010212 RAX: 0000000000040000 RBX: 1ffff1100887ff26 RCX: ffffc90006836000 RDX: 0000000000000ef5 RSI: ffffffff81fe8f52 RDI: 0000000000000007 RBP: ffff88809d093340 R08: 0000000000000000 R09: 0000000000000004 R10: 0000000000000007 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: ffffffff887dcd20 R15: ffff88809d093368 ieee802154 phy0 wpan0: encryption failed: -22 ieee802154 phy1 wpan1: encryption failed: -22 FS: 00007fd64a58e700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b30323000 CR3: 00000000a9cab000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400