Skip to content

Fixes for syzbot problem

[email protected] linux-rdma 1 version Applied

Status from this message: Thanks, applied to -next with applied suggestion from Bob.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 8 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3RDMA/rxe: Fix "kernel NULL pointer dereference" errordrivers/infiniband/sw/rxe/rxe_qp.c+3 -12 replies
2/3RDMA/rxe: Fix the error caused by qp->skdrivers/infiniband/sw/rxe/rxe_qp.c+4 -22 replies
3/3RDMA/rxe: Remove the unused variable objdrivers/infiniband/sw/rxe/rxe_qp.c drivers/infiniband/sw/rxe/rxe_task.c drivers/infiniband/sw/rxe/rxe_task.h+5 -72 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchBob PearsonLi Zhijian
1/3R-b R-b
2/3R-b R-b
3/3R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] Fixes for syzbot problem

From: Zhu Yanjun <[email protected]>

In the link:

https://syzkaller.appspot.com/bug?id=3efca8275142fbfdde6cf77e1b18b1d5c6794d76

a rxe problem occurred. I tried to reproduce this problem in local hosts. Finally I could reproduce this problem in local hosts.
The commit ("RDMA/rxe: Fix "kernel NULL pointer dereference" error") tries to fix this problem.

After this syzbot problem disappeared, another problem appeared when qp->sk failed to initialized.
The commit ("RDMA/rxe: Fix the error caused by qp->sk") tries to solve this problem.

When I delved into the source code to solve the above problems, I found that the member variable obj in struct rxe_task is not needed. So the commit ("RDMA/rxe: Remove the unused variable obj") removes this variable obj.

After the 3 commits, in locat hosts, the whole system can work well.

Zhu Yanjun (3):
RDMA/rxe: Fix "kernel NULL pointer dereference" error RDMA/rxe: Fix the error caused by qp->sk RDMA/rxe: Remove the unused variable obj

 drivers/infiniband/sw/rxe/rxe_qp.c   | 16 ++++++++++------
 drivers/infiniband/sw/rxe/rxe_task.c |  3 +--
 drivers/infiniband/sw/rxe/rxe_task.h |  3 +--
 3 files changed, 12 insertions(+), 10 deletions(-)
Signature · 1 line
2.31.1