[PATCH 0/2 v6.6] Fix CVE-2024-57795

Shivani Agarwal posted 2 patches 1 month ago
drivers/infiniband/core/device.c      |  1 +
drivers/infiniband/sw/rxe/rxe.c       | 22 ++++++++++++----------
drivers/infiniband/sw/rxe/rxe.h       |  3 ++-
drivers/infiniband/sw/rxe/rxe_mcast.c | 22 ++++++++++++++++++++--
drivers/infiniband/sw/rxe/rxe_net.c   | 25 ++++++++++++++++++++-----
drivers/infiniband/sw/rxe/rxe_verbs.c | 26 +++++++++++++++++++++-----
drivers/infiniband/sw/rxe/rxe_verbs.h | 11 ++++++++---
include/rdma/ib_verbs.h               |  2 ++
8 files changed, 86 insertions(+), 26 deletions(-)
[PATCH 0/2 v6.6] Fix CVE-2024-57795
Posted by Shivani Agarwal 1 month ago
To fix CVE-2024-57795, commit 8ce2eb9dfac8 is required; however,
it depends on commit 2ac5415022d1. Therefore, both patches have
been backported to v6.6.

Zhu Yanjun (2):
  RDMA/rxe: Remove the direct link to net_device
  RDMA/rxe: Fix the failure of ibv_query_device() and
    ibv_query_device_ex() tests

 drivers/infiniband/core/device.c      |  1 +
 drivers/infiniband/sw/rxe/rxe.c       | 22 ++++++++++++----------
 drivers/infiniband/sw/rxe/rxe.h       |  3 ++-
 drivers/infiniband/sw/rxe/rxe_mcast.c | 22 ++++++++++++++++++++--
 drivers/infiniband/sw/rxe/rxe_net.c   | 25 ++++++++++++++++++++-----
 drivers/infiniband/sw/rxe/rxe_verbs.c | 26 +++++++++++++++++++++-----
 drivers/infiniband/sw/rxe/rxe_verbs.h | 11 ++++++++---
 include/rdma/ib_verbs.h               |  2 ++
 8 files changed, 86 insertions(+), 26 deletions(-)

-- 
2.43.7
Re: [PATCH 0/2 v6.6] Fix CVE-2024-57795
Posted by yanjun.zhu 1 month ago
On 1/8/26 2:05 AM, Shivani Agarwal wrote:
> To fix CVE-2024-57795, commit 8ce2eb9dfac8 is required; however,
> it depends on commit 2ac5415022d1. Therefore, both patches have
> been backported to v6.6.

Thanks a lot. It is my honor to fix this CVE problemm.
I am fine with this patch series.

Zhu Yanjun

> 
> Zhu Yanjun (2):
>    RDMA/rxe: Remove the direct link to net_device
>    RDMA/rxe: Fix the failure of ibv_query_device() and
>      ibv_query_device_ex() tests
> 
>   drivers/infiniband/core/device.c      |  1 +
>   drivers/infiniband/sw/rxe/rxe.c       | 22 ++++++++++++----------
>   drivers/infiniband/sw/rxe/rxe.h       |  3 ++-
>   drivers/infiniband/sw/rxe/rxe_mcast.c | 22 ++++++++++++++++++++--
>   drivers/infiniband/sw/rxe/rxe_net.c   | 25 ++++++++++++++++++++-----
>   drivers/infiniband/sw/rxe/rxe_verbs.c | 26 +++++++++++++++++++++-----
>   drivers/infiniband/sw/rxe/rxe_verbs.h | 11 ++++++++---
>   include/rdma/ib_verbs.h               |  2 ++
>   8 files changed, 86 insertions(+), 26 deletions(-)
>