Skip to content
Commit 2f36db71 authored by Jann Horn's avatar Jann Horn Committed by Linus Torvalds
Browse files

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: default avatarJann Horn <jannh@google.com>
Acked-by: default avatarTyler Hicks <tyhicks@canonical.com>
Cc: stable@vger.kernel.org
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent e54ad7f1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment