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. 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> Signed-off-by:
Dennis Cagle <d-cagle@codeaurora.org> Git-repo: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git Git-commit: 2f36db71009304b3f0b95afacd8eba1f9f046b87 (cherry picked from commit 2f36db71009304b3f0b95afacd8eba1f9f046b87) Change-Id: I84718f939090b564853f7d6a8662900f2af19ba0
Loading
Please register or sign in to comment