ksmbd: fix incorrect handling of iterate_dir
This is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven. This ID is fixed in Linux Kernel version v6.0.3 by commit 4bfa0af9e0ce00ac7dd651154d5fbf34930c7041, it was introduced in version v5.15 by commit e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9. For more details please see the references link.