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.1 KB |
Makefile | -rw-r--r-- | 283 bytes |
alloc.c | -rw-r--r-- | 24.3 KB |
alloc.h | -rw-r--r-- | 3.2 KB |
bmap.c | -rw-r--r-- | 14.4 KB |
bmap.h | -rw-r--r-- | 7.8 KB |
btnode.c | -rw-r--r-- | 6.6 KB |
btnode.h | -rw-r--r-- | 1.4 KB |
btree.c | -rw-r--r-- | 62.4 KB |
btree.h | -rw-r--r-- | 2.0 KB |
cpfile.c | -rw-r--r-- | 25.4 KB |
cpfile.h | -rw-r--r-- | 1.1 KB |
dat.c | -rw-r--r-- | 12.7 KB |
dat.h | -rw-r--r-- | 1.7 KB |
dir.c | -rw-r--r-- | 16.6 KB |
direct.c | -rw-r--r-- | 8.7 KB |
direct.h | -rw-r--r-- | 645 bytes |
export.h | -rw-r--r-- | 505 bytes |
file.c | -rw-r--r-- | 3.6 KB |
gcinode.c | -rw-r--r-- | 5.1 KB |
ifile.c | -rw-r--r-- | 5.2 KB |
ifile.h | -rw-r--r-- | 1.1 KB |
inode.c | -rw-r--r-- | 28.8 KB |
ioctl.c | -rw-r--r-- | 35.8 KB |
mdt.c | -rw-r--r-- | 15.5 KB |
mdt.h | -rw-r--r-- | 3.7 KB |
namei.c | -rw-r--r-- | 12.4 KB |
nilfs.h | -rw-r--r-- | 12.1 KB |
page.c | -rw-r--r-- | 13.6 KB |
page.h | -rw-r--r-- | 1.9 KB |
recovery.c | -rw-r--r-- | 23.6 KB |
segbuf.c | -rw-r--r-- | 13.0 KB |
segbuf.h | -rw-r--r-- | 5.5 KB |
segment.c | -rw-r--r-- | 74.1 KB |
segment.h | -rw-r--r-- | 7.8 KB |
sufile.c | -rw-r--r-- | 31.6 KB |
sufile.h | -rw-r--r-- | 4.2 KB |
super.c | -rw-r--r-- | 35.3 KB |
sysfs.c | -rw-r--r-- | 31.3 KB |
sysfs.h | -rw-r--r-- | 5.2 KB |
the_nilfs.c | -rw-r--r-- | 20.6 KB |
the_nilfs.h | -rw-r--r-- | 11.3 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...