1
0
Fork 0
alistair23-linux/fs/ceph
Matthew Wilcox (Oracle) d4fdbedef7 ceph: promote to unsigned long long before shifting
commit c403c3a2fb upstream.

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

Cc: stable@vger.kernel.org
Fixes: 61f6881621 ("ceph: check caps in filemap_fault and page_mkwrite")
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-11-05 11:43:34 +01:00
..
Kconfig
Makefile
acl.c
addr.c ceph: promote to unsigned long long before shifting 2020-11-05 11:43:34 +01:00
cache.c
cache.h
caps.c ceph: fix potential race in ceph_check_caps 2020-10-01 13:18:08 +02:00
ceph_frag.c
debugfs.c
dir.c ceph: set sec_context xattr on symlink creation 2020-08-21 13:05:28 +02:00
export.c
file.c ceph: don't allow setlease on cephfs 2020-09-09 19:12:21 +02:00
inode.c ceph: ensure we have a new cap before continuing in fill_inode 2020-10-01 13:17:29 +02:00
io.c
io.h
ioctl.c
ioctl.h
locks.c
mds_client.c ceph: fix potential mdsc use-after-free crash 2020-09-03 11:26:47 +02:00
mds_client.h
mdsmap.c
quota.c
snap.c
strings.c
super.c
super.h
xattr.c