diff options
| author | Scott Mayhew <[email protected]> | 2019-02-15 18:42:02 +0000 |
|---|---|---|
| committer | J. Bruce Fields <[email protected]> | 2019-02-15 19:56:51 +0000 |
| commit | e7afe6c1d486b516ed586dcc10b3e7e3e85a9c2b (patch) | |
| tree | 1615bbcf8801b795ade255532b7d8410c0ca4346 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
| parent | Revert "nfsd4: return default lease period" (diff) | |
| download | kernel-e7afe6c1d486b516ed586dcc10b3e7e3e85a9c2b.tar.gz kernel-e7afe6c1d486b516ed586dcc10b3e7e3e85a9c2b.zip | |
sunrpc: fix 4 more call sites that were using stack memory with a scatterlist
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 <[email protected]>
Cc: [email protected]
Signed-off-by: J. Bruce Fields <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions
