From: Leon Romanovsky <leon@kernel.org>
To: jgg@ziepe.ca, Prathamesh Deshpande <prathameshdeshpande7@gmail.com>
Cc: yishaih@nvidia.com, linux-rdma@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] RDMA/mlx5: Fix devx subscribe-event unwind NULL dereference
Date: Mon, 11 May 2026 08:15:37 -0400 [thread overview]
Message-ID: <177850173719.2267433.1929653240735491428.b4-ty@kernel.org> (raw)
In-Reply-To: <20260428224319.37682-1-prathameshdeshpande7@gmail.com>
On Tue, 28 Apr 2026 23:42:49 +0100, Prathamesh Deshpande wrote:
> MLX5_IB_METHOD_DEVX_SUBSCRIBE_EVENT() links event_sub into sub_list
> before initializing the fields used by the shared error path.
>
> If eventfd_ctx_fdget() then fails, the unwind path dereferences
> event_sub->ev_file in uverbs_uobject_put() and calls
> subscribe_event_xa_dealloc() with an unset xa_key_level1.
>
> [...]
Applied, thanks!
[1/1] RDMA/mlx5: Fix devx subscribe-event unwind NULL dereference
https://git.kernel.org/rdma/rdma/c/59d29eb26889b5
Best regards,
--
Leon Romanovsky <leon@kernel.org>
prev parent reply other threads:[~2026-05-11 12:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-28 22:42 [PATCH v2] RDMA/mlx5: Fix devx subscribe-event unwind NULL dereference Prathamesh Deshpande
2026-04-29 10:51 ` Yishai Hadas
2026-05-11 12:15 ` 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=177850173719.2267433.1929653240735491428.b4-ty@kernel.org \
--to=leon@kernel.org \
--cc=jgg@ziepe.ca \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=prathameshdeshpande7@gmail.com \
--cc=yishaih@nvidia.com \
/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