From: Leon Romanovsky <leon@kernel.org>
To: Jason Gunthorpe <jgg@ziepe.ca>, Leon Romanovsky <leon@kernel.org>,
Andrey Misiurov <amisiurov@cloudlinux.com>
Cc: linux-rdma@vger.kernel.org, Quanye Yang <quanyeyang@proton.me>,
linux-kernel@vger.kernel.org, stable@vger.kernel.org
Subject: Re: [PATCH v2] RDMA/ucma: reject a second join of the same multicast address
Date: Wed, 25 Nov 2026 06:34:39 -0500 [thread overview]
Message-ID: <179560647902.1205594.17228631928366782502.b4-ty@kernel.org> (raw)
In-Reply-To: <20261120174405.2761262-1-amisiurov@cloudlinux.com>
On Fri, 20 Nov 2026 18:44:05 +0100, Andrey Misiurov wrote:
> ucma_process_join() permits multiple joins of the same address on one
> cm_id. Each join has its own ucma_multicast, but rdma_leave_multicast()
> searches by address and removes the first match. A leave can therefore
> destroy another join's cma_multicast and free the requested ucma_multicast
> while its cma_multicast still refers to it. A later event then accesses
> freed memory.
>
> [...]
Applied, thanks!
[1/1] RDMA/ucma: reject a second join of the same multicast address
https://git.kernel.org/rdma/rdma/c/0888ed60df42e5
Best regards,
--
Leon Romanovsky <leon@kernel.org>
prev parent reply other threads:[~2026-11-25 11:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-20 17:44 Andrey Misiurov
2026-11-25 11:34 ` Leon Romanovsky [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179560647902.1205594.17228631928366782502.b4-ty@kernel.org \
--to=leon@kernel.org \
--cc=amisiurov@cloudlinux.com \
--cc=jgg@ziepe.ca \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=quanyeyang@proton.me \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®