------------[ cut here ]------------ WARNING: CPU: 0 PID: 9936 at fs/ext4/xattr.c:2025 ext4_xattr_block_set+0x1f3d/0x3680 Modules linked in: CPU: 0 PID: 9936 Comm: syz-executor.3 Not tainted 6.2.0-rc7-syzkaller-00018-g0983f6bf2bfc #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 RIP: 0010:ext4_xattr_block_set+0x1f3d/0x3680 fs/ext4/xattr.c:2025 Code: 00 41 83 3e 00 0f 84 6b 0b 00 00 e8 2d b3 3f ff 48 8b 94 24 a8 00 00 00 48 8b 84 24 e8 00 00 00 e9 c2 f4 ff ff e8 13 b3 3f ff <0f> 0b e9 45 fc ff ff 89 d1 80 e1 07 80 c1 03 38 c1 0f 8c b3 f4 ff RSP: 0018:ffffc90003c0f4a0 EFLAGS: 00010287 RAX: ffffffff824c1f3d RBX: ffffc90003c0f888 RCX: 0000000000040000 RDX: ffffc9000a76a000 RSI: 0000000000005b87 RDI: 0000000000005b88 RBP: ffffc90003c0f6d0 R08: ffffffff821129f0 R09: ffffed100ea9c940 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff888058d44bb0 R14: dffffc0000000000 R15: ffffc90003c0f860 FS: 00007f41d28ad700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555555fe7708 CR3: 000000002a7e3000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ext4_xattr_set_handle+0xdb0/0x1570 fs/ext4/xattr.c:2406 ext4_initxattrs+0xa3/0x110 fs/ext4/xattr_security.c:44 security_inode_init_security+0x2df/0x3f0 security/security.c:1147 __ext4_new_inode+0x33fa/0x4320 fs/ext4/ialloc.c:1324 ext4_mkdir+0x425/0xce0 fs/ext4/namei.c:2992 vfs_mkdir+0x3ba/0x590 fs/namei.c:4036 do_mkdirat+0x246/0x500 fs/namei.c:4061 __do_sys_mkdirat fs/namei.c:4076 [inline] __se_sys_mkdirat fs/namei.c:4074 [inline] __x64_sys_mkdirat+0x89/0xa0 fs/namei.c:4074 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f41d1a8c0f9 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:00007f41d28ad168 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 00007f41d1babf80 RCX: 00007f41d1a8c0f9 RDX: 0000000000000000 RSI: 0000000020000380 RDI: ffffffffffffff9c RBP: 00007f41d1ae7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fffa21359bf R14: 00007f41d28ad300 R15: 0000000000022000