https://github.com/torvalds/linux
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
Tip revision: e7afe6c1d486b516ed586dcc10b3e7e3e85a9c2b authored by Scott Mayhew on 15 February 2019, 18:42:02 UTC
sunrpc: fix 4 more call sites that were using stack memory with a scatterlist
sunrpc: fix 4 more call sites that were using stack memory with a scatterlist
Tip revision: e7afe6c
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 1.4 KB |
Makefile | -rw-r--r-- | 343 bytes |
acl.c | -rw-r--r-- | 3.2 KB |
acl.h | -rw-r--r-- | 743 bytes |
aops.c | -rw-r--r-- | 23.9 KB |
aops.h | -rw-r--r-- | 587 bytes |
bmap.c | -rw-r--r-- | 63.6 KB |
bmap.h | -rw-r--r-- | 2.2 KB |
dentry.c | -rw-r--r-- | 2.7 KB |
dir.c | -rw-r--r-- | 52.2 KB |
dir.h | -rw-r--r-- | 2.6 KB |
export.c | -rw-r--r-- | 4.7 KB |
file.c | -rw-r--r-- | 33.1 KB |
gfs2.h | -rw-r--r-- | 524 bytes |
glock.c | -rw-r--r-- | 54.4 KB |
glock.h | -rw-r--r-- | 8.9 KB |
glops.c | -rw-r--r-- | 16.6 KB |
glops.h | -rw-r--r-- | 1.1 KB |
incore.h | -rw-r--r-- | 23.5 KB |
inode.c | -rw-r--r-- | 48.9 KB |
inode.h | -rw-r--r-- | 4.2 KB |
lock_dlm.c | -rw-r--r-- | 39.1 KB |
log.c | -rw-r--r-- | 28.1 KB |
log.h | -rw-r--r-- | 2.4 KB |
lops.c | -rw-r--r-- | 26.2 KB |
lops.h | -rw-r--r-- | 3.1 KB |
main.c | -rw-r--r-- | 6.1 KB |
meta_io.c | -rw-r--r-- | 10.7 KB |
meta_io.h | -rw-r--r-- | 2.6 KB |
ops_fstype.c | -rw-r--r-- | 34.8 KB |
quota.c | -rw-r--r-- | 42.5 KB |
quota.h | -rw-r--r-- | 2.2 KB |
recovery.c | -rw-r--r-- | 11.1 KB |
recovery.h | -rw-r--r-- | 1.2 KB |
rgrp.c | -rw-r--r-- | 71.4 KB |
rgrp.h | -rw-r--r-- | 3.5 KB |
super.c | -rw-r--r-- | 42.4 KB |
super.h | -rw-r--r-- | 1.9 KB |
sys.c | -rw-r--r-- | 17.8 KB |
sys.h | -rw-r--r-- | 659 bytes |
trace_gfs2.h | -rw-r--r-- | 17.5 KB |
trans.c | -rw-r--r-- | 7.1 KB |
trans.h | -rw-r--r-- | 1.5 KB |
util.c | -rw-r--r-- | 7.5 KB |
util.h | -rw-r--r-- | 5.1 KB |
xattr.c | -rw-r--r-- | 32.0 KB |
xattr.h | -rw-r--r-- | 2.0 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...