------------[ cut here ]------------ WARNING: CPU: 1 PID: 7118 at fs/ext4/xattr.c:2141 ext4_xattr_block_set+0x2d4e/0x3030 fs/ext4/xattr.c:2141 Modules linked in: CPU: 1 PID: 7118 Comm: syz-executor.1 Not tainted 6.2.0-syzkaller-13534-gb01fe98d34f3 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014 RIP: 0010:ext4_xattr_block_set+0x2d4e/0x3030 fs/ext4/xattr.c:2141 Code: 24 08 e9 80 fd ff ff e8 00 96 97 ff e9 4c fe ff ff e8 16 96 97 ff e9 8d fa ff ff e8 0c 96 97 ff e9 78 e1 ff ff e8 c2 05 47 ff <0f> 0b e9 aa e8 ff ff e8 d6 95 97 ff e9 d2 e8 ff ff e8 ec 95 97 ff RSP: 0018:ffffc90002717628 EFLAGS: 00010216 RAX: 000000000000312c RBX: 0000000000000001 RCX: ffffc9000f942000 RDX: 0000000000040000 RSI: ffffffff823d151e RDI: 0000000000000001 RBP: 0000000048993a89 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffff888067860018 R13: 0000000000000000 R14: dffffc0000000000 R15: ffff888029052470 FS: 00007f8e0e52b700(0000) GS:ffff88802ca80000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2f041000 CR3: 0000000066467000 CR4: 0000000000150ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ext4_xattr_set_handle+0xd8a/0x1510 fs/ext4/xattr.c:2458 ext4_initxattrs+0xb9/0x120 fs/ext4/xattr_security.c:44 security_inode_init_security+0x1c8/0x370 security/security.c:1147 __ext4_new_inode+0x3b03/0x5890 fs/ext4/ialloc.c:1324 ext4_mkdir+0x33e/0xb20 fs/ext4/namei.c:2992 vfs_mkdir+0x242/0x460 fs/namei.c:4038 do_mkdirat+0x28d/0x310 fs/namei.c:4061 __do_sys_mkdirat fs/namei.c:4076 [inline] __se_sys_mkdirat fs/namei.c:4074 [inline] __x64_sys_mkdirat+0x119/0x170 fs/namei.c:4074 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f8e0d88c0f9 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:00007f8e0e52b168 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 00007f8e0d9ac050 RCX: 00007f8e0d88c0f9 RDX: 0000000000000000 RSI: 0000000020000180 RDI: 0000000000000005 RBP: 00007f8e0d8e7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc0092d3df R14: 00007f8e0e52b300 R15: 0000000000022000