diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2020-10-04 19:04:24 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-11-05 11:43:34 +0100 |
commit | d4fdbedef767143cfce7218086c6b3b39bc42373 (patch) | |
tree | c230fe2006e3c7f680b4fab106bbfae1cd882f9b /net | |
parent | 9cdccb4761e54d12e9cb5f19864c2b747115f82b (diff) |
ceph: promote to unsigned long long before shifting
commit c403c3a2fbe24d4ed33e10cabad048583ebd4edf upstream.
On 32-bit systems, this shift will overflow for files larger than 4GB.
Cc: stable@vger.kernel.org
Fixes: 61f68816211e ("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>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions