Re: 0001-RDMA-uverbs-method-elm-fix
Jason Gunthorpe <[email protected]>
| Newsgroups | org.kernel.vger.linux-rdma |
|---|---|
| Message-ID | <[email protected]> |
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