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: 7173 at fs/kernfs/dir.c:1707 kernfs_remove_by_name_ns+0xd0/0x14c fs/kernfs/dir.c:1706 Modules linked in: CPU: 1 UID: 0 PID: 7173 Comm: syz.6.42 Not tainted 6.17.0-rc1-syzkaller-g8f5ae30d69d7 #0 PREEMPT Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/18/2025 pstate: 63400005 (nZCv daif +PAN -UAO +TCO +DIT -SSBS BTYPE=--) pc : kernfs_remove_by_name_ns+0xd0/0x14c fs/kernfs/dir.c:1706 lr : kernfs_remove_by_name_ns+0xd0/0x14c fs/kernfs/dir.c:1706 sp : ffff8000a4d17890 x29: ffff8000a4d17890 x28: ffff8000a4d17b90 x27: 1fffe0001ef2da05 x26: dfff800000000000 x25: ffff80008ff4b708 x24: 1ffff000116a1450 x23: dfff800000000000 x22: 0000000000000000 x21: 0000000000000000 x20: ffff80008b50a2e0 x19: ffff80008b50a280 x18: 1fffe0003379be88 x17: 7261702032312d20 x16: ffff80008b007230 x15: 0000000000000001 x14: 1fffe000337a06f2 x13: 0000000000000000 x12: 0000000000000000 x11: ffff6000337a06f3 x10: 0000000000ff0100 x9 : 1817e5afc8a05600 x8 : 1817e5afc8a05600 x7 : ffff800080563af4 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff8000807de334 x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000000 Call trace: kernfs_remove_by_name_ns+0xd0/0x14c fs/kernfs/dir.c:1706 (P) kernfs_remove_by_name include/linux/kernfs.h:633 [inline] remove_files fs/sysfs/group.c:28 [inline] sysfs_remove_group+0xf8/0x29c fs/sysfs/group.c:322 sysfs_remove_groups+0x5c/0xb4 fs/sysfs/group.c:346 __kobject_del+0x90/0x2d4 lib/kobject.c:595 kobject_del+0x48/0x68 lib/kobject.c:627 btrfs_sysfs_del_qgroups+0x100/0x14c fs/btrfs/sysfs.c:2616 btrfs_sysfs_add_qgroups+0x238/0x268 fs/btrfs/sysfs.c:2655 btrfs_quota_enable+0x214/0x2208 fs/btrfs/qgroup.c:1022 btrfs_ioctl_quota_ctl+0x178/0x1bc fs/btrfs/ioctl.c:3667 btrfs_ioctl+0x86c/0xc3c fs/btrfs/ioctl.c:5318 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:598 [inline] __se_sys_ioctl fs/ioctl.c:584 [inline] __arm64_sys_ioctl+0x14c/0x1c4 fs/ioctl.c:584 __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+0x58/0x180 arch/arm64/kernel/entry-common.c:879 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:898 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 irq event stamp: 49170 hardirqs last enabled at (49169): [] vprintk_store+0x898/0xac8 kernel/printk/printk.c:2356 hardirqs last disabled at (49170): [] el1_brk64+0x1c/0x48 arch/arm64/kernel/entry-common.c:574 softirqs last enabled at (49054): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (49052): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ kernfs: can not remove 'inconsistent', no directory WARNING: CPU: 0 PID: 7173 at fs/kernfs/dir.c:1707 kernfs_remove_by_name_ns+0xd0/0x14c fs/kernfs/dir.c:1706 Modules linked in: CPU: 0 UID: 0 PID: 7173 Comm: syz.6.42 Tainted: G W 6.17.0-rc1-syzkaller-g8f5ae30d69d7 #0 PREEMPT Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/18/2025 pstate: 63400005 (nZCv daif +PAN -UAO +TCO +DIT -SSBS BTYPE=--) pc : kernfs_remove_by_name_ns+0xd0/0x14c fs/kernfs/dir.c:1706 lr : kernfs_remove_by_name_ns+0xd0/0x14c fs/kernfs/dir.c:1706 sp : ffff8000a4d17890 x29: ffff8000a4d17890 x28: ffff8000a4d17b90 x27: 1fffe0001ef2da05 x26: dfff800000000000 x25: ffff80008ff4b710 x24: 1ffff000116a1450 x23: dfff800000000000 x22: 0000000000000000 x21: 0000000000000000 x20: ffff80008b50a300 x19: ffff80008b50a280 x18: 1fffe0003379be88 x17: ffff80008f7be000 x16: ffff80008b007230 x15: 0000000000000001 x14: 1fffe00018d36818 x13: 0000000000000000 x12: 0000000000000000 x11: ffff600018d36819 x10: 0000000000000003 x9 : 1817e5afc8a05600 x8 : 1817e5afc8a05600 x7 : ffff800080491074 x6 : 0000000000000000 x5 : 0000000000000001 x4 : 0000000000000001 x3 : ffff800080483608 x2 : 0000000000000001 x1 : ffff80008b6577c0 x0 : 0000000000000001 Call trace: kernfs_remove_by_name_ns+0xd0/0x14c fs/kernfs/dir.c:1706 (P) kernfs_remove_by_name include/linux/kernfs.h:633 [inline] remove_files fs/sysfs/group.c:28 [inline] sysfs_remove_group+0xf8/0x29c fs/sysfs/group.c:322 sysfs_remove_groups+0x5c/0xb4 fs/sysfs/group.c:346 __kobject_del+0x90/0x2d4 lib/kobject.c:595 kobject_del+0x48/0x68 lib/kobject.c:627 btrfs_sysfs_del_qgroups+0x100/0x14c fs/btrfs/sysfs.c:2616 btrfs_sysfs_add_qgroups+0x238/0x268 fs/btrfs/sysfs.c:2655 btrfs_quota_enable+0x214/0x2208 fs/btrfs/qgroup.c:1022 btrfs_ioctl_quota_ctl+0x178/0x1bc fs/btrfs/ioctl.c:3667 btrfs_ioctl+0x86c/0xc3c fs/btrfs/ioctl.c:5318 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:598 [inline] __se_sys_ioctl fs/ioctl.c:584 [inline] __arm64_sys_ioctl+0x14c/0x1c4 fs/ioctl.c:584 __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+0x58/0x180 arch/arm64/kernel/entry-common.c:879 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:898 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 irq event stamp: 49222 hardirqs last enabled at (49221): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1531 [inline] hardirqs last enabled at (49221): [] finish_lock_switch+0xb0/0x1c0 kernel/sched/core.c:5105 hardirqs last disabled at (49222): [] el1_brk64+0x1c/0x48 arch/arm64/kernel/entry-common.c:574 softirqs last enabled at (49206): [] softirq_handle_end kernel/softirq.c:425 [inline] softirqs last enabled at (49206): [] handle_softirqs+0xaf8/0xc88 kernel/softirq.c:607 softirqs last disabled at (49173): [] __do_softirq+0x14/0x20 kernel/softirq.c:613 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ kernfs: can not remove 'drop_subtree_threshold', no directory WARNING: CPU: 0 PID: 7173 at fs/kernfs/dir.c:1707 kernfs_remove_by_name_ns+0xd0/0x14c fs/kernfs/dir.c:1706 Modules linked in: CPU: 0 UID: 0 PID: 7173 Comm: syz.6.42 Tainted: G W 6.17.0-rc1-syzkaller-g8f5ae30d69d7 #0 PREEMPT Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/18/2025 pstate: 63400005 (nZCv daif +PAN -UAO +TCO +DIT -SSBS BTYPE=--) pc : kernfs_remove_by_name_ns+0xd0/0x14c fs/kernfs/dir.c:1706 lr : kernfs_remove_by_name_ns+0xd0/0x14c fs/kernfs/dir.c:1706 sp : ffff8000a4d17890 x29: ffff8000a4d17890 x28: ffff8000a4d17b90 x27: 1fffe0001ef2da05 x26: dfff800000000000 x25: ffff80008ff4b718 x24: 1ffff000116a1450 x23: dfff800000000000 x22: 0000000000000000 x21: 0000000000000000 x20: ffff80008b50a320 x19: ffff80008b50a280 x18: 1fffe0003379be88 x17: ffff80008f7be000 x16: ffff80008b007230 x15: 0000000000000001 x14: 1fffe0001b96f000 x13: 0000000000000000 x12: 0000000000000000 x11: ffff60001b96f001 x10: 0000000000000003 x9 : 1817e5afc8a05600 x8 : 1817e5afc8a05600 x7 : ffff800080491074 x6 : 0000000000000000 x5 : 0000000000000001 x4 : 0000000000000001 x3 : ffff800080483608 x2 : 0000000000000001 x1 : ffff80008b6577c0 x0 : 0000000000000001 Call trace: kernfs_remove_by_name_ns+0xd0/0x14c fs/kernfs/dir.c:1706 (P) kernfs_remove_by_name include/linux/kernfs.h:633 [inline] remove_files fs/sysfs/group.c:28 [inline] sysfs_remove_group+0xf8/0x29c fs/sysfs/group.c:322 sysfs_remove_groups+0x5c/0xb4 fs/sysfs/group.c:346 __kobject_del+0x90/0x2d4 lib/kobject.c:595 kobject_del+0x48/0x68 lib/kobject.c:627 btrfs_sysfs_del_qgroups+0x100/0x14c fs/btrfs/sysfs.c:2616 btrfs_sysfs_add_qgroups+0x238/0x268 fs/btrfs/sysfs.c:2655 btrfs_quota_enable+0x214/0x2208 fs/btrfs/qgroup.c:1022 btrfs_ioctl_quota_ctl+0x178/0x1bc fs/btrfs/ioctl.c:3667 btrfs_ioctl+0x86c/0xc3c fs/btrfs/ioctl.c:5318 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:598 [inline] __se_sys_ioctl fs/ioctl.c:584 [inline] __arm64_sys_ioctl+0x14c/0x1c4 fs/ioctl.c:584 __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+0x58/0x180 arch/arm64/kernel/entry-common.c:879 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:898 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 irq event stamp: 50086 hardirqs last enabled at (50085): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1531 [inline] hardirqs last enabled at (50085): [] finish_lock_switch+0xb0/0x1c0 kernel/sched/core.c:5105 hardirqs last disabled at (50086): [] el1_brk64+0x1c/0x48 arch/arm64/kernel/entry-common.c:574 softirqs last enabled at (50070): [] softirq_handle_end kernel/softirq.c:425 [inline] softirqs last enabled at (50070): [] handle_softirqs+0xaf8/0xc88 kernel/softirq.c:607 softirqs last disabled at (49225): [] __do_softirq+0x14/0x20 kernel/softirq.c:613 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ kernfs: can not remove 'mode', no directory WARNING: CPU: 0 PID: 7173 at fs/kernfs/dir.c:1707 kernfs_remove_by_name_ns+0xd0/0x14c fs/kernfs/dir.c:1706 Modules linked in: CPU: 0 UID: 0 PID: 7173 Comm: syz.6.42 Tainted: G W 6.17.0-rc1-syzkaller-g8f5ae30d69d7 #0 PREEMPT Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/18/2025 pstate: 63400005 (nZCv daif +PAN -UAO +TCO +DIT -SSBS BTYPE=--) pc : kernfs_remove_by_name_ns+0xd0/0x14c fs/kernfs/dir.c:1706 lr : kernfs_remove_by_name_ns+0xd0/0x14c fs/kernfs/dir.c:1706 sp : ffff8000a4d17890 x29: ffff8000a4d17890 x28: ffff8000a4d17b90 x27: 1fffe0001ef2da05 x26: dfff800000000000 x25: ffff80008ff4b720 x24: 1ffff000116a1450 x23: dfff800000000000 x22: 0000000000000000 x21: 0000000000000000 x20: ffff80008b50a360 x19: ffff80008b50a280 x18: 1fffe0003379be88 x17: ffff80008f7be000 x16: ffff80008b007230 x15: 0000000000000001 x14: 1fffe0003379e908 x13: 0000000000000000 x12: 0000000000000000 x11: ffff800093306be8 x10: 0000000000000003 x9 : 1817e5afc8a05600 x8 : 1817e5afc8a05600 x7 : ffff800080491074 x6 : 0000000000000000 x5 : 0000000000000001 x4 : 0000000000000001 x3 : 0000000000000010 x2 : 0000000000000006 x1 : ffff80008b6577c0 x0 : 0000000000000001 Call trace: kernfs_remove_by_name_ns+0xd0/0x14c fs/kernfs/dir.c:1706 (P) kernfs_remove_by_name include/linux/kernfs.h:633 [inline] remove_files fs/sysfs/group.c:28 [inline] sysfs_remove_group+0xf8/0x29c fs/sysfs/group.c:322 sysfs_remove_groups+0x5c/0xb4 fs/sysfs/group.c:346 __kobject_del+0x90/0x2d4 lib/kobject.c:595 kobject_del+0x48/0x68 lib/kobject.c:627 btrfs_sysfs_del_qgroups+0x100/0x14c fs/btrfs/sysfs.c:2616 btrfs_sysfs_add_qgroups+0x238/0x268 fs/btrfs/sysfs.c:2655 btrfs_quota_enable+0x214/0x2208 fs/btrfs/qgroup.c:1022 btrfs_ioctl_quota_ctl+0x178/0x1bc fs/btrfs/ioctl.c:3667 btrfs_ioctl+0x86c/0xc3c fs/btrfs/ioctl.c:5318 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:598 [inline] __se_sys_ioctl fs/ioctl.c:584 [inline] __arm64_sys_ioctl+0x14c/0x1c4 fs/ioctl.c:584 __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+0x58/0x180 arch/arm64/kernel/entry-common.c:879 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:898 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 irq event stamp: 50208 hardirqs last enabled at (50207): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1531 [inline] hardirqs last enabled at (50207): [] finish_lock_switch+0xb0/0x1c0 kernel/sched/core.c:5105 hardirqs last disabled at (50208): [] el1_brk64+0x1c/0x48 arch/arm64/kernel/entry-common.c:574 softirqs last enabled at (50192): [] softirq_handle_end kernel/softirq.c:425 [inline] softirqs last enabled at (50192): [] handle_softirqs+0xaf8/0xc88 kernel/softirq.c:607 softirqs last disabled at (50089): [] __do_softirq+0x14/0x20 kernel/softirq.c:613 ---[ end trace 0000000000000000 ]---