Files
kernel_xiaomi_sm8250/fs
Chuck Lever 2b19b51c39 NFSD: Clamp WRITE offsets
commit 6260d9a56ab352b54891ec66ab0eced57d55abc6 upstream.

Ensure that a client cannot specify a WRITE range that falls in a
byte range outside what the kernel's internal types (such as loff_t,
which is signed) can represent. The kiocb iterators, invoked in
nfsd_vfs_write(), should properly limit write operations to within
the underlying file system's s_maxbytes.

Cc: stable@vger.kernel.org
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-02-16 12:51:44 +01:00
..
2020-11-05 11:08:53 +01:00
2021-06-30 08:48:14 -04:00
2021-09-22 11:48:02 +02:00
2022-01-27 09:04:34 +01:00
2021-11-26 11:36:12 +01:00
2022-02-16 12:51:44 +01:00
2020-03-05 16:42:12 +01:00
2020-03-25 08:06:14 +01:00
2021-05-22 10:59:50 +02:00
2021-12-14 10:18:07 +01:00