Thread (4 messages) flat view 4 messages, 4 authors, 2021-11-18

Re: [PATCH v2] tipc: check for null after calling kmemdup

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-11-18 04:20:11
Also in: lkml, stable

Hello:

This patch was applied to netdev/net.git (master)
by Jakub Kicinski [off-list ref]:

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 <redacted>
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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help