Revision e7afe6c1d486b516ed586dcc10b3e7e3e85a9c2b authored by Scott Mayhew on 15 February 2019, 18:42:02 UTC, committed by J. Bruce Fields on 15 February 2019, 19:56:51 UTC
While trying to reproduce a reported kernel panic on arm64, I discovered that AUTH_GSS basically doesn't work at all with older enctypes on arm64 systems with CONFIG_VMAP_STACK enabled. It turns out there still a few places using stack memory with scatterlists, causing krb5_encrypt() and krb5_decrypt() to produce incorrect results (or a BUG if CONFIG_DEBUG_SG is enabled). Tested with cthon on v4.0/v4.1/v4.2 with krb5/krb5i/krb5p using des3-cbc-sha1 and arcfour-hmac-md5. Signed-off-by: Scott Mayhew <smayhew@redhat.com> Cc: stable@vger.kernel.org Signed-off-by: J. Bruce Fields <bfields@redhat.com>
1 parent 3bf6b57
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 1.4 KB |
Makefile | -rw-r--r-- | 300 bytes |
bind.c | -rw-r--r-- | 7.0 KB |
daemon.c | -rw-r--r-- | 16.6 KB |
interface.c | -rw-r--r-- | 15.1 KB |
internal.h | -rw-r--r-- | 11.0 KB |
key.c | -rw-r--r-- | 3.7 KB |
main.c | -rw-r--r-- | 2.4 KB |
namei.c | -rw-r--r-- | 25.7 KB |
proc.c | -rw-r--r-- | 2.7 KB |
rdwr.c | -rw-r--r-- | 24.4 KB |
security.c | -rw-r--r-- | 2.7 KB |
xattr.c | -rw-r--r-- | 7.3 KB |
Computing file changes ...