* Re: [PATCH] RDMA/irdma: Restore original PD on rereg_user_mr failure [not found] <CAAAp7fgvKfLqxsZrvmq2+xtq=_AuGOmKLYijAsMk=bKCJFkSGQ@mail.gmail.com> @ 2026-11-03 12:12 ` Leon Romanovsky 2026-11-03 13:39 ` Jacob Moroni 0 siblings, 1 reply; 3+ messages in thread From: Leon Romanovsky @ 2026-11-03 12:12 UTC (permalink / raw) To: Mohamad Pishdar Cc: security, jgg, linux-rdma, shiraz.saleem, tatyana.e.nikolova On Wed, Oct 28, 2026 at 11:07:01AM +0100, Mohamad Pishdar wrote: > Hi, > > While auditing the memory-region re-registration path in the irdma driver I > found a case where irdma_rereg_user_mr() can leave a struct ib_mr pointing > at a PD that the uverbs core no longer considers it to hold a reference on, > if the reregistration itself fails partway through. I think this is worth a > look before someone hits it in the field, so I'm sending the analysis and a > proposed fix together rather than just the report. Thanks for the bug report. Please submit a patch following the guidance in Documentation/process/submitting-patches.rst. There is no need to CC the security@ mailing list; this is a regular bug. Thanks ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] RDMA/irdma: Restore original PD on rereg_user_mr failure 2026-11-03 12:12 ` [PATCH] RDMA/irdma: Restore original PD on rereg_user_mr failure Leon Romanovsky @ 2026-11-03 13:39 ` Jacob Moroni 2026-11-03 19:42 ` Leon Romanovsky 0 siblings, 1 reply; 3+ messages in thread From: Jacob Moroni @ 2026-11-03 13:39 UTC (permalink / raw) To: Leon Romanovsky Cc: Mohamad Pishdar, security, jgg, linux-rdma, shiraz.saleem, tatyana.e.nikolova Hi, Looks like we discovered the same thing at around the same time. I think this patch which was just merged should fix it: https://lore.kernel.org/linux-rdma/179371200572.1726055.11640512427251640287.b4-ty@kernel.org/T/#m8e7c4a912cb2539b08e2603cf751fcf16d13b291 Thanks, Jake ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] RDMA/irdma: Restore original PD on rereg_user_mr failure 2026-11-03 13:39 ` Jacob Moroni @ 2026-11-03 19:42 ` Leon Romanovsky 0 siblings, 0 replies; 3+ messages in thread From: Leon Romanovsky @ 2026-11-03 19:42 UTC (permalink / raw) To: Jacob Moroni Cc: Mohamad Pishdar, security, Jason Gunthorpe, linux-rdma, shiraz.saleem, Tatyana Nikolova Yes, i just reading and answering in FIFO mode. On Tue, Nov 3, 2026, at 15:39, Jacob Moroni wrote: > Hi, > > Looks like we discovered the same thing at around the same time. > > I think this patch which was just merged should fix it: > > https://lore.kernel.org/linux-rdma/179371200572.1726055.11640512427251640287.b4-ty@kernel.org/T/#m8e7c4a912cb2539b08e2603cf751fcf16d13b291 > > Thanks, > Jake ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-11-03 19:43 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <CAAAp7fgvKfLqxsZrvmq2+xtq=_AuGOmKLYijAsMk=bKCJFkSGQ@mail.gmail.com>
2026-11-03 12:12 ` [PATCH] RDMA/irdma: Restore original PD on rereg_user_mr failure Leon Romanovsky
2026-11-03 13:39 ` Jacob Moroni
2026-11-03 19:42 ` Leon Romanovsky
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox