cifs: fix potential memory leaks in session setup
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.1.9 by commit 893d45394dbe4b5cbf3723c19e2ccc8b93a6ac9b. For more details please see the references link.