From: Jason Gunthorpe <jgg@nvidia.com>
To: 潘煜杭 <242270054@hdu.edu.cn>
Cc: linux-rdma@vger.kernel.org, leonro@nvidia.com,
bryan-bt.tan@broadcom.com, vishnu.dasa@broadcom.com, w@1wt.eu
Subject: Re: 0001-RDMA-uverbs-method-elm-fix
Date: Tue, 18 Aug 2026 11:10:32 -0300 [thread overview]
Message-ID: <20260818141032.GD5432@nvidia.com> (raw)
In-Reply-To: <AOYAQgCQK3IXqJLr1TB5Qao9.1.1787036796115.Hmail.242270054@hdu.edu.cn>
On Tue, Aug 18, 2026 at 03:06:36PM +0800, 潘煜杭 wrote:
> Hello,
> This patch fixes a NULL pointer dereference in the legacy RDMA uverbs
> write() path.
> The legacy ib_uverbs_write() path dispatches through a
> uverbs_api_write_method, but the uverbs_attr_bundle passed to provider
> code
> does not have an ioctl method element. When malformed provider input
> causes
> the common uverbs validation code to emit an error message,
> uverbs_get_handler_fn() may dereference the uninitialized
> bundle->method_elm pointer.
I fixed up all the issues with this email and applied the patch.
If you intend to submit more kernel patches please learn the process,
there are files in Documentation/ explaining it
Thanks,
Jason
prev parent reply other threads:[~2026-08-18 14:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-18 7:06 0001-RDMA-uverbs-method-elm-fix 潘煜杭
2026-08-18 14:10 ` Jason Gunthorpe [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=20260818141032.GD5432@nvidia.com \
--to=jgg@nvidia.com \
--cc=242270054@hdu.edu.cn \
--cc=bryan-bt.tan@broadcom.com \
--cc=leonro@nvidia.com \
--cc=linux-rdma@vger.kernel.org \
--cc=vishnu.dasa@broadcom.com \
--cc=w@1wt.eu \
/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