[PATCH 5.15.y] smb: client: fix potential UAF in cifs_dump_full_key()