linux-stable/fs/9p
Matthew Wilcox (Oracle) a72e2cad18 9P: Cast to loff_t before multiplying
commit f5f7ab168b upstream.

On 32-bit systems, this multiplication will overflow for files larger
than 4GB.

Link: http://lkml.kernel.org/r/20201004180428.14494-2-willy@infradead.org
Cc: stable@vger.kernel.org
Fixes: fb89b45cdf ("9P: introduction of a new cache=mmap model.")
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Dominique Martinet <asmadeus@codewreck.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-11-05 11:07:03 +01:00
..
acl.c 9p: acl: fix uninitialized iattr access 2019-07-03 13:15:58 +02:00
acl.h
cache.c fscache: remove unused ->now_uncached callback 2017-09-06 17:27:26 -07:00
cache.h fs: 9p: cache.h: Add #define of include guard 2015-11-11 02:19:50 -05:00
fid.c 9p: constify ->d_name handling 2017-01-12 04:01:17 -05:00
fid.h 9p: use clone_fid() 2016-08-03 11:12:12 -04:00
Kconfig
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
v9fs.c 9p: Fix memory leak in v9fs_mount 2020-08-21 09:48:15 +02:00
v9fs.h 9p locks: add mount option for lock retry interval 2019-04-20 09:15:04 +02:00
v9fs_vfs.h 9p: use inode->i_lock to protect i_size_write() under 32-bit 2019-03-23 14:35:09 +01:00
vfs_addr.c 9p: pass the correct prototype to read_cache_page 2019-07-31 07:28:55 +02: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:15:04 +02:00
vfs_file.c 9P: Cast to loff_t before multiplying 2020-11-05 11:07:03 +01:00
vfs_inode.c 9p: use inode->i_lock to protect i_size_write() under 32-bit 2019-03-23 14:35:09 +01:00
vfs_inode_dotl.c 9p: use inode->i_lock to protect i_size_write() under 32-bit 2019-03-23 14:35:09 +01:00
vfs_super.c 9p: use inode->i_lock to protect i_size_write() under 32-bit 2019-03-23 14:35:09 +01:00
xattr.c fs/9p/xattr.c: catch the error of p9_client_clunk when setting xattr failed 2018-09-09 19:55:55 +02:00
xattr.h 9p: xattr simplifications 2015-11-13 20:34:33 -05:00