linux-stable/fs/9p
Matthew Wilcox (Oracle) f870895527 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:08:53 +01:00
..
acl.c 9p: acl: fix uninitialized iattr access 2019-07-03 13:14:42 +02:00
acl.h
cache.c 9p/cache.c: Fix memory leak in v9fs_cache_session_get_cookie 2019-10-07 18:57:29 +02:00
cache.h
fid.c
fid.h
Kconfig
Makefile
v9fs.c 9p: Fix memory leak in v9fs_mount 2020-08-19 08:15:06 +02:00
v9fs.h
v9fs_vfs.h
vfs_addr.c 9p: pass the correct prototype to read_cache_page 2019-07-31 07:27:08 +02:00
vfs_dentry.c
vfs_dir.c
vfs_file.c 9P: Cast to loff_t before multiplying 2020-11-05 11:08:53 +01:00
vfs_inode.c
vfs_inode_dotl.c
vfs_super.c
xattr.c
xattr.h