diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2019-06-19 10:32:38 -0400 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2019-07-02 16:29:21 -0400 |
commit | 2d0abe36cf13fb7b577949fd1539326adddcc9bc (patch) | |
tree | 96c99216ecec578b13c1bc2e388d47c0b36576d4 /net/sunrpc/xprtrdma/rpc_rdma.c | |
parent | xprtrdma: Fix a BUG when tracing is enabled with NFSv4.1 on RDMA (diff) | |
download | linux-dev-2d0abe36cf13fb7b577949fd1539326adddcc9bc.tar.xz linux-dev-2d0abe36cf13fb7b577949fd1539326adddcc9bc.zip |
xprtrdma: Fix use-after-free in rpcrdma_post_recvs
Dereference wr->next /before/ the memory backing wr has been
released. This issue was found by code inspection. It is not
expected to be a significant problem because it is in an error
path that is almost never executed.
Fixes: 7c8d9e7c8863 ("xprtrdma: Move Receive posting to ... ")
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions