https://github.com/torvalds/linux
Revision f0fe970df3838c202ef6c07a4c2b36838ef0a88b authored by Jeff Mahoney on 05 July 2016, 21:32:30 UTC, committed by Tyler Hicks on 08 July 2016, 15:35:28 UTC
There are legitimate reasons to disallow mmap on certain files, notably
in sysfs or procfs.  We shouldn't emulate mmap support on file systems
that don't offer support natively.

CVE-2016-1583

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Cc: stable@vger.kernel.org
[tyhicks: clean up f_op check by using ecryptfs_file_to_lower()]
Signed-off-by: Tyler Hicks <tyhicks@canonical.com>
1 parent 78c4e17
History
Tip revision: f0fe970df3838c202ef6c07a4c2b36838ef0a88b authored by Jeff Mahoney on 05 July 2016, 21:32:30 UTC
ecryptfs: don't allow mmap when the lower fs doesn't support it
Tip revision: f0fe970
File Mode Size
Documentation
arch
block
certs
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.get_maintainer.ignore -rw-r--r-- 31 bytes
.gitignore -rw-r--r-- 1.2 KB
.mailmap -rw-r--r-- 6.1 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 95.5 KB
Kbuild -rw-r--r-- 2.8 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 353.7 KB
Makefile -rw-r--r-- 56.0 KB
README -rw-r--r-- 18.1 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top