linux/fs
Eric W. Biederman 4c0b632275 mnt: Fix fs_fully_visible to verify the root directory is visible
commit 7e96c1b0e0 upstream.

This fixes a dumb bug in fs_fully_visible that allows proc or sys to
be mounted if there is a bind mount of part of /proc/ or /sys/ visible.

Reported-by: Eric Windisch <ewindisch@docker.com>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-05-17 09:53:49 -07:00
..
9p
adfs
affs move d_rcu from overlapping d_child to overlapping d_alias 2015-04-29 10:31:54 +02:00
afs
autofs4 move d_rcu from overlapping d_child to overlapping d_alias 2015-04-29 10:31:54 +02:00
befs
bfs
btrfs Btrfs: fix inode eviction infinite loop after extent_same ioctl 2015-05-06 21:59:08 +02:00
cachefiles
ceph move d_rcu from overlapping d_child to overlapping d_alias 2015-04-29 10:31:54 +02:00
cifs move d_rcu from overlapping d_child to overlapping d_alias 2015-04-29 10:31:54 +02:00
coda move d_rcu from overlapping d_child to overlapping d_alias 2015-04-29 10:31:54 +02:00
configfs
cramfs mm: remove read_cache_page_async() 2014-11-21 09:23:06 -08:00
debugfs move d_rcu from overlapping d_child to overlapping d_alias 2015-04-29 10:31:54 +02:00
devpts
dlm
ecryptfs eCryptfs: Remove buggy and unnecessary write in file name decode routine 2015-01-08 10:00:51 -08:00
efivarfs
efs
exofs
exportfs move d_rcu from overlapping d_child to overlapping d_alias 2015-04-29 10:31:54 +02:00
ext2
ext3 ext3: Don't check quota format when there are no quota files 2014-11-14 09:00:09 -08:00
ext4 ext4: fix data corruption caused by unwritten and delayed extents 2015-05-13 05:16:57 -07:00
f2fs mm: non-atomically mark page accessed during page cache allocation where possible 2015-01-29 17:40:52 -08:00
fat
freevxfs
fscache
fuse fuse: notify: don't move pages 2015-03-26 15:06:53 +01:00
gfs2 mm: non-atomically mark page accessed during page cache allocation where possible 2015-01-29 17:40:52 -08:00
hfs
hfsplus hfsplus: fix B-tree corruption after insertion at position 0 2015-04-13 14:03:03 +02:00
hostfs
hpfs
hppfs
hugetlbfs hugetlb: ensure hugepage access is denied if hugepages are not supported 2014-10-09 12:21:27 -07:00
isofs isofs: Fix unchecked printing of ER records 2015-01-08 10:00:49 -08:00
jbd
jbd2 jbd2: free bh when descriptor block checksum fails 2014-11-14 08:59:57 -08:00
jffs2 jffs2: fix handling of corrupted summary length 2015-03-06 14:43:32 -08:00
jfs
kernfs kernfs: add back missing error check in kernfs_fop_mmap() 2014-06-07 10:28:08 -07:00
lockd LOCKD: Fix a race when initialising nlmsvc_timeout 2015-01-27 08:18:58 -08:00
logfs
minix
ncpfs move d_rcu from overlapping d_child to overlapping d_alias 2015-04-29 10:31:54 +02:00
nfs move d_rcu from overlapping d_child to overlapping d_alias 2015-04-29 10:31:54 +02:00
nfs_common
nfsd nfsd4: fix xdr4 inclusion of escaped char 2015-01-16 06:59:33 -08:00
nilfs2 nilfs2: fix sanity check of btree level in nilfs_btree_root_broken() 2015-05-17 09:53:49 -07:00
nls
notify move d_rcu from overlapping d_child to overlapping d_alias 2015-04-29 10:31:54 +02:00
ntfs mm: non-atomically mark page accessed during page cache allocation where possible 2015-01-29 17:40:52 -08:00
ocfs2 ocfs2: dlm: fix race between purge and get lock resource 2015-05-17 09:53:49 -07:00
omfs
openpromfs
proc proc/pagemap: walk page tables under pte lock 2015-04-29 10:31:56 +02:00
pstore pstore: Fix NULL pointer fault if get NULL prz in ramoops_get_next_prz 2015-02-05 22:35:52 -08:00
qnx4
qnx6
quota quota: Properly return errors from dquot_writeback_dquots() 2014-11-14 09:00:09 -08:00
ramfs
reiserfs reiserfs: call truncate_setsize under tailpack mutex 2014-07-06 18:57:29 -07:00
romfs
squashfs
sysfs sysfs: make sure read buffer is zeroed 2014-06-07 10:28:24 -07:00
sysv
ubifs UBIFS: fix free log space calculation 2014-11-14 08:59:46 -08:00
udf udf: Verify symlink size before loading it 2015-01-08 10:00:50 -08:00
ufs
xfs xfs: Fix quota type in quota structures when reusing quota file 2015-03-06 14:43:31 -08:00
Kconfig
Kconfig.binfmt
Makefile
aio.c ioctx_alloc(): fix vma (and file) leak on failure 2015-04-19 10:11:09 +02:00
anon_inodes.c
attr.c fs,userns: Change inode_capable to capable_wrt_inode_uidgid 2014-06-16 13:40:32 -07:00
bad_inode.c
binfmt_aout.c
binfmt_elf.c fs/binfmt_elf.c: fix bug in loading of PIE binaries 2015-05-06 21:59:14 +02:00
binfmt_elf_fdpic.c
binfmt_em86.c
binfmt_flat.c
binfmt_misc.c
binfmt_script.c
binfmt_som.c
bio-integrity.c
bio.c
block_dev.c
buffer.c mm: non-atomically mark page accessed during page cache allocation where possible 2015-01-29 17:40:52 -08:00
char_dev.c
compat.c
compat_binfmt_elf.c
compat_ioctl.c
coredump.c coredump: fix the setting of PF_DUMPCORE 2014-07-31 12:52:56 -07:00
dcache.c move d_rcu from overlapping d_child to overlapping d_alias 2015-04-29 10:31:54 +02:00
dcookies.c
direct-io.c
drop_caches.c
eventfd.c
eventpoll.c eventpoll: fix uninitialized variable in epoll_ctl 2014-10-05 14:52:20 -07:00
exec.c fs: take i_mutex during prepare_binprm for set[ug]id executables 2015-05-06 21:59:21 +02:00
fcntl.c
fhandle.c
file.c
file_table.c don't bother with {get,put}_write_access() on non-regular files 2014-05-31 13:20:29 -07:00
filesystems.c
fs-writeback.c writeback: fix a subtle race condition in I_DIRTY clearing 2015-01-16 06:59:32 -08:00
fs_struct.c
inode.c fs,userns: Change inode_capable to capable_wrt_inode_uidgid 2014-06-16 13:40:32 -07:00
internal.h
ioctl.c
ioprio.c block: Fix computation of merged request priority 2014-11-21 09:23:03 -08:00
libfs.c move d_rcu from overlapping d_child to overlapping d_alias 2015-04-29 10:31:54 +02:00
locks.c locks: eliminate BUG() call when there's an unexpected lock on file close 2014-12-06 15:55:39 -08:00
mbcache.c
mount.h
mpage.c
namei.c RCU pathwalk breakage when running into a symlink overmounting something 2015-05-06 21:59:20 +02:00
namespace.c mnt: Fix fs_fully_visible to verify the root directory is visible 2015-05-17 09:53:49 -07:00
no-block.c
open.c NFS: fix BUG() crash in notify_change() with patch to chown_common() 2015-05-06 21:59:11 +02:00
pipe.c
pnode.c get rid of propagate_umount() mistakenly treating slaves as busy. 2014-09-17 09:19:22 -07:00
pnode.h smarter propagate_mnt() 2014-05-06 07:59:36 -07:00
posix_acl.c posix_acl: handle NULL ACL in posix_acl_equiv_mode 2014-06-07 10:28:16 -07:00
proc_namespace.c
read_write.c
readdir.c
select.c
seq_file.c
signalfd.c
splice.c
stack.c
stat.c
statfs.c
super.c fs/superblock: avoid locking counting inodes and dentries before reclaiming them 2014-11-21 09:23:07 -08:00
sync.c
timerfd.c
utimes.c
xattr.c