;
> >, "Jason Gunthorpe" ,
> >linux-r...@vger.kernel.org, linux-kernel@vger.kernel.org
> >Subject: [EXTERNAL] [PATCH] RDMA/siw: Fix missing check in
> >siw_get_hdr
> >
> >We should also check the range of opcode after calling
> >__rdmap_get_opcode() in th
-"Dinghao Liu" wrote: -
>To: dinghao@zju.edu.cn, k...@umn.edu
>From: "Dinghao Liu"
>Date: 02/26/2021 08:56AM
>Cc: "Bernard Metzler" , "Doug Ledford"
>, "Jason Gunthorpe" ,
>linux-r...@vger.kernel.org, linux-kerne
We should also check the range of opcode after calling
__rdmap_get_opcode() in the else branch to prevent potential
overflow.
Fixes: 8b6a361b8c482 ("rdma/siw: receive path")
Signed-off-by: Dinghao Liu
---
drivers/infiniband/sw/siw/siw_qp_rx.c | 10 ++
1 file changed, 10 insertions(+)
3 matches
Mail list logo