Re: [PATCH] RDMA/rxe: validate access flags before swapping the MR's PD
From: Leon Romanovsky
Date: Tue Sep 01 2026 - 06:29:22 EST
On Thu, 27 Aug 2026 19:18:07 +0200, Norbert Szetei wrote:
> rxe_rereg_user_mr() reassigns mr->ibmr.pd first and only then
> validates the IB_MR_REREG_ACCESS argument:
>
> if (flags & IB_MR_REREG_PD) {
> rxe_put(old_pd);
> rxe_get(pd);
> mr->ibmr.pd = ibpd;
> }
>
> [...]
Applied, thanks!
[1/1] RDMA/rxe: validate access flags before swapping the MR's PD
https://git.kernel.org/rdma/rdma/c/ae36a5b609ae79
Best regards,
--
Leon Romanovsky <leon@xxxxxxxxxx>