------------[ cut here ]------------ WARNING: CPU: 2 PID: 14872 at fs/overlayfs/xattrs.c:136 ovl_listxattr+0x371/0x4b0 fs/overlayfs/xattrs.c:136 Modules linked in: CPU: 2 UID: 0 PID: 14872 Comm: syz.2.3139 Not tainted 6.15.0-rc6-syzkaller-00051-g405e6c37c89e #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:ovl_listxattr+0x371/0x4b0 fs/overlayfs/xattrs.c:136 Code: ff ff ff 49 83 ec 08 48 01 c5 48 29 c2 48 01 d3 48 8d 75 08 48 89 ef 4c 01 f2 48 01 dd e8 e7 7e e9 fe eb 43 e8 50 f9 83 fe 90 <0f> 0b 90 49 c7 c4 fb ff ff ff e8 40 f9 83 fe 4c 89 e0 48 83 c4 20 RSP: 0018:ffffc9000c027dd0 EFLAGS: 00010287 RAX: 00000000000094a6 RBX: 0000000000000012 RCX: ffffc900075f3000 RDX: 0000000000080000 RSI: ffffffff83374cf0 RDI: 0000000000000006 RBP: ffff888030b86000 R08: 0000000000000006 R09: 0000000000000012 R10: 0000000000000011 R11: 0000000000000000 R12: 0000000000000011 R13: ffff888056c96758 R14: 0000000000000011 R15: ffff888025594500 FS: 00007fe1d50506c0(0000) GS:ffff8880d6bdf000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f30c25e0e9c CR3: 00000000279f6000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: vfs_listxattr+0xb7/0x140 fs/xattr.c:493 listxattr+0x69/0x1a0 fs/xattr.c:924 filename_listxattr fs/xattr.c:958 [inline] path_listxattrat+0x151/0x370 fs/xattr.c:988 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0x260 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fe1d418e969 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fe1d5050038 EFLAGS: 00000246 ORIG_RAX: 00000000000000c2 RAX: ffffffffffffffda RBX: 00007fe1d43b6080 RCX: 00007fe1d418e969 RDX: 00000000000000ce RSI: 0000200000000400 RDI: 0000200000000280 RBP: 00007fe1d4210ab1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fe1d43b6080 R15: 00007ffd23f6a148