Message ID | 20220822011615.805603-1-yanjun.zhu@linux.dev (mailing list archive) |
---|---|
Headers | show |
Series | Fixes for syzbot problem | expand |
在 2022/8/22 9:16, yanjun.zhu@linux.dev 写道: > From: Zhu Yanjun <yanjun.zhu@linux.dev> > > 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): Gently ping Zhu Yanjun > 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(-) >
On Sun, Aug 21, 2022 at 09:16:12PM -0400, yanjun.zhu@linux.dev wrote: > From: Zhu Yanjun <yanjun.zhu@linux.dev> > > 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 Thanks, applied to -next with applied suggestion from Bob.
From: Zhu Yanjun <yanjun.zhu@linux.dev> 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(-)