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 v5.15.76 by commit 20bc6d23f7f67c1122349080e00f490024d8f37a, it was introduced in version v5.15 by commit e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9. For more details please see the references link.