el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:581 kobject_add_internal failed for qgroups (error: -12 parent: c9fe44da-de57-406a-8241-57ec7d4412cf) ------------[ cut here ]------------ kernfs: can not remove 'enabled', no directory WARNING: CPU: 0 PID: 4218 at fs/kernfs/dir.c:1626 kernfs_remove_by_name_ns+0x10c/0x188 Modules linked in: CPU: 0 PID: 4218 Comm: syz-executor108 Not tainted 6.1.38-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/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 : ffff80001db47850 x29: ffff80001db47850 x28: 1fffe000193b6b42 x27: dfff800000000000 x26: ffff700003b68f60 x25: ffff800015cb6288 x24: 1ffff000024cbc00 x23: dfff800000000000 x22: 0000000000000000 x21: 0000000000000000 x20: 00000000fffffffe x19: ffff80001265e000 x18: 1fffe000368b5976 x17: 0000000000000000 x16: ffff800012110e94 x15: 0000000000000000 x14: 0000000000000000 x13: 0000000000000001 x12: 0000000000000001 x11: ff808000081ae818 x10: 0000000000000000 x9 : 72e06af9d2615800 x8 : 72e06af9d2615800 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff80001db47138 x4 : ffff8000156b2ac0 x3 : ffff8000085856a4 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:4578 btrfs_ioctl+0x6d8/0xb08 fs/btrfs/ioctl.c:5541 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: 88042 hardirqs last enabled at (88041): [] __up_console_sem+0xb4/0x100 kernel/printk/printk.c:261 hardirqs last disabled at (88042): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (88006): [] softirq_handle_end kernel/softirq.c:414 [inline] softirqs last enabled at (88006): [] __do_softirq+0xc14/0xea0 kernel/softirq.c:600 softirqs last disabled at (87985): [] ____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: 4218 at fs/kernfs/dir.c:1626 kernfs_remove_by_name_ns+0x10c/0x188 Modules linked in: CPU: 0 PID: 4218 Comm: syz-executor108 Tainted: G W 6.1.38-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/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 : ffff80001db47850 x29: ffff80001db47850 x28: 1fffe000193b6b42 x27: dfff800000000000 x26: ffff700003b68f60 x25: ffff800015cb6290 x24: 1ffff000024cbc00 x23: dfff800000000000 x22: 0000000000000000 x21: 0000000000000000 x20: 00000000fffffffe x19: ffff80001265e000 x18: 1fffe000368b5976 x17: ffff8000155cd000 x16: ffff800008303874 x15: ffff0001b45acbbc x14: 1ffff00002aba0b0 x13: dfff800000000000 x12: 0000000000000003 x11: ff8080000aac55e8 x10: 0000000000000003 x9 : 72e06af9d2615800 x8 : 72e06af9d2615800 x7 : ffff80000827b5cc x6 : 0000000000000000 x5 : 0000000000000080 x4 : 0000000000000001 x3 : 0000000000000000 x2 : 0000000000000006 x1 : ffff80001226c340 x0 : ffff80019f08b000 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:4578 btrfs_ioctl+0x6d8/0xb08 fs/btrfs/ioctl.c:5541 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: 88112 hardirqs last enabled at (88111): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1367 [inline] hardirqs last enabled at (88111): [] finish_lock_switch+0xbc/0x1e8 kernel/sched/core.c:5000 hardirqs last disabled at (88112): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (88104): [] softirq_handle_end kernel/softirq.c:414 [inline] softirqs last enabled at (88104): [] __do_softirq+0xc14/0xea0 kernel/softirq.c:600 softirqs last disabled at (88095): [] ____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: 4218 at fs/kernfs/dir.c:1626 kernfs_remove_by_name_ns+0x10c/0x188 Modules linked in: CPU: 0 PID: 4218 Comm: syz-executor108 Tainted: G W 6.1.38-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/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 : ffff80001db47850 x29: ffff80001db47850 x28: 1fffe000193b6b42 x27: dfff800000000000 x26: ffff700003b68f60 x25: ffff800015cb6298 x24: 1ffff000024cbc00 x23: dfff800000000000 x22: 0000000000000000 x21: 0000000000000000 x20: 00000000fffffffe x19: ffff80001265e000 x18: 1fffe000368b5976 x17: 0000000000000000 x16: ffff80001205cf00 x15: 0000000000000000 x14: 0000000000000000 x13: 0000000000000001 x12: 0000000000000001 x11: ff808000081ae818 x10: 0000000000000000 x9 : 72e06af9d2615800 x8 : 72e06af9d2615800 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff80001db47138 x4 : ffff8000156b2ac0 x3 : ffff80000834ccd4 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:4578 btrfs_ioctl+0x6d8/0xb08 fs/btrfs/ioctl.c:5541 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: 88218 hardirqs last enabled at (88217): [] __up_console_sem+0xb4/0x100 kernel/printk/printk.c:261 hardirqs last disabled at (88218): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (88212): [] softirq_handle_end kernel/softirq.c:414 [inline] softirqs last enabled at (88212): [] __do_softirq+0xc14/0xea0 kernel/softirq.c:600 softirqs last disabled at (88205): [] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:79 ---[ end trace 0000000000000000 ]---