From: Daniel Wade <danjwade95@gmail.com>
To: Jason Gunthorpe <jgg@ziepe.ca>, Leon Romanovsky <leon@kernel.org>
Cc: Jeffin Philip <jeffinphilip14@gmail.com>,
Shuangpeng Bai <shuangpeng.kernel@gmail.com>,
linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH v2 0/3] RDMA/iwpm: fix the port-mapper request lifetime
Date: Sun, 6 Dec 2026 17:27:20 +1030 [thread overview]
Message-ID: <20261206065723.147-1-danjwade95@gmail.com> (raw)
Patch 1 gives the request a single owner. Patch 2 records which reply
each request expects. Patch 3 uses that to keep the data inside the
request, so no stack address reaches a netlink callback. Patch 3 needs
the field patch 2 adds.
Only patch 1 is tagged for stable.
v1: https://lore.kernel.org/all/20261205144111.8366-1-danjwade95@gmail.com/
v2: document @nl_op, which kernel-doc warns about at W=1;
new patch 3, which removes the stack pointer raised against
v1 1/2.
Daniel Wade (3):
RDMA/iwpm: fix use-after-free of the netlink request object
RDMA/iwpm: reject a port-mapper reply meant for another request type
RDMA/iwpm: keep the port-mapper request data inside the request
drivers/infiniband/core/iwpm_msg.c | 65 ++++++++++++++++++++---------
drivers/infiniband/core/iwpm_util.c | 10 ++---
drivers/infiniband/core/iwpm_util.h | 14 +++++--
3 files changed, 62 insertions(+), 27 deletions(-)
next reply other threads:[~2026-12-06 6:57 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-06 6:57 Daniel Wade [this message]
2026-12-06 6:57 ` [PATCH v2 1/3] RDMA/iwpm: fix use-after-free of the netlink request object Daniel Wade
2026-12-06 6:57 ` [PATCH v2 2/3] RDMA/iwpm: reject a port-mapper reply meant for another request type Daniel Wade
2026-12-06 6:57 ` [PATCH v2 3/3] RDMA/iwpm: keep the port-mapper request data inside the request Daniel Wade
2026-12-06 7:10 ` sashiko-bot
2026-12-06 7:41 ` Daniel Wade
2026-12-06 7:12 ` [PATCH v2 0/3] RDMA/iwpm: fix the port-mapper request lifetime sashiko-bot
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=20261206065723.147-1-danjwade95@gmail.com \
--to=danjwade95@gmail.com \
--cc=jeffinphilip14@gmail.com \
--cc=jgg@ziepe.ca \
--cc=leon@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=shuangpeng.kernel@gmail.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