All of lore.kernel.org
 help / color / mirror / Atom feed
* "Bad SMB2 signature for message" with kernel 5.0.0, works with 4.19.0
@ 2019-03-20 18:39 Andreas Hasenack
  2019-03-20 21:50 ` Paulo Alcantara
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Andreas Hasenack @ 2019-03-20 18:39 UTC (permalink / raw)
  To: linux-cifs

Hi,

I can't mount a share as guest using SMB2 or higher when running the
5.0.0 kernel (ubuntu's 5.0.0-7.8 specifically). When I switch to a
4.19.x kernel (4.19.0-12-generic), then it works.

This is the mount command and output:
root@ubuntu:~# mount //localhost/pub /mnt -o guest
mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

The share is a simple one:
[pub]
path = /pub
guest ok = yes

The server logs this:
[2019/03/20 18:24:46.245816,  0]
../../libcli/smb/smb2_signing.c:169(smb2_signing_check_pdu)
  Bad SMB2 signature for message
[2019/03/20 18:24:46.245860,  0] ../../lib/util/util.c:508(dump_data)
  [0000] 2D 60 1F CA 49 06 92 B0   69 06 60 82 42 39 21 F8   -`..I... i.`.B9!.
[2019/03/20 18:24:46.245894,  0] ../../lib/util/util.c:508(dump_data)
  [0000] 75 F8 77 09 63 D5 4A 7B   9F 91 51 93 6D 12 6F 6F   u.w.c.J{ ..Q.m.oo

Here is a dmesg output with cifs debugging enabled:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1821053/+attachment/5247960/+files/dmesg.txt

That output was from a kernel running patch
https://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git/tree/queue-5.0/cifs-do-not-skip-smb2-message-ids-on-send-failures.patch,
just a quick attempt to see if that fixed it, but it didn't.

mount.cifs is version 6.8

Server is samba 4.10.0.

Is this a known issue?

Thanks!

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2019-03-21 14:26 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-20 18:39 "Bad SMB2 signature for message" with kernel 5.0.0, works with 4.19.0 Andreas Hasenack
2019-03-20 21:50 ` Paulo Alcantara
2019-03-21  0:14   ` Andreas Hasenack
2019-03-20 22:08 ` Steve French
2019-03-21 14:26   ` Tom Talpey
2019-03-21  1:44 ` Steve French
2019-03-21 12:24   ` Andreas Hasenack
2019-03-21  5:03 ` ronnie sahlberg
2019-03-21 12:25   ` Andreas Hasenack

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.