el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:581 kobject_add_internal failed for qgroups (error: -12 parent: e417788f-7a09-42b2-9266-8ddc5d5d35d2) ------------[ cut here ]------------ kernfs: can not remove 'enabled', no directory WARNING: CPU: 0 PID: 21171 at fs/kernfs/dir.c:1626 kernfs_remove_by_name_ns+0x10c/0x188 Modules linked in: CPU: 0 PID: 21171 Comm: syz-executor.5 Not tainted 6.1.23-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 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:1625 sp : ffff800021bd7850 x29: ffff800021bd7850 x28: 1fffe0001ae98b42 x27: dfff800000000000 x26: ffff70000437af60 x25: ffff800015c64da8 x24: 1ffff000024c3a70 x23: dfff800000000000 x22: 0000000000000000 x21: 0000000000000000 x20: 00000000fffffffe x19: ffff80001261d380 x18: 1fffe000368b6b76 x17: ffff80001557d000 x16: ffff8000083019d8 x15: ffff0001b45b5bbc x14: 1ffff00002ab00b0 x13: dfff800000000000 x12: 0000000000000003 x11: ff8080000aaba988 x10: 0000000000000003 x9 : 9beed32cea448e00 x8 : 9beed32cea448e00 x7 : ffff80000827a538 x6 : 0000000000000000 x5 : 0000000000000080 x4 : 0000000000000001 x3 : 0000000000000000 x2 : 0000000000000006 x1 : ffff80001222c140 x0 : ffff80019f0e4000 Call trace: kernfs_remove_by_name_ns+0x10c/0x188 kernfs_remove_by_name include/linux/kernfs.h:618 [inline] remove_files fs/sysfs/group.c:28 [inline] sysfs_remove_group+0xf8/0x288 fs/sysfs/group.c:288 sysfs_remove_groups+0x5c/0xb4 fs/sysfs/group.c:312 __kobject_del+0x90/0x2d4 lib/kobject.c:587 kobject_del+0x48/0x68 lib/kobject.c:619 btrfs_sysfs_del_qgroups+0x16c/0x1bc fs/btrfs/sysfs.c:2214 btrfs_sysfs_add_qgroups+0x2bc/0x304 fs/btrfs/sysfs.c:2253 btrfs_quota_enable+0x204/0x1d90 fs/btrfs/qgroup.c:986 btrfs_ioctl_quota_ctl+0x144/0x188 fs/btrfs/ioctl.c:4571 btrfs_ioctl+0x6d8/0xb08 fs/btrfs/ioctl.c:5534 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl fs/ioctl.c:856 [inline] __arm64_sys_ioctl+0x14c/0x1c8 fs/ioctl.c:856 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:206 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:581 irq event stamp: 85168 hardirqs last enabled at (85167): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1366 [inline] hardirqs last enabled at (85167): [] finish_lock_switch+0xbc/0x1e8 kernel/sched/core.c:5000 hardirqs last disabled at (85168): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (85128): [] softirq_handle_end kernel/softirq.c:414 [inline] softirqs last enabled at (85128): [] __do_softirq+0xc14/0xea0 kernel/softirq.c:600 softirqs last disabled at (85099): [] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:79 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ kernfs: can not remove 'inconsistent', no directory WARNING: CPU: 0 PID: 21171 at fs/kernfs/dir.c:1626 kernfs_remove_by_name_ns+0x10c/0x188 Modules linked in: CPU: 0 PID: 21171 Comm: syz-executor.5 Tainted: G W 6.1.23-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 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:1625 sp : ffff800021bd7850 x29: ffff800021bd7850 x28: 1fffe0001ae98b42 x27: dfff800000000000 x26: ffff70000437af60 x25: ffff800015c64db0 x24: 1ffff000024c3a70 x23: dfff800000000000 x22: 0000000000000000 x21: 0000000000000000 x20: 00000000fffffffe x19: ffff80001261d380 x18: 1fffe000368b6b76 x17: ffff80001557d000 x16: ffff8000083019d8 x15: ffff0001b45b5bbc x14: 1ffff00002ab00b0 x13: dfff800000000000 x12: 0000000000000003 x11: ff8080000aaba988 x10: 0000000000000003 x9 : 9beed32cea448e00 x8 : 9beed32cea448e00 x7 : ffff80000827a538 x6 : 0000000000000000 x5 : 0000000000000080 x4 : 0000000000000001 x3 : 0000000000000000 x2 : 0000000000000006 x1 : ffff80001222c140 x0 : ffff80019f0e4000 Call trace: kernfs_remove_by_name_ns+0x10c/0x188 kernfs_remove_by_name include/linux/kernfs.h:618 [inline] remove_files fs/sysfs/group.c:28 [inline] sysfs_remove_group+0xf8/0x288 fs/sysfs/group.c:288 sysfs_remove_groups+0x5c/0xb4 fs/sysfs/group.c:312 __kobject_del+0x90/0x2d4 lib/kobject.c:587 kobject_del+0x48/0x68 lib/kobject.c:619 btrfs_sysfs_del_qgroups+0x16c/0x1bc fs/btrfs/sysfs.c:2214 btrfs_sysfs_add_qgroups+0x2bc/0x304 fs/btrfs/sysfs.c:2253 btrfs_quota_enable+0x204/0x1d90 fs/btrfs/qgroup.c:986 btrfs_ioctl_quota_ctl+0x144/0x188 fs/btrfs/ioctl.c:4571 btrfs_ioctl+0x6d8/0xb08 fs/btrfs/ioctl.c:5534 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl fs/ioctl.c:856 [inline] __arm64_sys_ioctl+0x14c/0x1c8 fs/ioctl.c:856 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:206 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:581 irq event stamp: 85648 hardirqs last enabled at (85647): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1366 [inline] hardirqs last enabled at (85647): [] finish_lock_switch+0xbc/0x1e8 kernel/sched/core.c:5000 hardirqs last disabled at (85648): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (85616): [] softirq_handle_end kernel/softirq.c:414 [inline] softirqs last enabled at (85616): [] __do_softirq+0xc14/0xea0 kernel/softirq.c:600 softirqs last disabled at (85171): [] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:79 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ kernfs: can not remove 'drop_subtree_threshold', no directory WARNING: CPU: 0 PID: 21171 at fs/kernfs/dir.c:1626 kernfs_remove_by_name_ns+0x10c/0x188 Modules linked in: CPU: 0 PID: 21171 Comm: syz-executor.5 Tainted: G W 6.1.23-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 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:1625 sp : ffff800021bd7850 x29: ffff800021bd7850 x28: 1fffe0001ae98b42 x27: dfff800000000000 x26: ffff70000437af60 x25: ffff800015c64db8 x24: 1ffff000024c3a70 x23: dfff800000000000 x22: 0000000000000000 x21: 0000000000000000 x20: 00000000fffffffe x19: ffff80001261d380 x18: 1fffe000368b6b76 x17: 0000000000000000 x16: ffff80001202a4c0 x15: 0000000000000000 x14: 0000000000000002 x13: 000000000002b188 x12: 0000000000040000 x11: 000000000003ffff x10: ffff800022a39000 x9 : 9beed32cea448e00 x8 : 9beed32cea448e00 x7 : 000000000002b188 x6 : 000000000002b148 x5 : ffff800021bd7138 x4 : ffff800015656fe0 x3 : ffff80000834ada0 x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000000 Call trace: kernfs_remove_by_name_ns+0x10c/0x188 kernfs_remove_by_name include/linux/kernfs.h:618 [inline] remove_files fs/sysfs/group.c:28 [inline] sysfs_remove_group+0xf8/0x288 fs/sysfs/group.c:288 sysfs_remove_groups+0x5c/0xb4 fs/sysfs/group.c:312 __kobject_del+0x90/0x2d4 lib/kobject.c:587 kobject_del+0x48/0x68 lib/kobject.c:619 btrfs_sysfs_del_qgroups+0x16c/0x1bc fs/btrfs/sysfs.c:2214 btrfs_sysfs_add_qgroups+0x2bc/0x304 fs/btrfs/sysfs.c:2253 btrfs_quota_enable+0x204/0x1d90 fs/btrfs/qgroup.c:986 btrfs_ioctl_quota_ctl+0x144/0x188 fs/btrfs/ioctl.c:4571 btrfs_ioctl+0x6d8/0xb08 fs/btrfs/ioctl.c:5534 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl fs/ioctl.c:856 [inline] __arm64_sys_ioctl+0x14c/0x1c8 fs/ioctl.c:856 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:206 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:581 irq event stamp: 85974 hardirqs last enabled at (85973): [] __up_console_sem+0xb4/0x100 kernel/printk/printk.c:261 hardirqs last disabled at (85974): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (85946): [] softirq_handle_end kernel/softirq.c:414 [inline] softirqs last enabled at (85946): [] __do_softirq+0xc14/0xea0 kernel/softirq.c:600 softirqs last disabled at (85651): [] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:79 ---[ end trace 0000000000000000 ]---