------------[ cut here ]------------ kernfs: can not remove 'nr_tags', no directory WARNING: CPU: 1 PID: 6251 at fs/kernfs/dir.c:1706 kernfs_remove_by_name_ns+0xff/0x110 fs/kernfs/dir.c:1706 Modules linked in: CPU: 1 UID: 0 PID: 6251 Comm: syz-executor.0 Not tainted 6.16.0-rc4-syzkaller-g1f988d0788f5 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:kernfs_remove_by_name_ns+0xff/0x110 fs/kernfs/dir.c:1706 Code: 48 89 df 31 db e8 61 a2 ff ff 48 89 ef e8 29 cd 35 ff eb b1 e8 d2 31 5a ff 90 48 c7 c7 80 5d c3 8b 4c 89 e6 e8 22 f2 18 ff 90 <0f> 0b 90 90 eb b4 66 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 RSP: 0018:ffffc9000217fa88 EFLAGS: 00010286 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff817ae278 RDX: ffff888075532440 RSI: ffffffff817ae285 RDI: 0000000000000001 RBP: ffffffff8f114200 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: ffffffff8c131c60 R13: 0000000000000000 R14: ffffffff8c131b80 R15: 1ffff11004cc7e31 FS: 00007f5c352086c0(0000) GS:ffff888124815000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5c340faf40 CR3: 000000007c620000 CR4: 00000000003526f0 Call Trace: kernfs_remove_by_name include/linux/kernfs.h:633 [inline] remove_files+0x96/0x1c0 fs/sysfs/group.c:28 sysfs_remove_group+0x8b/0x180 fs/sysfs/group.c:322 sysfs_remove_groups fs/sysfs/group.c:346 [inline] sysfs_remove_groups+0x60/0xa0 fs/sysfs/group.c:338 __kobject_del+0x89/0x1f0 lib/kobject.c:595 kobject_del lib/kobject.c:627 [inline] kobject_del+0x3f/0x60 lib/kobject.c:619 blk_mq_unregister_hctx block/blk-mq-sysfs.c:155 [inline] blk_mq_unregister_hctx block/blk-mq-sysfs.c:144 [inline] blk_mq_sysfs_unregister_hctxs+0x23f/0x2c0 block/blk-mq-sysfs.c:277 __blk_mq_update_nr_hw_queues block/blk-mq.c:4989 [inline] blk_mq_update_nr_hw_queues+0x1ff/0xcb0 block/blk-mq.c:5043 nbd_start_device+0x172/0xcd0 drivers/block/nbd.c:1476 nbd_start_device_ioctl drivers/block/nbd.c:1527 [inline] __nbd_ioctl drivers/block/nbd.c:1602 [inline] nbd_ioctl+0x219/0xda0 drivers/block/nbd.c:1642 blkdev_ioctl+0x277/0x6d0 block/ioctl.c:704 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:907 [inline] __se_sys_ioctl fs/ioctl.c:893 [inline] __x64_sys_ioctl+0x18e/0x210 fs/ioctl.c:893 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0x4c0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f5c340799e9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f5c352080c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f5c3418bf60 RCX: 00007f5c340799e9 RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000007 RBP: 00007f5c35208120 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002 R13: 000000000000000b R14: 00007f5c3418bf60 R15: 00007ffcae502ee8