el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:581 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: 0 PID: 4307 at fs/kernfs/dir.c:1626 kernfs_remove_by_name_ns+0x10c/0x188 Modules linked in: CPU: 0 PID: 4307 Comm: syz-executor357 Not tainted 6.1.20-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 : ffff80001db87850 x29: ffff80001db87850 x28: 1fffe000197c9342 x27: dfff800000000000 x26: ffff700003b70f60 x25: ffff800015e1d768 x24: 1ffff000024f4f68 x23: dfff800000000000 x22: 0000000000000000 x21: 0000000000000000 x20: 00000000fffffffe x19: ffff8000127a7b40 x18: ffff80001db869e0 x17: 0000000000000000 x16: ffff80001225a41c x15: 0000000000000000 x14: 0000000000000000 x13: 0000000000000001 x12: 0000000000000001 x11: ff808000081b28cc x10: 0000000000000000 x9 : a4c790541ad9b700 x8 : a4c790541ad9b700 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff80001db87138 x4 : ffff800015813880 x3 : ffff800008590318 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:5532 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: 221370 hardirqs last enabled at (221369): [] __up_console_sem+0xb4/0x100 kernel/printk/printk.c:261 hardirqs last disabled at (221370): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (221334): [] softirq_handle_end kernel/softirq.c:414 [inline] softirqs last enabled at (221334): [] __do_softirq+0xd88/0xff4 kernel/softirq.c:600 softirqs last disabled at (220839): [] ____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: 4307 at fs/kernfs/dir.c:1626 kernfs_remove_by_name_ns+0x10c/0x188 Modules linked in: CPU: 0 PID: 4307 Comm: syz-executor357 Tainted: G W 6.1.20-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 : ffff80001db87850 x29: ffff80001db87850 x28: 1fffe000197c9342 x27: dfff800000000000 x26: ffff700003b70f60 x25: ffff800015e1d770 x24: 1ffff000024f4f68 x23: dfff800000000000 x22: 0000000000000000 x21: 0000000000000000 x20: 00000000fffffffe x19: ffff8000127a7b40 x18: ffff80001db869e0 x17: 0000000000000000 x16: ffff80001225a41c x15: 0000000000000000 x14: 0000000000000000 x13: 0000000000000001 x12: 0000000000000001 x11: ff808000081b28cc x10: 0000000000000000 x9 : a4c790541ad9b700 x8 : a4c790541ad9b700 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff80001db87138 x4 : ffff800015813880 x3 : ffff800008590318 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:5532 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: 221426 hardirqs last enabled at (221425): [] __up_console_sem+0xb4/0x100 kernel/printk/printk.c:261 hardirqs last disabled at (221426): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (221400): [] softirq_handle_end kernel/softirq.c:414 [inline] softirqs last enabled at (221400): [] __do_softirq+0xd88/0xff4 kernel/softirq.c:600 softirqs last disabled at (221373): [] ____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: 4307 at fs/kernfs/dir.c:1626 kernfs_remove_by_name_ns+0x10c/0x188 Modules linked in: CPU: 0 PID: 4307 Comm: syz-executor357 Tainted: G W 6.1.20-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 : ffff80001db87850 x29: ffff80001db87850 x28: 1fffe000197c9342 x27: dfff800000000000 x26: ffff700003b70f60 x25: ffff800015e1d778 x24: 1ffff000024f4f68 x23: dfff800000000000 x22: 0000000000000000 x21: 0000000000000000 x20: 00000000fffffffe x19: ffff8000127a7b40 x18: 1fffe000368afd76 x17: ffff80001572d000 x16: ffff80000830b4b4 x15: ffff0001b457ebbc x14: 1ffff00002ae60b0 x13: dfff800000000000 x12: 0000000000000001 x11: 1fffe0001b1ab6d0 x10: 0000000000000000 x9 : a4c790541ad9b700 x8 : a4c790541ad9b700 x7 : ffff800008281b70 x6 : 0000000000000000 x5 : 0000000000000080 x4 : 0000000000000001 x3 : ffff80000826f27c x2 : 0000000000000001 x1 : 0000000000000004 x0 : 0000000000000001 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:5532 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: 221540 hardirqs last enabled at (221539): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1366 [inline] hardirqs last enabled at (221539): [] finish_lock_switch+0xbc/0x1e8 kernel/sched/core.c:4997 hardirqs last disabled at (221540): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (221532): [] softirq_handle_end kernel/softirq.c:414 [inline] softirqs last enabled at (221532): [] __do_softirq+0xd88/0xff4 kernel/softirq.c:600 softirqs last disabled at (221513): [] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:79 ---[ end trace 0000000000000000 ]---