kernel-fxtec-pro1x/fs/ecryptfs
Aditya Pakki c0965be4b2 ecryptfs: replace BUG_ON with error handling code
commit 2c2a7552dd6465e8fde6bc9cccf8d66ed1c1eb72 upstream.

In crypt_scatterlist, if the crypt_stat argument is not set up
correctly, the kernel crashes. Instead, by returning an error code
upstream, the error is handled safely.

The issue is detected via a static analysis tool written by us.

Fixes: 237fead619 (ecryptfs: fs/Makefile and fs/Kconfig)
Signed-off-by: Aditya Pakki <pakki001@umn.edu>
Signed-off-by: Tyler Hicks <code@tyhicks.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-02-28 16:38:59 +01:00
..
crypto.c ecryptfs: replace BUG_ON with error handling code 2020-02-28 16:38:59 +01:00
debug.c
dentry.c
ecryptfs_kernel.h
file.c
inode.c ecryptfs_lookup_interpose(): lower_dentry->d_parent is not stable either 2019-11-20 18:45:18 +01:00
Kconfig
keystore.c ecryptfs: fix a memory leak bug in parse_tag_1_packet() 2020-02-28 16:38:44 +01:00
kthread.c
main.c
Makefile
messaging.c ecryptfs: fix a memory leak bug in ecryptfs_init_messaging() 2020-02-28 16:38:44 +01:00
miscdev.c
mmap.c
read_write.c
super.c