Hello, Below issue was triggered in blktests/001 test,please help check it. branch: for-6.4/block https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git [ 304.049316] ------------[ cut here ]------------ [ 304.050033] remove_proc_entry: removing non-empty directory 'scsi/scsi_debug', leaking at least '12' [ 304.050569] WARNING: CPU: 7 PID: 4059 at fs/proc/generic.c:718 remove_proc_entry+0x192/0x1a0 [ 304.051434] Modules linked in: scsi_debug(-) sr_mod cdrom tls rpcsec_gss_krb5 auth_rpcgss nfsv4 dns_resolver nfs lockd grace fscache netfs rfkill sunrpc vfat fat dm_multipath intel_rapl_msr intel_rapl_common sb_edac x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel iTCO_wdt kvm ipmi_ssif iTCO_vendor_support mgag200 irqbypass rapl i2c_algo_bit drm_shmem_helper intel_cstate drm_kms_helper intel_uncore acpi_ipmi pcspkr i2c_i801 hpilo sysc nvme_common wmi t10_pi dm_mirror dm_region_hash dm_log dm_mod [ 304.554164] CPU: 7 PID: 4059 Comm: modprobe Kdump: loaded Not tainted 6.3.0-rc2+ #1 [ 304.554913] Hardware name: HP ProLiant DL360 Gen9/ProLiant DL360 Gen9, BIOS P89 05/21/2018 [ 304.555367] RIP: 0010:remove_proc_entry+0x192/0x1a0 [ 304.555980] Code: c7 48 08 99 a3 48 85 c0 48 8d 90 78 ff ff ff 48 0f 45 c2 48 8b 55 78 4c 8b 80 a0 00 00 00 48 8b 92 a0 00 00 00 e8 ae 41 c3 ff <0f> 0b e9 43 ff ff ff e8 82 84 77 00 66 90 90 90 90 90 90 90 90 90 [ 304.557349] RSP: 0018:ffffbf48c10e3cb8 EFLAGS: 00010286 [ 304.557637] RAX: 0000000000000000 RBX: ffff97d6010db000 RCX: 0000000000000027 [ 304.558372] RDX: ffff97d96fbdf848 RSI: 0000000000000001 RDI: ffff97d96fbdf840 [ 304.559132] RBP: ffff97d60e0c5540 R08: 0000000000000000 R09: 00000000ffff7fff [ 304.559923] R10: ffffbf48c10e3b58 R11: ffffffffa3fe65a8 R12: ffff97d60e0c55c0 [ 304.560696] R13: 0000000000000000 R14: 0000000000000080 R15: 0000000000000000 [ 304.561453] FS: 00007fd886f41740(0000) GS:ffff97d96fbc0000(0000) knlGS:0000000000000000 [ 304.561863] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 304.562565] CR2: 0000560f888dcf50 CR3: 000000010a292002 CR4: 00000000001706e0 [ 304.563341] Call Trace: [ 304.563483] <TASK> [ 304.563968] scsi_proc_hostdir_rm+0x76/0xc0 [ 304.564186] scsi_host_dev_release+0x37/0xe0 [ 304.564816] device_release[ 305.065325] device_unregister+0x13/0x60 [ 305.065593] sdebug_do_remove_host+0xd1/0x100 [scsi_debug] [ 305.066010] scsi_debug_exit+0x1d/0x410 [scsi_debug] [ 305.066318] __do_sys_delete_module.constprop.0+0x17a/0x2f0 [ 305.066610] ? __call_rcu_common.constprop.0+0x114/0x2c0 [ 305.066907] ? syscall_trace_enter.constprop.0+0x126/0x1a0 [ 305.067177] do_syscall_64+0x5c/0x90 [ 305.067451] ? exit_to_user_mode_prepare+0xb6/0x100 [ 305.068084] ? syscall_exit_to_user_mode+0x12/0x30 [ 305.068769] ? do_syscall_64+0x69/0x90 [ 305.069002] ? do_syscall_64+0x69/0x90 [ 305.069196] ? do_syscall_64+0x69/0x90 [ 305.069424] entry_SYSCALL_64_after_hwframe+0x72/0xdc [ 305.069679] RIP: 0033:0x7fd88663f5ab [ 305.069872] Code: 73 01 c3 48 8b 0d 75 a8 1b 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa b8 b0 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 45 a8 1b 00 f7 d8 64 89 01 48 [ 305.071130] RSP: 002b:00007ffd1d293e48 EFLAGS: 00000206 ORIG_RAX: 00000000000000b0 [ 305.071939] RAX: ffffffffffffffda RBX: 000055b2d5e0bd50 RCX: 00007fd88663f5ab [ 305.072728] RDX: 0000000000000000 RSI: 0000000000000800 RDI: 000055b2d5e0bdb8 [ 305.073496] RBP: 000055b2d5e0bd50 R08: 0000000000000000 R09: 0000000000000000 [ 305.074254] R10: 00007fd88679eac0 R11: 0000000000000206 R12: 000055b2d5e0bdb8 [ 305.075016] R13: 0000000000000000 R14: 000055b2d5e0bdb8 R15: 00007ffd1d296178 [ 305.075803] </TASK> [ 305.075950] ---[ end trace 0000000000000000 ]--- -- Best Regards, Changhui Zhong