audit: type=1804 audit(1667162452.144:4): pid=11115 uid=0 auid=4294967295 ses=4294967295 op="invalid_pcr" cause="open_writers" comm="syz-executor.1" name="/root/syzkaller-testdir2430785054/syzkaller.NJ5mYK/98/bus" dev="sda1" ino=13944 res=1 audit: type=1800 audit(1667162452.174:5): pid=11115 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed(directio)" comm="syz-executor.1" name="bus" dev="sda1" ino=13944 res=0 ------------[ cut here ]------------ kernel BUG at fs/f2fs/node.c:1069! invalid opcode: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 0 PID: 11085 Comm: syz-executor.0 Not tainted 4.14.296-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022 task: ffff888091f986c0 task.stack: ffff88803c098000 RIP: 0010:new_node_page+0xd1d/0x1180 fs/f2fs/node.c:1069 RSP: 0018:ffff88803c09f838 EFLAGS: 00010246 RAX: 0000000000040000 RBX: ffff88803c09f988 RCX: ffffc90005bb2000 RDX: 0000000000040000 RSI: ffffffff82cb27ad RDI: ffff888094ef2e18 RBP: ffff8880468c6500 R08: 0000000000000001 R09: 0000000000000005 R10: 0000000000000000 R11: 0000000000000000 R12: ffffea0002a4e800 R13: 000000001fffffff R14: ffff88803c09f880 R15: 0000000000000001 FS: 00007f75bbbd6700(0000) GS:ffff8880ba400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2fe29000 CR3: 00000000905df000 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+0x46/0xbb RIP: 0033:0x7f75bd6635a9 RSP: 002b:00007f75bbbd6168 EFLAGS: 00000246 ORIG_RAX: 00000000000000bd RAX: ffffffffffffffda RBX: 00007f75bd783f80 RCX: 00007f75bd6635a9 RDX: 0000000000000000 RSI: 0000000020000980 RDI: 0000000020000940 RBP: 00007f75bd6be7b0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff7b2d214f R14: 00007f75bbbd6300 R15: 0000000000022000 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: ffff88803c09f838 EXT4-fs (sda1): re-mounted. Opts: (null) FAT-fs (loop3): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) EXT4-fs (sda1): re-mounted. Opts: (null) audit: type=1804 audit(1667162452.884:6): pid=11152 uid=0 auid=4294967295 ses=4294967295 op="invalid_pcr" cause="ToMToU" comm="syz-executor.3" name="/root/syzkaller-testdir2803153104/syzkaller.btqsvi/99/file0/file0" dev="loop3" ino=5 res=1 FAT-fs (loop4): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) ---[ end trace 3129dc6a63a89f76 ]---