------------[ cut here ]------------ kernfs: can not remove 'nr_tags', no directory WARNING: CPU: 0 PID: 3652 at fs/kernfs/dir.c:1576 kernfs_remove_by_name_ns+0xed/0x110 fs/kernfs/dir.c:1576 Modules linked in: CPU: 0 PID: 3652 Comm: syz-executor134 Not tainted 5.19.0-rc8-syzkaller-00025-g6e7765cb477a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022 RIP: 0010:kernfs_remove_by_name_ns+0xed/0x110 fs/kernfs/dir.c:1576 Code: c3 e8 f7 a3 78 ff 4c 89 e7 41 bc fe ff ff ff e8 d9 5b 5b ff eb da e8 e2 a3 78 ff 4c 89 ee 48 c7 c7 60 26 df 89 e8 f4 21 31 07 <0f> 0b 41 bc fe ff ff ff eb bc e8 f4 df c4 ff e9 71 ff ff ff e8 ea RSP: 0018:ffffc90003097a38 EFLAGS: 00010286 RAX: 0000000000000000 RBX: ffffffff8c66a868 RCX: 0000000000000000 RDX: ffff88807c842040 RSI: ffffffff815ffd48 RDI: fffff52000612f39 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000001 R12: 0000000000000000 R13: ffffffff8a2675a0 R14: 0000000000000000 R15: 0000000000000001 FS: 00007f0815186700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0815241aa6 CR3: 000000007d044000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: kernfs_remove_by_name include/linux/kernfs.h:558 [inline] remove_files+0x96/0x1c0 fs/sysfs/group.c:28 sysfs_remove_group+0x87/0x170 fs/sysfs/group.c:288 sysfs_remove_groups fs/sysfs/group.c:312 [inline] sysfs_remove_groups+0x5c/0xa0 fs/sysfs/group.c:304 __kobject_del+0x89/0x200 lib/kobject.c:579 kobject_del lib/kobject.c:611 [inline] kobject_del+0x3c/0x60 lib/kobject.c:603 blk_mq_unregister_hctx block/blk-mq-sysfs.c:181 [inline] blk_mq_unregister_hctx block/blk-mq-sysfs.c:170 [inline] blk_mq_sysfs_unregister+0x247/0x2c0 block/blk-mq-sysfs.c:303 __blk_mq_update_nr_hw_queues block/blk-mq.c:4516 [inline] blk_mq_update_nr_hw_queues+0x489/0xdf0 block/blk-mq.c:4562 nbd_start_device+0x153/0xc30 drivers/block/nbd.c:1356 nbd_start_device_ioctl drivers/block/nbd.c:1406 [inline] __nbd_ioctl drivers/block/nbd.c:1480 [inline] nbd_ioctl+0x5a5/0xbd0 drivers/block/nbd.c:1520 blkdev_ioctl+0x36e/0x800 block/ioctl.c:614 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl fs/ioctl.c:856 [inline] __x64_sys_ioctl+0x193/0x200 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f08151d9339 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:00007f08151862e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f081525d4e0 RCX: 00007f08151d9339 RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000007 RBP: 00007f081522a1ac R08: 0000000000000002 R09: 0000000000003631 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f081525d4ec R13: 00007f08151862f0 R14: 00007f081525d4e8 R15: 0000000000000002