summaryrefslogtreecommitdiff
path: root/net/ax25/ax25_ip.c
diff options
context:
space:
mode:
authorScott Mayhew <smayhew@redhat.com>2019-02-15 13:42:02 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-02-23 09:06:43 +0100
commitaa1e52cbb1e45dec65c88f370d32362252380f49 (patch)
tree92a57254b87c44789dd050dae8fc85255171e6bd /net/ax25/ax25_ip.c
parent3a493b762f31fc0c571051cdfb0d80f49498e5fd (diff)
sunrpc: fix 4 more call sites that were using stack memory with a scatterlist
commit e7afe6c1d486b516ed586dcc10b3e7e3e85a9c2b upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/ax25/ax25_ip.c')
0 files changed, 0 insertions, 0 deletions