------------[ cut here ]------------ kernel BUG at fs/f2fs/node.c:1069! invalid opcode: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 0 PID: 10187 Comm: syz-executor.4 Not tainted 4.14.297-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022 task: ffff88809b9922c0 task.stack: ffff888065810000 RIP: 0010:new_node_page+0xd1d/0x1180 fs/f2fs/node.c:1069 RSP: 0018:ffff888065817838 EFLAGS: 00010246 RAX: 0000000000040000 RBX: ffff888065817988 RCX: ffffc90008621000 RDX: 0000000000040000 RSI: ffffffff82cb37ad RDI: ffff88809dfae998 RBP: ffff888065dc00c0 R08: 0000000000000001 R09: 0000000000000005 R10: 0000000000000000 R11: 0000000000000000 R12: ffffea0002736040 R13: 000000001fffffff R14: ffff888065817880 R15: 0000000000000001 FS: 00007f3498b37700(0000) GS:ffff8880ba400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555556295708 CR3: 0000000091c2b000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: write_all_xattrs fs/f2fs/xattr.c:455 [inline] __f2fs_setxattr+0xb77/0x1550 fs/f2fs/xattr.c:700 f2fs_setxattr+0x11b/0x1c0 fs/f2fs/xattr.c:737 f2fs_xattr_generic_set+0xe0/0x1c0 fs/f2fs/xattr.c:73 __vfs_setxattr+0xdc/0x130 fs/xattr.c:150 __vfs_setxattr_noperm+0xfd/0x3d0 fs/xattr.c:181 __vfs_setxattr_locked+0x14d/0x250 fs/xattr.c:239 vfs_setxattr+0xcf/0x230 fs/xattr.c:256 setxattr+0x1a9/0x300 fs/xattr.c:523 path_setxattr+0x118/0x130 fs/xattr.c:542 SYSC_lsetxattr fs/xattr.c:564 [inline] SyS_lsetxattr+0x33/0x40 fs/xattr.c:560 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x5e/0xd3 Code: 00 44 89 ad 78 04 00 00 be 01 00 00 00 48 89 ef e8 99 a3 f7 ff e9 ea fc ff ff 49 c7 c4 ff ff ff ff e9 de fc ff ff e8 13 20 8a fe <0f> 0b 48 89 44 24 10 e8 07 20 8a fe 48 8b 44 24 10 4c 8d 70 ff RIP: new_node_page+0xd1d/0x1180 fs/f2fs/node.c:1069 RSP: ffff888065817838 ---[ end trace b32dbd82749ec099 ]---