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-03-04 09:39:55 +01:00
2021-06-30 08:48:14 -04:00
2022-01-27 09:04:27 +01:00
2020-11-05 11:08:54 +01:00
2021-09-26 13:39:48 +02:00
2021-10-06 15:31:10 +02:00
2021-07-20 16:15:57 +02:00
2021-09-22 11:47:56 +02:00
2022-01-27 09:04:23 +01:00
2021-05-26 11:48:34 +02:00
2020-12-02 08:48:12 +01:00
2020-01-27 14:50:02 +01:00
2021-10-09 14:11:03 +02:00
2022-02-08 18:23:19 +01:00
2022-01-27 09:04:15 +01:00
2020-06-22 09:05:08 +02:00
2021-09-22 11:48:02 +02:00
2022-01-27 09:04:34 +01:00
2021-12-08 08:50:11 +01:00
2021-07-31 08:22:38 +02:00
2021-05-22 10:59:45 +02:00
2021-06-03 08:38:12 +02:00
2021-11-12 14:40:50 +01:00
2020-09-03 11:24:24 +02:00
2022-01-27 09:04:26 +01:00
2021-11-26 11:36:12 +01:00
2020-12-30 11:25:59 +01:00
2020-08-21 11:05:38 +02:00
2022-02-16 12:51:43 +01:00
2020-12-30 11:26:02 +01:00
2022-02-16 12:51:44 +01:00
2021-09-26 13:39:49 +02:00
2020-06-30 23:17:00 -04:00
2021-07-20 16:15:39 +02:00
2021-11-26 11:35:57 +01:00
2022-01-27 09:04:13 +01:00
2021-12-22 09:19:04 +01:00
2021-12-01 09:27:39 +01:00
2021-03-04 09:39:54 +01:00
2021-10-06 15:31:20 +02:00
2021-11-26 11:36:03 +01:00
2020-10-30 10:38:21 +01:00
2021-08-12 13:19:44 +02:00
2020-08-26 10:30:59 +02:00
2021-05-22 10:59:45 +02:00
2021-03-07 12:19:01 +01:00
2021-12-14 10:18:07 +01:00
2022-01-27 09:04:30 +01:00
2022-02-08 18:23:03 +01:00
2020-08-21 11:05:38 +02:00
2022-01-11 13:58:49 +01:00
2021-12-14 10:18:07 +01:00
2021-10-06 15:31:24 +02:00
2021-03-17 16:43:51 +01:00
2021-05-22 10:59:49 +02:00
2020-11-05 11:08:46 +01:00
2020-01-14 20:06:57 +01:00
2020-05-14 07:57:21 +02:00
2020-03-05 16:42:12 +01:00
2020-11-05 11:08:35 +01:00
2021-04-14 08:22:32 +02:00
2020-02-11 04:34:08 -08:00
2020-10-07 08:00:09 +02:00
2021-10-27 09:53:13 +02:00
2021-09-22 11:47:50 +02:00
2021-12-08 08:50:13 +01:00
2021-12-08 08:50:13 +01:00
2020-04-17 10:48:51 +02:00
2021-07-20 16:15:52 +02:00
2020-03-25 08:06:14 +01:00
2021-05-22 10:59:50 +02:00
2020-11-24 13:27:23 +01:00
2020-03-05 16:42:20 +01:00
2021-08-26 08:36:49 -04:00
2020-03-18 07:14:21 +01:00
2021-08-12 13:19:43 +02:00
2020-05-02 17:26:01 +02:00
2021-04-28 13:16:50 +02:00
2022-01-29 10:19:18 +01:00
2021-07-20 16:16:16 +02:00
2021-12-14 10:18:07 +01:00
2020-11-24 13:27:20 +01:00
2021-09-22 11:48:02 +02:00
2020-08-11 15:32:34 +02:00