]> git.baikalelectronics.ru Git - kernel.git/commit
ecryptfs: forbid opening files without mmap handler
authorJann Horn <jannh@google.com>
Wed, 1 Jun 2016 09:55:06 +0000 (11:55 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 10 Jun 2016 19:09:43 +0000 (12:09 -0700)
commit43c84d81bfb6740073147d409dc980b1697fb1ef
tree0ce45950e4043208a1d035effd5a9305d18fe405
parent0a977e8962ca90d994957346c011ffc8394f68ce
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>
fs/ecryptfs/kthread.c