kobject: kobject_add_internal failed for qgroups (error: -12 parent: 395ef67a-297e-477c-816d-cd80a5b93e5d) ------------[ cut here ]------------ kernfs: can not remove 'enabled', no directory WARNING: CPU: 1 PID: 7844 at fs/kernfs/dir.c:1707 kernfs_remove_by_name_ns+0xd1/0x130 fs/kernfs/dir.c:1706 Modules linked in: CPU: 1 UID: 0 PID: 7844 Comm: syz.1.235 Not tainted 6.16.0-rc1-syzkaller-00004-gaef17cb3d3c4 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:kernfs_remove_by_name_ns+0xd1/0x130 fs/kernfs/dir.c:1706 Code: 4c 89 f7 e8 c1 f2 ff ff 4c 89 f7 e8 69 9b ff ff 31 ed eb 2b e8 20 98 64 ff 90 48 c7 c7 c0 2d 9c 8b 4c 89 f6 e8 50 43 28 ff 90 <0f> 0b 90 90 bd fe ff ff ff eb 12 e8 ff 97 64 ff bd fe ff ff ff 48 RSP: 0018:ffffc9000b7e7b30 EFLAGS: 00010246 RAX: 5f79ab8a4c8fc100 RBX: ffffffff8bcdf180 RCX: ffff88805c225a00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000002 RBP: dffffc0000000000 R08: ffff8880b8724293 R09: 1ffff110170e4852 R10: dffffc0000000000 R11: ffffed10170e4853 R12: 0000000000000000 R13: ffffffff8e6de840 R14: ffffffff8bcdf1e0 R15: 0000000000000000 FS: 00007fc4bdc616c0(0000) GS:ffff888125d86000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f473b753000 CR3: 0000000079d00000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: kernfs_remove_by_name include/linux/kernfs.h:633 [inline] remove_files fs/sysfs/group.c:28 [inline] sysfs_remove_group+0xfc/0x2c0 fs/sysfs/group.c:322 sysfs_remove_groups+0x54/0xb0 fs/sysfs/group.c:346 __kobject_del+0x84/0x300 lib/kobject.c:595 kobject_del+0x45/0x60 lib/kobject.c:627 btrfs_sysfs_del_qgroups+0x115/0x160 fs/btrfs/sysfs.c:2610 btrfs_sysfs_add_qgroups+0x286/0x2b0 fs/btrfs/sysfs.c:2649 btrfs_quota_enable+0x278/0x1d50 fs/btrfs/qgroup.c:1030 btrfs_ioctl_quota_ctl+0x183/0x1c0 fs/btrfs/ioctl.c:3673 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:907 [inline] __se_sys_ioctl+0xfc/0x170 fs/ioctl.c:893 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fc4bcd8e929 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:00007fc4bdc61038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fc4bcfb5fa0 RCX: 00007fc4bcd8e929 RDX: 0000200000000580 RSI: 00000000c0109428 RDI: 0000000000000003 RBP: 00007fc4bdc61090 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000000 R14: 00007fc4bcfb5fa0 R15: 00007fff31ec1df8