Files
linux/include/trace/events
Chuck Lever 0f5162480b NFSD: Watch for rq_pages bounds checking errors in nfsd_splice_actor()
There have been several bugs over the years where the NFSD splice
actor has attempted to write outside the rq_pages array.

This is a "should never happen" condition, but if for some reason
the pipe splice actor should attempt to walk past the end of
rq_pages, it needs to terminate the READ operation to prevent
corruption of the pointer addresses in the fields just beyond the
array.

A server crash is thus prevented. Since the code is not behaving,
the READ operation returns -EIO to the client. None of the READ
payload data can be trusted if the splice actor isn't operating as
expected.

Suggested-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
2023-04-26 09:05:01 -04:00
..
2020-11-30 12:54:01 +00:00
2022-12-07 13:54:09 -08:00
2022-11-21 09:45:49 -06:00
2023-03-29 08:22:52 +01:00
2023-03-29 08:22:52 +01:00
2022-09-21 10:30:42 -06:00
2023-01-13 16:39:18 +01:00
2022-12-08 21:49:12 -05:00
2023-02-02 22:33:13 -08:00
2022-08-03 17:50:58 +02:00
2023-03-22 14:05:24 -07:00
2022-12-10 11:01:12 -05:00
2022-07-30 14:01:30 -04:00
2023-02-20 08:28:49 +00:00