linux-stable/fs/9p
Dominique Martinet f779172e37 9p: acl: fix uninitialized iattr access
[ Upstream commit e02a53d92e ]

iattr is passed to v9fs_vfs_setattr_dotl which does send various
values from iattr over the wire, even if it tells the server to
only look at iattr.ia_valid fields this could leak some stack data.

Link: http://lkml.kernel.org/r/1536339057-21974-2-git-send-email-asmadeus@codewreck.org
Addresses-Coverity-ID: 1195601 ("Uninitalized scalar variable")
Signed-off-by: Dominique Martinet <dominique.martinet@cea.fr>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-07-10 09:55:37 +02:00
..
acl.c 9p: acl: fix uninitialized iattr access 2019-07-10 09:55:37 +02:00
acl.h 9p: switch v9fs_set_create_acl() to inode+fid, do it before d_instantiate() 2013-02-26 02:46:07 -05:00
cache.c fs/9p: use fscache mutex rather than spinlock 2016-01-09 02:57:21 -05:00
cache.h fs: 9p: cache.h: Add #define of include guard 2015-11-11 02:19:50 -05:00
fid.c 9p: use clone_fid() 2016-08-03 11:12:12 -04:00
fid.h 9p: use clone_fid() 2016-08-03 11:12:12 -04:00
Kconfig fs/9p: xattr: add trusted and security namespaces 2013-07-07 22:02:18 -05:00
Makefile 9p: xattr simplifications 2015-11-13 20:34:33 -05:00
v9fs.c 9p locks: add mount option for lock retry interval 2019-04-20 09:07:51 +02:00
v9fs.h 9p locks: add mount option for lock retry interval 2019-04-20 09:07:51 +02:00
v9fs_vfs.h 9p: use inode->i_lock to protect i_size_write() under 32-bit 2019-03-23 13:19:40 +01:00
vfs_addr.c missed comment updates from ->direct_IO() prototype change 2016-05-29 19:05:03 -04:00
vfs_dentry.c VFS: normal filesystems (and lustre): d_inode() annotations 2015-04-15 15:06:57 -04:00
vfs_dir.c 9p: do not trust pdu content for stat item size 2019-04-20 09:07:51 +02:00
vfs_file.c 9p locks: add mount option for lock retry interval 2019-04-20 09:07:51 +02:00
vfs_inode.c 9p: use inode->i_lock to protect i_size_write() under 32-bit 2019-03-23 13:19:40 +01:00
vfs_inode_dotl.c 9p: use inode->i_lock to protect i_size_write() under 32-bit 2019-03-23 13:19:40 +01:00
vfs_super.c 9p: use inode->i_lock to protect i_size_write() under 32-bit 2019-03-23 13:19:40 +01:00
xattr.c fs/9p/xattr.c: catch the error of p9_client_clunk when setting xattr failed 2018-09-09 20:01:20 +02:00
xattr.h 9p: xattr simplifications 2015-11-13 20:34:33 -05:00