android_kernel_oneplus_msm8998/fs/ecryptfs
Jann Horn 355ea21015 ecryptfs: forbid opening files without mmap handler
This prevents users from triggering a stack overflow through a recursive
invocation of pagefault handling that involves mapping procfs files into
virtual memory.

Change-Id: I84718f939090b564853f7d6a8662900f2af19ba0
Signed-off-by: Jann Horn <jannh@google.com>
Acked-by: Tyler Hicks <tyhicks@canonical.com>
Cc: stable@vger.kernel.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Git-repo: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git
Git-commit: 2f36db71009304b3f0b95afacd8eba1f9f046b87
Signed-off-by: Dennis Cagle <d-cagle@codeaurora.org>
2016-09-14 11:56:02 -07:00
..
crypto.c eCryptfs: fixed bug in cipher handling 2016-03-25 16:04:06 -07:00
debug.c eCryptfs: fixed bug in cipher handling 2016-03-25 16:04:06 -07:00
dentry.c eCryptfs: Invalidate dcache entries when lower i_nlink is zero 2015-08-18 17:29:48 -05:00
ecryptfs_kernel.h eCryptfs: fixed bug in cipher handling 2016-03-25 16:04:06 -07:00
events.c eCryptfs: fixed bug in cipher handling 2016-03-25 16:04:06 -07:00
file.c eCryptfs: fixes issue where files sometimes got corrupted upon close 2016-03-23 21:24:13 -07:00
inode.c ecryptfs: enhancing ecryptfs to be configurable with encryption type 2016-03-23 21:24:05 -07:00
Kconfig Minor code cleanups and new Kconfig option to disable /dev/ecryptfs 2013-03-07 12:47:24 -08:00
keystore.c eCryptfs: fixed bug in cipher handling 2016-03-25 16:04:06 -07:00
kthread.c ecryptfs: forbid opening files without mmap handler 2016-09-14 11:56:02 -07:00
main.c security: pfe: Fix the qualifier used to print size_t 2016-06-22 14:42:18 -07:00
Makefile eCryptfs: fixes issue where files sometimes got corrupted upon close 2016-03-23 21:24:13 -07:00
messaging.c fs/ecryptfs/messaging.c: remove null test before kfree 2014-07-03 16:38:09 -05:00
miscdev.c ecryptfs: close rmmod race 2013-04-09 14:08:16 -04:00
mmap.c ecryptfs: enhancing ecryptfs to be configurable with encryption type 2016-03-23 21:24:05 -07:00
read_write.c ecryptfs: don't open-code kernel_read() 2013-05-09 13:39:58 -04:00
super.c eCryptfs: fixed some major bugs 2016-03-23 21:24:11 -07:00