------------[ cut here ]------------ WARNING: CPU: 1 PID: 24138 at fs/ext4/xattr.c:2076 ext4_xattr_block_set+0x1f3d/0x3680 Modules linked in: CPU: 1 PID: 24138 Comm: syz-executor.3 Not tainted 6.3.0-syzkaller-13027-g1a5304fecee5 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 RIP: 0010:ext4_xattr_block_set+0x1f3d/0x3680 fs/ext4/xattr.c:2076 Code: 00 41 83 3e 00 0f 84 6b 0b 00 00 e8 6d 53 3d ff 48 8b 94 24 a8 00 00 00 48 8b 84 24 e8 00 00 00 e9 c2 f4 ff ff e8 53 53 3d 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:ffffc900043cf000 EFLAGS: 00010283 RAX: ffffffff824e3ccd RBX: ffffc900043cf3e8 RCX: 0000000000040000 RDX: ffffc9000f623000 RSI: 0000000000001cd9 RDI: 0000000000001cda RBP: ffffc900043cf230 R08: ffffffff82142710 R09: ffffed100f0f455d R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff8880786b90b0 R14: dffffc0000000000 R15: ffffc900043cf3c0 FS: 00007f95fca8a700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5823fad988 CR3: 0000000014a83000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ext4_xattr_set_handle+0xcd4/0x15c0 fs/ext4/xattr.c:2457 ext4_initxattrs+0xa3/0x110 fs/ext4/xattr_security.c:44 security_inode_init_security+0x2df/0x3f0 security/security.c:1630 __ext4_new_inode+0x341c/0x42e0 fs/ext4/ialloc.c:1322 ext4_create+0x279/0x550 fs/ext4/namei.c:2808 lookup_open fs/namei.c:3492 [inline] open_last_lookups fs/namei.c:3560 [inline] path_openat+0x13df/0x3170 fs/namei.c:3788 do_filp_open+0x234/0x490 fs/namei.c:3818 do_sys_openat2+0x13f/0x500 fs/open.c:1356 do_sys_open fs/open.c:1372 [inline] __do_sys_openat fs/open.c:1388 [inline] __se_sys_openat fs/open.c:1383 [inline] __x64_sys_openat+0x247/0x290 fs/open.c:1383 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:0x7f95fbc8c169 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:00007f95fca8a168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f95fbdabf80 RCX: 00007f95fbc8c169 RDX: 000000000000275a RSI: 0000000020000180 RDI: ffffffffffffff9c RBP: 00007f95fbce7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd4164a84f R14: 00007f95fca8a300 R15: 0000000000022000