------------[ cut here ]------------ kernfs: can not remove 'nr_tags', no directory WARNING: CPU: 1 PID: 5139 at fs/kernfs/dir.c:1652 kernfs_remove_by_name_ns+0xf5/0x150 fs/kernfs/dir.c:1651 Modules linked in: CPU: 0 PID: 5139 Comm: syz-executor310 Not tainted 6.1.0-syzkaller-14594-g72a85e2b0a1e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:kernfs_remove_by_name_ns+0xf5/0x150 fs/kernfs/dir.c:1651 Code: 48 89 df e8 5d ec ff ff 48 89 df e8 a5 97 ff ff 31 db eb 29 e8 cc 16 70 ff 48 c7 c7 40 ba 20 8b 4c 89 e6 31 c0 e8 7b 69 36 ff <0f> 0b bb fe ff ff ff eb 12 e8 ad 16 70 ff bb fe ff ff ff 4c 89 f7 RSP: 0018:ffffc90003ecf960 EFLAGS: 00010246 RAX: 73baecdeb84dee00 RBX: ffffffff8db38140 RCX: ffff88807799d7c0 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: dffffc0000000000 R08: ffffffff81709fad R09: fffff520007d9ee5 R10: fffff520007d9ee5 R11: 1ffff920007d9ee4 R12: ffffffff8b676340 R13: 0000000000000000 R14: ffffffff8b6762e0 R15: 0000000000000000 FS: 00007fab4e563700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fab4e562ec8 CR3: 00000000298d9000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: kernfs_remove_by_name include/linux/kernfs.h:618 [inline] remove_files fs/sysfs/group.c:28 [inline] sysfs_remove_group+0x102/0x2b0 fs/sysfs/group.c:288 sysfs_remove_groups+0x5b/0xb0 fs/sysfs/group.c:312 __kobject_del+0x84/0x300 lib/kobject.c:579 kobject_del+0x41/0x60 lib/kobject.c:611 blk_mq_unregister_hctx block/blk-mq-sysfs.c:181 [inline] blk_mq_sysfs_unregister_hctxs+0x235/0x320 block/blk-mq-sysfs.c:309 __blk_mq_update_nr_hw_queues block/blk-mq.c:4713 [inline] blk_mq_update_nr_hw_queues+0x647/0x13a0 block/blk-mq.c:4757 nbd_start_device+0x15d/0xb70 drivers/block/nbd.c:1356 nbd_start_device_ioctl+0xa7/0x5c0 drivers/block/nbd.c:1406 __nbd_ioctl drivers/block/nbd.c:1482 [inline] nbd_ioctl+0x28c/0x5b0 drivers/block/nbd.c:1522 blkdev_ioctl+0x3c9/0x7c0 block/ioctl.c:616 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl+0xfb/0x170 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fab4e5b6259 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 11 15 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fab4e5632e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fab4e63a4c0 RCX: 00007fab4e5b6259 RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000003 RBP: 00007fab4e607184 R08: 0000000000000002 R09: 0000000000003631 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fab4e63a4cc R13: 00007fab4e5632f0 R14: 00007fab4e63a4c8 R15: 0000000000000002