------------[ cut here ]------------ kernfs: can not remove 'nr_tags', no directory WARNING: CPU: 0 PID: 19831 at fs/kernfs/dir.c:1545 kernfs_remove_by_name_ns+0xd0/0x158 Modules linked in: CPU: 0 PID: 19831 Comm: syz-executor.0 Not tainted 5.15.148-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : kernfs_remove_by_name_ns+0xd0/0x158 lr : kernfs_remove_by_name_ns+0xcc/0x158 fs/kernfs/dir.c:1544 sp : ffff80001cfb7760 x29: ffff80001cfb7760 x28: ffff0000cbdbd000 x27: ffff0000cb3c1800 x26: 0000000000000000 x25: ffff8000150a7748 x24: 1ffff000023ed628 x23: dfff800000000000 x22: ffff8000150a7780 x21: 0000000000000000 x20: 0000000000000000 x19: 00000000fffffffe x18: 000000000000ffff x17: ffff80001e0ba000 x16: ffff80001198323c x15: 00000000ffffffff x14: ffff000132051b40 x13: 0000000000000001 x12: 0000000000200008 x11: 0000000000000000 x10: 0000000000000003 x9 : bfbcd3f88b620600 x8 : bfbcd3f88b620600 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff80001cfb6ed8 x4 : ffff8000149ff8e0 x3 : ffff80000854d610 x2 : 0000000000000001 x1 : 0000000100000000 x0 : 000000000000002e Call trace: kernfs_remove_by_name_ns+0xd0/0x158 kernfs_remove_by_name include/linux/kernfs.h:598 [inline] remove_files fs/sysfs/group.c:28 [inline] sysfs_remove_group+0xf8/0x288 fs/sysfs/group.c:289 sysfs_remove_groups+0x5c/0xb4 fs/sysfs/group.c:313 __kobject_del+0x90/0x2d4 lib/kobject.c:619 kobject_del+0x48/0x68 lib/kobject.c:651 blk_mq_unregister_hctx block/blk-mq-sysfs.c:183 [inline] blk_mq_sysfs_unregister+0x1a0/0x274 block/blk-mq-sysfs.c:309 __blk_mq_update_nr_hw_queues block/blk-mq.c:3764 [inline] blk_mq_update_nr_hw_queues+0x504/0xc58 block/blk-mq.c:3804 nbd_start_device+0x158/0xb34 drivers/block/nbd.c:1301 nbd_start_device_ioctl drivers/block/nbd.c:1351 [inline] __nbd_ioctl drivers/block/nbd.c:1427 [inline] nbd_ioctl+0x420/0xc2c drivers/block/nbd.c:1467 blkdev_ioctl+0x3d8/0xbd0 block/ioctl.c:606 block_ioctl+0xa8/0x114 block/fops.c:493 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl fs/ioctl.c:860 [inline] __arm64_sys_ioctl+0x14c/0x1c8 fs/ioctl.c:860 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 irq event stamp: 2326 hardirqs last enabled at (2325): [] __up_console_sem+0xb4/0x100 kernel/printk/printk.c:257 hardirqs last disabled at (2326): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (362): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:31 softirqs last disabled at (360): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:18 ---[ end trace f90c68fea6adc00d ]--- ------------[ cut here ]------------ kernfs: can not remove 'nr_reserved_tags', no directory WARNING: CPU: 0 PID: 19831 at fs/kernfs/dir.c:1545 kernfs_remove_by_name_ns+0xd0/0x158 Modules linked in: CPU: 0 PID: 19831 Comm: syz-executor.0 Tainted: G W 5.15.148-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : kernfs_remove_by_name_ns+0xd0/0x158 lr : kernfs_remove_by_name_ns+0xcc/0x158 fs/kernfs/dir.c:1544 sp : ffff80001cfb7760 x29: ffff80001cfb7760 x28: ffff0000cbdbd000 x27: ffff0000cb3c1800 x26: 0000000000000000 x25: ffff8000150a7750 x24: 1ffff000023ed628 x23: dfff800000000000 x22: ffff8000150a77e0 x21: 0000000000000000 x20: 0000000000000000 x19: 00000000fffffffe x18: 1fffe000368fe78e x17: 1fffe000368fe78e x16: ffff80001198323c x15: ffff8000149bed40 x14: 1ffff0000292406a x13: dfff800000000000 x12: 0000000000200008 x11: 0000000000000000 x10: 0000000000000003 x9 : bfbcd3f88b620600 x8 : bfbcd3f88b620600 x7 : 0000000000000000 x6 : 0000000000000000 x5 : 0000000000000080 x4 : 0000000000000000 x3 : ffff80000854d610 x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000037 Call trace: kernfs_remove_by_name_ns+0xd0/0x158 kernfs_remove_by_name include/linux/kernfs.h:598 [inline] remove_files fs/sysfs/group.c:28 [inline] sysfs_remove_group+0xf8/0x288 fs/sysfs/group.c:289 sysfs_remove_groups+0x5c/0xb4 fs/sysfs/group.c:313 __kobject_del+0x90/0x2d4 lib/kobject.c:619 kobject_del+0x48/0x68 lib/kobject.c:651 blk_mq_unregister_hctx block/blk-mq-sysfs.c:183 [inline] blk_mq_sysfs_unregister+0x1a0/0x274 block/blk-mq-sysfs.c:309 __blk_mq_update_nr_hw_queues block/blk-mq.c:3764 [inline] blk_mq_update_nr_hw_queues+0x504/0xc58 block/blk-mq.c:3804 nbd_start_device+0x158/0xb34 drivers/block/nbd.c:1301 nbd_start_device_ioctl drivers/block/nbd.c:1351 [inline] __nbd_ioctl drivers/block/nbd.c:1427 [inline] nbd_ioctl+0x420/0xc2c drivers/block/nbd.c:1467 blkdev_ioctl+0x3d8/0xbd0 block/ioctl.c:606 block_ioctl+0xa8/0x114 block/fops.c:493 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl fs/ioctl.c:860 [inline] __arm64_sys_ioctl+0x14c/0x1c8 fs/ioctl.c:860 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 irq event stamp: 2714 hardirqs last enabled at (2713): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1338 [inline] hardirqs last enabled at (2713): [] finish_lock_switch+0xbc/0x1e8 kernel/sched/core.c:4784 hardirqs last disabled at (2714): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (2708): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (2708): [] __do_softirq+0xb5c/0xdb0 kernel/softirq.c:587 softirqs last disabled at (2565): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (2565): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (2565): [] __irq_exit_rcu+0x264/0x4d4 kernel/softirq.c:637 ---[ end trace f90c68fea6adc00e ]--- ------------[ cut here ]------------ kernfs: can not remove 'cpu_list', no directory WARNING: CPU: 1 PID: 19831 at fs/kernfs/dir.c:1545 kernfs_remove_by_name_ns+0xd0/0x158 Modules linked in: CPU: 1 PID: 19831 Comm: syz-executor.0 Tainted: G W 5.15.148-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : kernfs_remove_by_name_ns+0xd0/0x158 lr : kernfs_remove_by_name_ns+0xcc/0x158 fs/kernfs/dir.c:1544 sp : ffff80001cfb7760 x29: ffff80001cfb7760 x28: ffff0000cbdbd000 x27: ffff0000cb3c1800 x26: 0000000000000000 x25: ffff8000150a7758 x24: 1ffff000023ed628 x23: dfff800000000000 x22: ffff8000150a7840 x21: 0000000000000000 x20: 0000000000000000 x19: 00000000fffffffe x18: 1fffe0003690278e x17: 1fffe0003690278e x16: ffff80001198323c x15: ffff8000149bed40 x14: 1ffff0000292406a x13: dfff800000000000 x12: 0000000000200008 x11: 0000000000000000 x10: 0000000000000003 x9 : bfbcd3f88b620600 x8 : bfbcd3f88b620600 x7 : 0000000000000000 x6 : 0000000000000000 x5 : 0000000000000080 x4 : 0000000000000000 x3 : ffff80000a95c8e0 x2 : ffff0001b4813d10 x1 : 0000000100000000 x0 : 000000000000002f Call trace: kernfs_remove_by_name_ns+0xd0/0x158 kernfs_remove_by_name include/linux/kernfs.h:598 [inline] remove_files fs/sysfs/group.c:28 [inline] sysfs_remove_group+0xf8/0x288 fs/sysfs/group.c:289 sysfs_remove_groups+0x5c/0xb4 fs/sysfs/group.c:313 __kobject_del+0x90/0x2d4 lib/kobject.c:619 kobject_del+0x48/0x68 lib/kobject.c:651 blk_mq_unregister_hctx block/blk-mq-sysfs.c:183 [inline] blk_mq_sysfs_unregister+0x1a0/0x274 block/blk-mq-sysfs.c:309 __blk_mq_update_nr_hw_queues block/blk-mq.c:3764 [inline] blk_mq_update_nr_hw_queues+0x504/0xc58 block/blk-mq.c:3804 nbd_start_device+0x158/0xb34 drivers/block/nbd.c:1301 nbd_start_device_ioctl drivers/block/nbd.c:1351 [inline] __nbd_ioctl drivers/block/nbd.c:1427 [inline] nbd_ioctl+0x420/0xc2c drivers/block/nbd.c:1467 blkdev_ioctl+0x3d8/0xbd0 block/ioctl.c:606 block_ioctl+0xa8/0x114 block/fops.c:493 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl fs/ioctl.c:860 [inline] __arm64_sys_ioctl+0x14c/0x1c8 fs/ioctl.c:860 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 irq event stamp: 2798 hardirqs last enabled at (2797): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1338 [inline] hardirqs last enabled at (2797): [] finish_lock_switch+0xbc/0x1e8 kernel/sched/core.c:4784 hardirqs last disabled at (2798): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (2768): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (2768): [] __do_softirq+0xb5c/0xdb0 kernel/softirq.c:587 softirqs last disabled at (2719): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (2719): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (2719): [] __irq_exit_rcu+0x264/0x4d4 kernel/softirq.c:637 ---[ end trace f90c68fea6adc00f ]---