el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 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: 1 PID: 4330 at fs/kernfs/dir.c:1628 kernfs_remove_by_name_ns+0x10c/0x188 Modules linked in: CPU: 1 PID: 4330 Comm: syz-executor225 Not tainted 6.1.60-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/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:1627 sp : ffff80001e137850 x29: ffff80001e137850 x28: 1fffe000186d5342 x27: dfff800000000000 x26: ffff700003c26f60 x25: ffff800015ef6ac8 x24: 1ffff000024cfd00 x23: dfff800000000000 x22: 0000000000000000 x21: 0000000000000000 x20: 00000000fffffffe x19: ffff80001267e800 x18: 1fffe000368b0776 x17: 0000000000000000 x16: ffff8000121395ec x15: 0000000000000000 x14: 0000000000000000 x13: 0000000000000001 x12: 0000000000000001 x11: ff808000081af79c x10: 0000000000000000 x9 : 2b0a1b048d8bf100 x8 : 2b0a1b048d8bf100 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff80001e137138 x4 : ffff8000158f29c0 x3 : ffff80000858a904 x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000000 Call trace: kernfs_remove_by_name_ns+0x10c/0x188 kernfs_remove_by_name include/linux/kernfs.h:622 [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:4585 btrfs_ioctl+0x6d8/0xb08 fs/btrfs/ioctl.c:5548 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:585 irq event stamp: 64148 hardirqs last enabled at (64147): [] __up_console_sem+0xb4/0x100 kernel/printk/printk.c:261 hardirqs last disabled at (64148): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (64120): [] softirq_handle_end kernel/softirq.c:414 [inline] softirqs last enabled at (64120): [] __do_softirq+0xc14/0xea0 kernel/softirq.c:600 softirqs last disabled at (64111): [] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:79 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ kernfs: can not remove 'inconsistent', no directory WARNING: CPU: 1 PID: 4330 at fs/kernfs/dir.c:1628 kernfs_remove_by_name_ns+0x10c/0x188 Modules linked in: CPU: 1 PID: 4330 Comm: syz-executor225 Tainted: G W 6.1.60-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/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:1627 sp : ffff80001e137850 x29: ffff80001e137850 x28: 1fffe000186d5342 x27: dfff800000000000 x26: ffff700003c26f60 x25: ffff800015ef6ad0 x24: 1ffff000024cfd00 x23: dfff800000000000 x22: 0000000000000000 x21: 0000000000000000 x20: 00000000fffffffe x19: ffff80001267e800 x18: 1fffe000368b0776 x17: 0000000000000000 x16: ffff800012087800 x15: 0000000000000000 x14: 0000000000000000 x13: 0000000000000001 x12: 0000000000000001 x11: ff808000081af79c x10: 0000000000000000 x9 : 2b0a1b048d8bf100 x8 : 2b0a1b048d8bf100 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff80001e137138 x4 : ffff8000158f29c0 x3 : ffff80000834f5a8 x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000000 Call trace: kernfs_remove_by_name_ns+0x10c/0x188 kernfs_remove_by_name include/linux/kernfs.h:622 [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:4585 btrfs_ioctl+0x6d8/0xb08 fs/btrfs/ioctl.c:5548 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:585 irq event stamp: 64246 hardirqs last enabled at (64245): [] __up_console_sem+0xb4/0x100 kernel/printk/printk.c:261 hardirqs last disabled at (64246): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (64220): [] softirq_handle_end kernel/softirq.c:414 [inline] softirqs last enabled at (64220): [] __do_softirq+0xc14/0xea0 kernel/softirq.c:600 softirqs last disabled at (64151): [] ____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: 1 PID: 4330 at fs/kernfs/dir.c:1628 kernfs_remove_by_name_ns+0x10c/0x188 Modules linked in: CPU: 1 PID: 4330 Comm: syz-executor225 Tainted: G W 6.1.60-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/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:1627 sp : ffff80001e137850 x29: ffff80001e137850 x28: 1fffe000186d5342 x27: dfff800000000000 x26: ffff700003c26f60 x25: ffff800015ef6ad8 x24: 1ffff000024cfd00 x23: dfff800000000000 x22: 0000000000000000 x21: 0000000000000000 x20: 00000000fffffffe x19: ffff80001267e800 x18: 1fffe000368b0776 x17: 0000000000000000 x16: ffff800012087800 x15: 0000000000000000 x14: 0000000000000000 x13: 0000000000000001 x12: 0000000000000001 x11: ff808000081af79c x10: 0000000000000000 x9 : 2b0a1b048d8bf100 x8 : 2b0a1b048d8bf100 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff80001e137138 x4 : ffff8000158f29c0 x3 : ffff80000834f5a8 x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000000 Call trace: kernfs_remove_by_name_ns+0x10c/0x188 kernfs_remove_by_name include/linux/kernfs.h:622 [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:4585 btrfs_ioctl+0x6d8/0xb08 fs/btrfs/ioctl.c:5548 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:585 irq event stamp: 64312 hardirqs last enabled at (64311): [] __up_console_sem+0xb4/0x100 kernel/printk/printk.c:261 hardirqs last disabled at (64312): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (64296): [] softirq_handle_end kernel/softirq.c:414 [inline] softirqs last enabled at (64296): [] __do_softirq+0xc14/0xea0 kernel/softirq.c:600 softirqs last disabled at (64289): [] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:79 ---[ end trace 0000000000000000 ]---