R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 000000000000000b R14: 00007f078859bf80 R15: 00007ffdbc17f058 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: 5500 at fs/kernfs/dir.c:1684 kernfs_remove_by_name_ns+0xfe/0x160 fs/kernfs/dir.c:1683 Modules linked in: CPU: 1 PID: 5500 Comm: syz-executor.0 Not tainted 6.9.0-rc4-syzkaller-00266-g977b1ef51866 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:kernfs_remove_by_name_ns+0xfe/0x160 fs/kernfs/dir.c:1683 Code: 48 89 df e8 34 ee ff ff 48 89 df e8 bc 8d ff ff 31 db eb 2b e8 b3 6a 5f ff 90 48 c7 c7 80 32 db 8b 4c 89 e6 e8 23 e7 21 ff 90 <0f> 0b 90 90 bb fe ff ff ff eb 12 e8 92 6a 5f ff bb fe ff ff ff 4c RSP: 0018:ffffc90002f8fb00 EFLAGS: 00010246 RAX: 7941fbc2cf730300 RBX: ffffffff8e890c60 RCX: ffff88802a535a00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: dffffc0000000000 R08: ffffffff81588072 R09: fffffbfff1c39b48 R10: dffffc0000000000 R11: fffffbfff1c39b48 R12: ffffffff8c0bf480 R13: 0000000000000000 R14: ffffffff8c0bf420 R15: 0000000000000000 FS: 00007f0787fff6c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000560018b99950 CR3: 000000007bb76000 CR4: 0000000000350ef0 Call Trace: kernfs_remove_by_name include/linux/kernfs.h:625 [inline] remove_files fs/sysfs/group.c:28 [inline] sysfs_remove_group+0xfe/0x2c0 fs/sysfs/group.c:319 sysfs_remove_groups+0x54/0xb0 fs/sysfs/group.c:343 __kobject_del+0x84/0x310 lib/kobject.c:595 kobject_del+0x45/0x60 lib/kobject.c:627 btrfs_sysfs_del_qgroups+0x1cd/0x230 fs/btrfs/sysfs.c:2370 btrfs_sysfs_add_qgroups+0x391/0x3c0 fs/btrfs/sysfs.c:2409 btrfs_quota_enable+0x27c/0x2090 fs/btrfs/qgroup.c:1037 btrfs_ioctl_quota_ctl+0x146/0x190 fs/btrfs/ioctl.c:3766 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:904 [inline] __se_sys_ioctl+0xfe/0x170 fs/ioctl.c:890 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f078847c959 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f0787fff0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f078859bf80 RCX: 00007f078847c959 RDX: 0000000020000000 RSI: 00000000c0109428 RDI: 0000000000000004 RBP: 00007f0787fff120 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 000000000000000b R14: 00007f078859bf80 R15: 00007ffdbc17f058