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: 7903 at fs/kernfs/dir.c:1684 kernfs_remove_by_name_ns+0x10c/0x188 Modules linked in: CPU: 1 UID: 0 PID: 7903 Comm: syz.0.236 Not tainted 6.11.0-rc4-syzkaller-gbe6d853c7631 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : kernfs_remove_by_name_ns+0x10c/0x188 lr : kernfs_remove_by_name_ns+0x108/0x188 fs/kernfs/dir.c:1683 sp : ffff80009fdd7860 x29: ffff80009fdd7860 x28: ffff0000c6fb1848 x27: 1fffe00018df61f7 x26: dfff800000000000 x25: ffff80008fc36e68 x24: 1ffff0001170eaf8 x23: dfff800000000000 x22: 0000000000000000 x21: 0000000000000000 x20: 00000000fffffffe x19: ffff80008b8757c0 x18: 1fffe0003679e7e6 x17: ffff80008f50d000 x16: ffff800080345244 x15: 0000000000000001 x14: 1fffe000367a12c8 x13: 0000000000000000 x12: 0000000000000003 x11: 0000000000000001 x10: 0000000000000003 x9 : c899cbd9c4d22900 x8 : c899cbd9c4d22900 x7 : ffff8000802b5e54 x6 : 0000000000000000 x5 : 0000000000000001 x4 : 0000000000000001 x3 : 0000000000000000 x2 : 0000000000000006 x1 : ffff80008b462a00 x0 : ffff80012489c000 Call trace: kernfs_remove_by_name_ns+0x10c/0x188 kernfs_remove_by_name include/linux/kernfs.h:625 [inline] remove_files fs/sysfs/group.c:28 [inline] sysfs_remove_group+0xf8/0x29c fs/sysfs/group.c:319 sysfs_remove_groups+0x5c/0xb4 fs/sysfs/group.c:343 __kobject_del+0x90/0x2d4 lib/kobject.c:595 kobject_del+0x48/0x68 lib/kobject.c:627 btrfs_sysfs_del_qgroups+0x104/0x150 fs/btrfs/sysfs.c:2453 btrfs_sysfs_add_qgroups+0x248/0x2a0 fs/btrfs/sysfs.c:2492 btrfs_quota_enable+0x23c/0x1d2c fs/btrfs/qgroup.c:1047 btrfs_ioctl_quota_ctl+0x148/0x1cc fs/btrfs/ioctl.c:3765 btrfs_ioctl+0x6b8/0xaec fs/btrfs/ioctl.c:4806 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:907 [inline] __se_sys_ioctl fs/ioctl.c:893 [inline] __arm64_sys_ioctl+0x14c/0x1c8 fs/ioctl.c:893 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:712 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:730 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:598 irq event stamp: 588 hardirqs last enabled at (587): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1427 [inline] hardirqs last enabled at (587): [] finish_lock_switch+0xbc/0x1e4 kernel/sched/core.c:4942 hardirqs last disabled at (588): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:470 softirqs last enabled at (556): [] softirq_handle_end kernel/softirq.c:400 [inline] softirqs last enabled at (556): [] handle_softirqs+0xa3c/0xbfc kernel/softirq.c:582 softirqs last disabled at (387): [] __do_softirq+0x14/0x20 kernel/softirq.c:588 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ kernfs: can not remove 'inconsistent', no directory WARNING: CPU: 1 PID: 7903 at fs/kernfs/dir.c:1684 kernfs_remove_by_name_ns+0x10c/0x188 Modules linked in: CPU: 1 UID: 0 PID: 7903 Comm: syz.0.236 Tainted: G W 6.11.0-rc4-syzkaller-gbe6d853c7631 #0 Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : kernfs_remove_by_name_ns+0x10c/0x188 lr : kernfs_remove_by_name_ns+0x108/0x188 fs/kernfs/dir.c:1683 sp : ffff80009fdd7860 x29: ffff80009fdd7860 x28: ffff0000c6fb1848 x27: 1fffe00018df61f7 x26: dfff800000000000 x25: ffff80008fc36e70 x24: 1ffff0001170eaf8 x23: dfff800000000000 x22: 0000000000000000 x21: 0000000000000000 x20: 00000000fffffffe x19: ffff80008b8757c0 x18: 1fffe0003679e7e6 x17: ffff80008f50d000 x16: ffff800080345244 x15: 0000000000000001 x14: 1fffe000367a12c8 x13: 0000000000000000 x12: 0000000000000003 x11: 0000000000000001 x10: 0000000000000003 x9 : c899cbd9c4d22900 x8 : c899cbd9c4d22900 x7 : ffff8000802b5e54 x6 : 0000000000000000 x5 : 0000000000000001 x4 : 0000000000000001 x3 : 0000000000000000 x2 : 0000000000000006 x1 : ffff80008b462a00 x0 : ffff80012489c000 Call trace: kernfs_remove_by_name_ns+0x10c/0x188 kernfs_remove_by_name include/linux/kernfs.h:625 [inline] remove_files fs/sysfs/group.c:28 [inline] sysfs_remove_group+0xf8/0x29c fs/sysfs/group.c:319 sysfs_remove_groups+0x5c/0xb4 fs/sysfs/group.c:343 __kobject_del+0x90/0x2d4 lib/kobject.c:595 kobject_del+0x48/0x68 lib/kobject.c:627 btrfs_sysfs_del_qgroups+0x104/0x150 fs/btrfs/sysfs.c:2453 btrfs_sysfs_add_qgroups+0x248/0x2a0 fs/btrfs/sysfs.c:2492 btrfs_quota_enable+0x23c/0x1d2c fs/btrfs/qgroup.c:1047 btrfs_ioctl_quota_ctl+0x148/0x1cc fs/btrfs/ioctl.c:3765 btrfs_ioctl+0x6b8/0xaec fs/btrfs/ioctl.c:4806 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:907 [inline] __se_sys_ioctl fs/ioctl.c:893 [inline] __arm64_sys_ioctl+0x14c/0x1c8 fs/ioctl.c:893 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:712 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:730 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:598 irq event stamp: 766 hardirqs last enabled at (765): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1427 [inline] hardirqs last enabled at (765): [] finish_lock_switch+0xbc/0x1e4 kernel/sched/core.c:4942 hardirqs last disabled at (766): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:470 softirqs last enabled at (758): [] softirq_handle_end kernel/softirq.c:400 [inline] softirqs last enabled at (758): [] handle_softirqs+0xa3c/0xbfc kernel/softirq.c:582 softirqs last disabled at (733): [] __do_softirq+0x14/0x20 kernel/softirq.c:588 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ kernfs: can not remove 'drop_subtree_threshold', no directory WARNING: CPU: 0 PID: 7903 at fs/kernfs/dir.c:1684 kernfs_remove_by_name_ns+0x10c/0x188 Modules linked in: CPU: 0 UID: 0 PID: 7903 Comm: syz.0.236 Tainted: G W 6.11.0-rc4-syzkaller-gbe6d853c7631 #0 Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : kernfs_remove_by_name_ns+0x10c/0x188 lr : kernfs_remove_by_name_ns+0x108/0x188 fs/kernfs/dir.c:1683 sp : ffff80009fdd7860 x29: ffff80009fdd7860 x28: ffff0000c6fb1848 x27: 1fffe00018df61f7 x26: dfff800000000000 x25: ffff80008fc36e78 x24: 1ffff0001170eaf8 x23: dfff800000000000 x22: 0000000000000000 x21: 0000000000000000 x20: 00000000fffffffe x19: ffff80008b8757c0 x18: 1fffe00036799fe6 x17: ffff80008f50d000 x16: ffff800080345244 x15: 0000000000000001 x14: 1fffe0003679cac8 x13: 0000000000000000 x12: 0000000000000003 x11: 0000000000000001 x10: 0000000000000003 x9 : c899cbd9c4d22900 x8 : c899cbd9c4d22900 x7 : ffff8000802b5e54 x6 : 0000000000000000 x5 : 0000000000000001 x4 : 0000000000000001 x3 : 0000000000000000 x2 : 0000000000000006 x1 : ffff80008b462a00 x0 : ffff800124878000 Call trace: kernfs_remove_by_name_ns+0x10c/0x188 kernfs_remove_by_name include/linux/kernfs.h:625 [inline] remove_files fs/sysfs/group.c:28 [inline] sysfs_remove_group+0xf8/0x29c fs/sysfs/group.c:319 sysfs_remove_groups+0x5c/0xb4 fs/sysfs/group.c:343 __kobject_del+0x90/0x2d4 lib/kobject.c:595 kobject_del+0x48/0x68 lib/kobject.c:627 btrfs_sysfs_del_qgroups+0x104/0x150 fs/btrfs/sysfs.c:2453 btrfs_sysfs_add_qgroups+0x248/0x2a0 fs/btrfs/sysfs.c:2492 btrfs_quota_enable+0x23c/0x1d2c fs/btrfs/qgroup.c:1047 btrfs_ioctl_quota_ctl+0x148/0x1cc fs/btrfs/ioctl.c:3765 btrfs_ioctl+0x6b8/0xaec fs/btrfs/ioctl.c:4806 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:907 [inline] __se_sys_ioctl fs/ioctl.c:893 [inline] __arm64_sys_ioctl+0x14c/0x1c8 fs/ioctl.c:893 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:712 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:730 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:598 irq event stamp: 890 hardirqs last enabled at (889): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1427 [inline] hardirqs last enabled at (889): [] finish_lock_switch+0xbc/0x1e4 kernel/sched/core.c:4942 hardirqs last disabled at (890): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:470 softirqs last enabled at (872): [] softirq_handle_end kernel/softirq.c:400 [inline] softirqs last enabled at (872): [] handle_softirqs+0xa3c/0xbfc kernel/softirq.c:582 softirqs last disabled at (843): [] __do_softirq+0x14/0x20 kernel/softirq.c:588 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ kernfs: can not remove 'mode', no directory WARNING: CPU: 0 PID: 7903 at fs/kernfs/dir.c:1684 kernfs_remove_by_name_ns+0x10c/0x188 Modules linked in: CPU: 0 UID: 0 PID: 7903 Comm: syz.0.236 Tainted: G W 6.11.0-rc4-syzkaller-gbe6d853c7631 #0 Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : kernfs_remove_by_name_ns+0x10c/0x188 lr : kernfs_remove_by_name_ns+0x108/0x188 fs/kernfs/dir.c:1683 sp : ffff80009fdd7860 x29: ffff80009fdd7860 x28: ffff0000c6fb1848 x27: 1fffe00018df61f7 x26: dfff800000000000 x25: ffff80008fc36e80 x24: 1ffff0001170eaf8 x23: dfff800000000000 x22: 0000000000000000 x21: 0000000000000000 x20: 00000000fffffffe x19: ffff80008b8757c0 x18: 1fffe00036799fe6 x17: ffff80008f50d000 x16: ffff800080345244 x15: 0000000000000001 x14: 1fffe0003679cac8 x13: 0000000000000000 x12: 0000000000000003 x11: 0000000000000001 x10: 0000000000000003 x9 : c899cbd9c4d22900 x8 : c899cbd9c4d22900 x7 : ffff8000802b5e54 x6 : 0000000000000000 x5 : 0000000000000001 x4 : 0000000000000001 x3 : 0000000000000000 x2 : 0000000000000006 x1 : ffff80008b462a00 x0 : ffff800124878000 Call trace: kernfs_remove_by_name_ns+0x10c/0x188 kernfs_remove_by_name include/linux/kernfs.h:625 [inline] remove_files fs/sysfs/group.c:28 [inline] sysfs_remove_group+0xf8/0x29c fs/sysfs/group.c:319 sysfs_remove_groups+0x5c/0xb4 fs/sysfs/group.c:343 __kobject_del+0x90/0x2d4 lib/kobject.c:595 kobject_del+0x48/0x68 lib/kobject.c:627 btrfs_sysfs_del_qgroups+0x104/0x150 fs/btrfs/sysfs.c:2453 btrfs_sysfs_add_qgroups+0x248/0x2a0 fs/btrfs/sysfs.c:2492 btrfs_quota_enable+0x23c/0x1d2c fs/btrfs/qgroup.c:1047 btrfs_ioctl_quota_ctl+0x148/0x1cc fs/btrfs/ioctl.c:3765 btrfs_ioctl+0x6b8/0xaec fs/btrfs/ioctl.c:4806 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:907 [inline] __se_sys_ioctl fs/ioctl.c:893 [inline] __arm64_sys_ioctl+0x14c/0x1c8 fs/ioctl.c:893 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:712 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:730 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:598 irq event stamp: 1490 hardirqs last enabled at (1489): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1427 [inline] hardirqs last enabled at (1489): [] finish_lock_switch+0xbc/0x1e4 kernel/sched/core.c:4942 hardirqs last disabled at (1490): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:470 softirqs last enabled at (1472): [] softirq_handle_end kernel/softirq.c:400 [inline] softirqs last enabled at (1472): [] handle_softirqs+0xa3c/0xbfc kernel/softirq.c:582 softirqs last disabled at (1297): [] __do_softirq+0x14/0x20 kernel/softirq.c:588 ---[ end trace 0000000000000000 ]---