Messages in this thread | | | Subject | Re: [PATCH v2] tipc: check for null after calling kmemdup | From | patchwork-bot+netdevbpf@kernel ... | Date | Thu, 18 Nov 2021 04:20:08 +0000 |
| |
Hello:
This patch was applied to netdev/net.git (master) by Jakub Kicinski <kuba@kernel.org>:
On Mon, 15 Nov 2021 08:01:43 -0800 you wrote: > kmemdup can return a null pointer so need to check for it, otherwise > the null key will be dereferenced later in tipc_crypto_key_xmit as > can be seen in the trace [1]. > > Cc: Jon Maloy <jmaloy@redhat.com> > Cc: Ying Xue <ying.xue@windriver.com> > Cc: "David S. Miller" <davem@davemloft.net> > Cc: Jakub Kicinski <kuba@kernel.org> > Cc: netdev@vger.kernel.org > Cc: tipc-discussion@lists.sourceforge.net > Cc: linux-kernel@vger.kernel.org > Cc: stable@vger.kernel.org # 5.15, 5.14, 5.10 > > [...]
Here is the summary with links: - [v2] tipc: check for null after calling kmemdup https://git.kernel.org/netdev/net/c/3e6db079751a
You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
| |