diff options
| author | Chuck Lever <[email protected]> | 2022-06-01 16:46:52 +0000 |
|---|---|---|
| committer | Chuck Lever <[email protected]> | 2022-06-02 17:05:58 +0000 |
| commit | f012e95b377c73c0283f009823c633104dedb337 (patch) | |
| tree | 00852c3bb9488472f8ac2aca2afb8a9d01399e98 /scripts/clang-tools/gen_compile_commands.py | |
| parent | NFSD: Fix potential use-after-free in nfsd_file_put() (diff) | |
| download | kernel-f012e95b377c73c0283f009823c633104dedb337.tar.gz kernel-f012e95b377c73c0283f009823c633104dedb337.zip | |
SUNRPC: Trap RDMA segment overflows
Prevent svc_rdma_build_writes() from walking off the end of a Write
chunk's segment array. Caught with KASAN.
The test that this fix replaces is invalid, and might have been left
over from an earlier prototype of the PCL work.
Fixes: 7a1cbfa18059 ("svcrdma: Use parsed chunk lists to construct RDMA Writes")
Signed-off-by: Chuck Lever <[email protected]>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions
