From: Leon Romanovsky <leon@kernel.org>
To: jgg@ziepe.ca, Jeffin Philip <jeffinphilip14@gmail.com>
Cc: kees@kernel.org, pj.waskiewicz@solidfire.com,
larrystevenwise@gmail.com, Tatyana.E.Nikolova@intel.com,
linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org,
syzbot+bd317784d628820741b5@syzkaller.appspotmail.com,
stable@vger.kernel.org
Subject: Re: [PATCH v3] RDMA/core: fix refcount bug in iwpm_get_nlmsg_request()
Date: Sun, 06 Sep 2026 05:14:45 -0400 [thread overview]
Message-ID: <178868608575.3952072.6967897863501813062.b4-ty@kernel.org> (raw)
In-Reply-To: <20260904131437.12917-1-jeffinphilip14@gmail.com>
On Fri, 04 Sep 2026 18:44:37 +0530, Jeffin Philip wrote:
> iwpm_get_nlmsg_request() initializes refcount _after_ list_add_tail()
> making it accessible to global list where another CPU can kref_get()
> on nlmsg_request causing a refcount "addition on 0" bug. Fix this
> by initializing kref _before_ list_add_tail() so refcount for
> nlmsg_request can be incremented/decremented normally. In addition,
> also initialize every field before list_add_tail().
>
> [...]
Applied, thanks!
[1/1] RDMA/core: fix refcount bug in iwpm_get_nlmsg_request()
https://git.kernel.org/rdma/rdma/c/33fb59da49c4c3
Best regards,
--
Leon Romanovsky <leon@kernel.org>
prev parent reply other threads:[~2026-09-06 9:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-04 13:14 Jeffin Philip
2026-09-06 9:14 ` 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=178868608575.3952072.6967897863501813062.b4-ty@kernel.org \
--to=leon@kernel.org \
--cc=Tatyana.E.Nikolova@intel.com \
--cc=jeffinphilip14@gmail.com \
--cc=jgg@ziepe.ca \
--cc=kees@kernel.org \
--cc=larrystevenwise@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=pj.waskiewicz@solidfire.com \
--cc=stable@vger.kernel.org \
--cc=syzbot+bd317784d628820741b5@syzkaller.appspotmail.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
all inboxes | Powered by JetHome®