Files
linux/fs/nfsd
Chuck Lever f83217f621 NFSD: Clamp WRITE offsets
commit 6260d9a56a 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>
2023-05-16 12:41:48 +09:00
..
2014-07-08 17:14:27 -04:00
2017-06-14 15:06:00 +02:00
2016-03-18 11:42:53 -04:00
2014-08-17 12:00:12 -04:00
2023-05-16 12:41:48 +09:00
2023-05-16 12:41:48 +09:00
2016-01-22 18:04:28 -05:00
2016-05-29 19:08:00 -04:00
2016-01-14 17:32:51 -05:00