sendfile(r0, r1, 0x0, 0x100000001) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x8000, 0x177) lseek(r2, 0x0, 0x4) ioctl$FS_IOC_FSSETXATTR(0xffffffffffffffff, 0x401c5820, 0x0) BUG: memory leak unreferenced object 0xffff888019f701a0 (size 144): comm "syz-executor.1", pid 12342, jiffies 4296633712 (age 24.390s) hex dump (first 32 bytes): 00 00 00 00 00 00 00 00 3a d4 9c 68 00 00 00 00 ........:..h.... 63 ea c3 33 00 00 00 00 3a d4 9c 68 00 00 00 00 c..3....:..h.... backtrace: [<0000000094ed955a>] kmem_cache_zalloc include/linux/slab.h:654 [inline] [<0000000094ed955a>] __kernfs_iattrs+0xbc/0x470 fs/kernfs/inode.c:43 [<000000001679c906>] kernfs_iattrs fs/kernfs/inode.c:66 [inline] [<000000001679c906>] kernfs_xattr_set+0x2b/0x80 fs/kernfs/inode.c:304 [<0000000040637bcf>] selinux_kernfs_init_security+0x26d/0x4c0 security/selinux/hooks.c:3522 [<000000009bb2e7c3>] security_kernfs_init_security+0x4e/0xb0 security/security.c:1456 [<000000000674e2a5>] __kernfs_new_node+0x531/0x860 fs/kernfs/dir.c:674 [<000000001da6f778>] kernfs_new_node+0x18d/0x250 fs/kernfs/dir.c:711 [<00000000eca3b4ff>] kernfs_create_dir_ns+0x49/0x160 fs/kernfs/dir.c:1047 [<0000000047e2f637>] kernfs_create_dir include/linux/kernfs.h:561 [inline] [<0000000047e2f637>] cgroup_create kernel/cgroup/cgroup.c:5343 [inline] [<0000000047e2f637>] cgroup_mkdir+0x315/0xf50 kernel/cgroup/cgroup.c:5479 [<0000000001bbc951>] kernfs_iop_mkdir+0x14d/0x1e0 fs/kernfs/dir.c:1148 [<00000000daef2a51>] vfs_mkdir+0x493/0x750 fs/namei.c:3706 [<0000000045a89d5f>] do_mkdirat+0x150/0x2b0 fs/namei.c:3728 [<0000000018bedb3b>] do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 [<0000000096638461>] entry_SYSCALL_64_after_hwframe+0x67/0xd1 BUG: leak checking failed