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 |
---|---|---|
blocklayout | ||
filelayout | ||
flexfilelayout | ||
Kconfig | -rw-r--r-- | 5.8 KB |
Makefile | -rw-r--r-- | 1.3 KB |
cache_lib.c | -rw-r--r-- | 3.8 KB |
cache_lib.h | -rw-r--r-- | 1.0 KB |
callback.c | -rw-r--r-- | 11.1 KB |
callback.h | -rw-r--r-- | 5.3 KB |
callback_proc.c | -rw-r--r-- | 18.8 KB |
callback_xdr.c | -rw-r--r-- | 26.9 KB |
client.c | -rw-r--r-- | 32.7 KB |
delegation.c | -rw-r--r-- | 32.2 KB |
delegation.h | -rw-r--r-- | 3.2 KB |
dir.c | -rw-r--r-- | 65.9 KB |
direct.c | -rw-r--r-- | 28.9 KB |
dns_resolve.c | -rw-r--r-- | 10.2 KB |
dns_resolve.h | -rw-r--r-- | 851 bytes |
export.c | -rw-r--r-- | 4.1 KB |
file.c | -rw-r--r-- | 21.9 KB |
fscache-index.c | -rw-r--r-- | 4.1 KB |
fscache.c | -rw-r--r-- | 14.1 KB |
fscache.h | -rw-r--r-- | 6.9 KB |
getroot.c | -rw-r--r-- | 3.5 KB |
inode.c | -rw-r--r-- | 61.7 KB |
internal.h | -rw-r--r-- | 24.1 KB |
io.c | -rw-r--r-- | 4.1 KB |
iostat.h | -rw-r--r-- | 1.8 KB |
mount_clnt.c | -rw-r--r-- | 12.4 KB |
namespace.c | -rw-r--r-- | 6.9 KB |
netns.h | -rw-r--r-- | 942 bytes |
nfs.h | -rw-r--r-- | 1.0 KB |
nfs2super.c | -rw-r--r-- | 569 bytes |
nfs2xdr.c | -rw-r--r-- | 26.5 KB |
nfs3_fs.h | -rw-r--r-- | 1.1 KB |
nfs3acl.c | -rw-r--r-- | 8.0 KB |
nfs3client.c | -rw-r--r-- | 3.1 KB |
nfs3proc.c | -rw-r--r-- | 24.9 KB |
nfs3super.c | -rw-r--r-- | 649 bytes |
nfs3xdr.c | -rw-r--r-- | 56.1 KB |
nfs42.h | -rw-r--r-- | 843 bytes |
nfs42proc.c | -rw-r--r-- | 19.7 KB |
nfs42xdr.c | -rw-r--r-- | 18.0 KB |
nfs4_fs.h | -rw-r--r-- | 20.1 KB |
nfs4client.c | -rw-r--r-- | 32.3 KB |
nfs4file.c | -rw-r--r-- | 6.3 KB |
nfs4getroot.c | -rw-r--r-- | 1011 bytes |
nfs4idmap.c | -rw-r--r-- | 19.4 KB |
nfs4idmap.h | -rw-r--r-- | 2.7 KB |
nfs4namespace.c | -rw-r--r-- | 12.7 KB |
nfs4proc.c | -rw-r--r-- | 263.0 KB |
nfs4renewd.c | -rw-r--r-- | 4.7 KB |
nfs4session.c | -rw-r--r-- | 16.6 KB |
nfs4session.h | -rw-r--r-- | 5.2 KB |
nfs4state.c | -rw-r--r-- | 68.2 KB |
nfs4super.c | -rw-r--r-- | 8.7 KB |
nfs4sysctl.c | -rw-r--r-- | 1.4 KB |
nfs4trace.c | -rw-r--r-- | 471 bytes |
nfs4trace.h | -rw-r--r-- | 49.2 KB |
nfs4xdr.c | -rw-r--r-- | 202.9 KB |
nfsroot.c | -rw-r--r-- | 9.5 KB |
nfstrace.c | -rw-r--r-- | 328 bytes |
nfstrace.h | -rw-r--r-- | 23.8 KB |
pagelist.c | -rw-r--r-- | 33.4 KB |
pnfs.c | -rw-r--r-- | 80.3 KB |
pnfs.h | -rw-r--r-- | 24.5 KB |
pnfs_dev.c | -rw-r--r-- | 9.6 KB |
pnfs_nfs.c | -rw-r--r-- | 23.5 KB |
proc.c | -rw-r--r-- | 18.8 KB |
read.c | -rw-r--r-- | 11.6 KB |
super.c | -rw-r--r-- | 75.8 KB |
symlink.c | -rw-r--r-- | 1.8 KB |
sysctl.c | -rw-r--r-- | 1.3 KB |
unlink.c | -rw-r--r-- | 14.0 KB |
write.c | -rw-r--r-- | 56.8 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...