From: patchwork-bot+netdevbpf@kernel.org
To: Sidraya Jayagond <sidraya@linux.ibm.com>
Cc: davem@davemloft.net, edumazet@google.com, kuba@kernel.org,
pabeni@redhat.com, alibuda@linux.alibaba.com,
dust.li@linux.alibaba.com, horms@kernel.org,
mjambigi@linux.ibm.com, tonylu@linux.alibaba.com,
guwen@linux.alibaba.com, hidayath@linux.ibm.com,
pasic@linux.ibm.com, netdev@vger.kernel.org,
linux-s390@vger.kernel.org
Subject: Re: [PATCH net] net/smc: fix UAF on lgr list traversal in smcr_port_err()
Date: Thu, 24 Sep 2026 17:30:15 +0000 [thread overview]
Message-ID: <179027101539.1669750.15408132491451759751.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20260922073149.474762-1-sidraya@linux.ibm.com>
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Tue, 22 Sep 2026 09:31:49 +0200 you wrote:
> smcr_port_err() traverses smc_lgr_list.list without holding
> smc_lgr_list.lock, allowing a concurrent smc_lgr_terminate_sched()
> to free an lgr while it is still being dereferenced.
>
> Hold smc_lgr_list.lock across the traversal. Update
> smc_ib_gid_check() to call smcr_port_err() after releasing the lock.
>
> [...]
Here is the summary with links:
- [net] net/smc: fix UAF on lgr list traversal in smcr_port_err()
https://git.kernel.org/netdev/net/c/61cb282fe97b
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
prev parent reply other threads:[~2026-09-24 17:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-22 7:31 [PATCH net] net/smc: fix UAF on lgr list traversal in smcr_port_err() Sidraya Jayagond
2026-09-22 7:41 ` sashiko-bot
2026-09-22 16:06 ` Dust Li
2026-09-24 17:30 ` patchwork-bot+netdevbpf [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=179027101539.1669750.15408132491451759751.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel.org \
--cc=alibuda@linux.alibaba.com \
--cc=davem@davemloft.net \
--cc=dust.li@linux.alibaba.com \
--cc=edumazet@google.com \
--cc=guwen@linux.alibaba.com \
--cc=hidayath@linux.ibm.com \
--cc=horms@kernel.org \
--cc=kuba@kernel.org \
--cc=linux-s390@vger.kernel.org \
--cc=mjambigi@linux.ibm.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=pasic@linux.ibm.com \
--cc=sidraya@linux.ibm.com \
--cc=tonylu@linux.alibaba.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