diff options
| author | Chuck Lever <[email protected]> | 2023-03-17 21:09:20 +0000 |
|---|---|---|
| committer | Chuck Lever <[email protected]> | 2023-04-26 13:05:01 +0000 |
| commit | 0f5162480bd25bd97b91c9153db7afbd89698804 (patch) | |
| tree | a273f9e1648e80256d5e4b9321f624d0a9424cd4 /tools/perf/scripts/python/netdev-times.py | |
| parent | sunrpc: simplify two-level sysctl registration for svcrdma_parm_table (diff) | |
| download | kernel-0f5162480bd25bd97b91c9153db7afbd89698804.tar.gz kernel-0f5162480bd25bd97b91c9153db7afbd89698804.zip | |
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 <[email protected]>
Signed-off-by: Chuck Lever <[email protected]>
Reviewed-by: Jeff Layton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
