SMB server should check tokens from authsvc
|Assignee:||Gordon Ross||% Done:|
If the user space smb deamon (smbd) constructs an authentication "token" in response to a "get token" request on the "authsvc" named pipe.
The client-side of that request is an SMB logon thread in the smbsrv driver, so that "token" will be unpacked in the smbsrv driver.
That means this object needs scrutiny similar to any other object coming into the kernel from user space, in case smbd
has a bug (or whatever) causing that token to be incompletely formed.
Fix is to check that all of the token is there when the client-side (in-kernel) gets that response.
Also available in: Atom