diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2022-01-25 16:36:22 -0500 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2022-02-09 09:24:01 -0500 |
commit | 6260d9a56ab352b54891ec66ab0eced57d55abc6 (patch) | |
tree | 08f0fa649fbfd2676938db6885fd58a3248bbc9a /drivers/input | |
parent | a648fdeb7c0e17177a2280344d015dba3fbe3314 (diff) | |
download | linux-6260d9a56ab352b54891ec66ab0eced57d55abc6.tar.bz2 |
NFSD: Clamp WRITE offsets
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>
Diffstat (limited to 'drivers/input')
0 files changed, 0 insertions, 0 deletions