Re: [PATCH net] net/smc: fix qentry overwrite for CONFIRM_LINK and ADD_LINK_CONT in smc_llc_event_handler()
[email protected] Fri, 31 Jul 2026 23:40:06 +0000
| Newsgroups | org.kernel.vger.linux-s390,org.kernel.vger.netdev |
|---|---|
| Message-ID | <178554120689.949682.10784934094137290193.git-patchwork-notify@kernel.org> |
Hello: This patch was applied to netdev/net.git (main) by Jakub Kicinski <[email protected]>: On Wed, 29 Jul 2026 15:01:53 +0200 you wrote: > The SMC_LLC_CONFIRM_LINK / SMC_LLC_ADD_LINK_CONT branch in > smc_llc_event_handler() stores an incoming qentry into the local LLC flow > without first checking whether a qentry is already pending. If a malicious or > buggy peer sends a second CONFIRM_LINK or ADD_LINK_CONT request while a flow is > active and flow->qentry is already set, smc_llc_flow_qentry_set() overwrites the > pointer without freeing the previous allocation, leaking one kmalloc-96 object > per spurious message. > > [...] Here is the summary with links: - [net] net/smc: fix qentry overwrite for CONFIRM_LINK and ADD_LINK_CONT in smc_llc_event_handler() https://git.kernel.org/netdev/net/c/976245094925 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html