Thread (2 messages) flat view 2 messages, 2 authors, 2021-11-04

Re: [PATCH net] net: fix possible NULL deref in sock_reserve_memory

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-11-04 11:30:10

Hello:

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

On Wed,  3 Nov 2021 16:49:11 -0700 you wrote:
From: Eric Dumazet <edumazet@google.com>

Sanity check in sock_reserve_memory() was not enough to prevent malicious
user to trigger a NULL deref.

In this case, the isse is that sk_prot->memory_allocated is NULL.

[...]
Here is the summary with links:
  - [net] net: fix possible NULL deref in sock_reserve_memory
    https://git.kernel.org/netdev/net/c/d00c8ee31729

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