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
File | Mode | Size |
---|---|---|
tests | ||
Kconfig | -rw-r--r-- | 3.2 KB |
Makefile | -rw-r--r-- | 1.0 KB |
acl.c | -rw-r--r-- | 2.8 KB |
async-thread.c | -rw-r--r-- | 10.1 KB |
async-thread.h | -rw-r--r-- | 2.6 KB |
backref.c | -rw-r--r-- | 59.1 KB |
backref.h | -rw-r--r-- | 2.3 KB |
btrfs_inode.h | -rw-r--r-- | 9.6 KB |
check-integrity.c | -rw-r--r-- | 93.5 KB |
check-integrity.h | -rw-r--r-- | 704 bytes |
compression.c | -rw-r--r-- | 40.4 KB |
compression.h | -rw-r--r-- | 3.8 KB |
ctree.c | -rw-r--r-- | 151.8 KB |
ctree.h | -rw-r--r-- | 129.1 KB |
dedupe.h | -rw-r--r-- | 232 bytes |
delayed-inode.c | -rw-r--r-- | 50.9 KB |
delayed-inode.h | -rw-r--r-- | 4.2 KB |
delayed-ref.c | -rw-r--r-- | 26.9 KB |
delayed-ref.h | -rw-r--r-- | 8.2 KB |
dev-replace.c | -rw-r--r-- | 30.9 KB |
dev-replace.h | -rw-r--r-- | 864 bytes |
dir-item.c | -rw-r--r-- | 11.4 KB |
disk-io.c | -rw-r--r-- | 124.3 KB |
disk-io.h | -rw-r--r-- | 5.6 KB |
export.c | -rw-r--r-- | 7.6 KB |
export.h | -rw-r--r-- | 341 bytes |
extent-tree.c | -rw-r--r-- | 312.5 KB |
extent_io.c | -rw-r--r-- | 148.5 KB |
extent_io.h | -rw-r--r-- | 17.4 KB |
extent_map.c | -rw-r--r-- | 15.5 KB |
extent_map.h | -rw-r--r-- | 2.7 KB |
file-item.c | -rw-r--r-- | 26.3 KB |
file.c | -rw-r--r-- | 87.4 KB |
free-space-cache.c | -rw-r--r-- | 93.2 KB |
free-space-cache.h | -rw-r--r-- | 4.3 KB |
free-space-tree.c | -rw-r--r-- | 39.8 KB |
free-space-tree.h | -rw-r--r-- | 2.2 KB |
inode-item.c | -rw-r--r-- | 11.3 KB |
inode-map.c | -rw-r--r-- | 14.0 KB |
inode-map.h | -rw-r--r-- | 568 bytes |
inode.c | -rw-r--r-- | 291.7 KB |
ioctl.c | -rw-r--r-- | 140.1 KB |
locking.c | -rw-r--r-- | 7.5 KB |
locking.h | -rw-r--r-- | 1.5 KB |
lzo.c | -rw-r--r-- | 11.9 KB |
math.h | -rw-r--r-- | 487 bytes |
ordered-data.c | -rw-r--r-- | 26.4 KB |
ordered-data.h | -rw-r--r-- | 5.6 KB |
orphan.c | -rw-r--r-- | 1.1 KB |
print-tree.c | -rw-r--r-- | 11.5 KB |
print-tree.h | -rw-r--r-- | 271 bytes |
props.c | -rw-r--r-- | 9.5 KB |
props.h | -rw-r--r-- | 696 bytes |
qgroup.c | -rw-r--r-- | 97.5 KB |
qgroup.h | -rw-r--r-- | 10.4 KB |
raid56.c | -rw-r--r-- | 67.1 KB |
raid56.h | -rw-r--r-- | 1.7 KB |
rcu-string.h | -rw-r--r-- | 998 bytes |
reada.c | -rw-r--r-- | 23.7 KB |
ref-verify.c | -rw-r--r-- | 25.3 KB |
ref-verify.h | -rw-r--r-- | 1.3 KB |
relocation.c | -rw-r--r-- | 111.0 KB |
root-tree.c | -rw-r--r-- | 12.5 KB |
scrub.c | -rw-r--r-- | 105.8 KB |
send.c | -rw-r--r-- | 163.5 KB |
send.h | -rw-r--r-- | 2.4 KB |
struct-funcs.c | -rw-r--r-- | 3.9 KB |
super.c | -rw-r--r-- | 64.2 KB |
sysfs.c | -rw-r--r-- | 24.7 KB |
sysfs.h | -rw-r--r-- | 3.0 KB |
transaction.c | -rw-r--r-- | 64.9 KB |
transaction.h | -rw-r--r-- | 7.2 KB |
tree-checker.c | -rw-r--r-- | 20.1 KB |
tree-checker.h | -rw-r--r-- | 703 bytes |
tree-defrag.c | -rw-r--r-- | 3.6 KB |
tree-log.c | -rw-r--r-- | 163.8 KB |
tree-log.h | -rw-r--r-- | 2.6 KB |
ulist.c | -rw-r--r-- | 6.7 KB |
ulist.h | -rw-r--r-- | 1.9 KB |
uuid-tree.c | -rw-r--r-- | 7.5 KB |
volumes.c | -rw-r--r-- | 210.1 KB |
volumes.h | -rw-r--r-- | 16.4 KB |
xattr.c | -rw-r--r-- | 11.9 KB |
xattr.h | -rw-r--r-- | 701 bytes |
zlib.c | -rw-r--r-- | 10.1 KB |
zstd.c | -rw-r--r-- | 10.5 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...