aboutsummaryrefslogtreecommitdiffstats
path: root/fs/dlm
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2013-03-11 09:52:19 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-03-28 12:06:03 -0700
commit554d123e99dbb1d2192501c8d295e556d777388e (patch)
tree9e4bcd1b033200b30cf428285c8d343dbeff07c1 /fs/dlm
parent3993d37e21053878739ad1baa264617aa115f4af (diff)
downloadkernel_samsung_tuna-554d123e99dbb1d2192501c8d295e556d777388e.zip
kernel_samsung_tuna-554d123e99dbb1d2192501c8d295e556d777388e.tar.gz
kernel_samsung_tuna-554d123e99dbb1d2192501c8d295e556d777388e.tar.bz2
cifs: ignore everything in SPNEGO blob after mechTypes
commit f853c616883a8de966873a1dab283f1369e275a1 upstream. We've had several reports of people attempting to mount Windows 8 shares and getting failures with a return code of -EINVAL. The default sec= mode changed recently to sec=ntlmssp. With that, we expect and parse a SPNEGO blob from the server in the NEGOTIATE reply. The current decode_negTokenInit function first parses all of the mechTypes and then tries to parse the rest of the negTokenInit reply. The parser however currently expects a mechListMIC or nothing to follow the mechTypes, but Windows 8 puts a mechToken field there instead to carry some info for the new NegoEx stuff. In practice, we don't do anything with the fields after the mechTypes anyway so I don't see any real benefit in continuing to parse them. This patch just has the kernel ignore the fields after the mechTypes. We'll probably need to reinstate some of this if we ever want to support NegoEx. Reported-by: Jason Burgess <jason@jacknife2.dns2go.com> Reported-by: Yan Li <elliot.li.tech@gmail.com> Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve French <sfrench@us.ibm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/dlm')
0 files changed, 0 insertions, 0 deletions