[PATCH RFC 5.15] smb: client: fix potential UAF in cifs_stats_proc_write()