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
History
File Mode Size
Kconfig -rw-r--r-- 3.9 KB
Makefile -rw-r--r-- 542 bytes
acl.c -rw-r--r-- 6.6 KB
acl.h -rw-r--r-- 1.5 KB
balloc.c -rw-r--r-- 25.7 KB
bitmap.c -rw-r--r-- 2.7 KB
block_validity.c -rw-r--r-- 6.1 KB
dir.c -rw-r--r-- 17.0 KB
ext4.h -rw-r--r-- 114.0 KB
ext4_extents.h -rw-r--r-- 8.6 KB
ext4_jbd2.c -rw-r--r-- 8.0 KB
ext4_jbd2.h -rw-r--r-- 15.2 KB
extents.c -rw-r--r-- 161.2 KB
extents_status.c -rw-r--r-- 51.3 KB
extents_status.h -rw-r--r-- 7.9 KB
file.c -rw-r--r-- 13.3 KB
fsmap.c -rw-r--r-- 19.7 KB
fsmap.h -rw-r--r-- 2.0 KB
fsync.c -rw-r--r-- 4.8 KB
hash.c -rw-r--r-- 6.1 KB
ialloc.c -rw-r--r-- 39.6 KB
indirect.c -rw-r--r-- 43.0 KB
inline.c -rw-r--r-- 49.3 KB
inode.c -rw-r--r-- 180.7 KB
ioctl.c -rw-r--r-- 27.9 KB
mballoc.c -rw-r--r-- 146.4 KB
mballoc.h -rw-r--r-- 5.3 KB
migrate.c -rw-r--r-- 16.8 KB
mmp.c -rw-r--r-- 9.9 KB
move_extent.c -rw-r--r-- 20.7 KB
namei.c -rw-r--r-- 101.6 KB
page-io.c -rw-r--r-- 13.9 KB
readpage.c -rw-r--r-- 7.5 KB
resize.c -rw-r--r-- 59.7 KB
super.c -rw-r--r-- 171.4 KB
symlink.c -rw-r--r-- 1.7 KB
sysfs.c -rw-r--r-- 11.7 KB
truncate.h -rw-r--r-- 1.5 KB
xattr.c -rw-r--r-- 81.8 KB
xattr.h -rw-r--r-- 7.2 KB
xattr_security.c -rw-r--r-- 1.6 KB
xattr_trusted.c -rw-r--r-- 1.2 KB
xattr_user.c -rw-r--r-- 1.2 KB

back to top