r0 = open(&(0x7f0000000180)='./file0\x00', 0x240880, 0x0) mkdirat(r0, &(0x7f0000000200)='./file0\x00', 0xd00000000000000) BUG: memory leak unreferenced object 0xffff88800ba01a90 (size 144): comm "syz-executor.1", pid 98359, jiffies 4298185886 (age 22.030s) hex dump (first 32 bytes): 00 00 00 00 00 00 00 00 ea 3d f6 64 00 00 00 00 .........=.d.... e0 e4 e5 11 00 00 00 00 ea 3d f6 64 00 00 00 00 .........=.d.... backtrace: [<00000000384d7ac3>] kmem_cache_zalloc include/linux/slab.h:654 [inline] [<00000000384d7ac3>] __kernfs_iattrs+0xbc/0x470 fs/kernfs/inode.c:43 [<00000000d784c35e>] kernfs_iattrs fs/kernfs/inode.c:66 [inline] [<00000000d784c35e>] kernfs_xattr_set+0x2b/0x80 fs/kernfs/inode.c:304 [<00000000f6a269eb>] selinux_kernfs_init_security+0x26d/0x4c0 security/selinux/hooks.c:3522 [<00000000cfb3a3ad>] security_kernfs_init_security+0x4e/0xb0 security/security.c:1456 [<00000000951e170e>] __kernfs_new_node+0x531/0x860 fs/kernfs/dir.c:674 [<000000004b02ffc4>] kernfs_new_node fs/kernfs/dir.c:699 [inline] [<000000004b02ffc4>] kernfs_create_dir_ns+0x9c/0x230 fs/kernfs/dir.c:1035 [<00000000c54f9322>] kernfs_create_dir include/linux/kernfs.h:561 [inline] [<00000000c54f9322>] cgroup_create kernel/cgroup/cgroup.c:5343 [inline] [<00000000c54f9322>] cgroup_mkdir+0x318/0xf50 kernel/cgroup/cgroup.c:5477 [<00000000d7dea652>] kernfs_iop_mkdir+0x14d/0x1e0 fs/kernfs/dir.c:1136 [<000000000f425868>] vfs_mkdir+0x493/0x700 fs/namei.c:3712 [<0000000058a17623>] do_mkdirat+0x150/0x2b0 fs/namei.c:3734 [<0000000023202741>] do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 [<00000000f473748d>] entry_SYSCALL_64_after_hwframe+0x62/0xc7 BUG: leak checking failed