Thread (2 messages) 2 messages, 2 authors, 2021-12-29

Re: [PATCH net] ipv6: raw: check passed optlen before reading

flat view

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-12-29 22:20:14

Hello:

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

On Wed, 29 Dec 2021 15:09:47 -0500 you wrote:
From: Tamir Duberstein <redacted>

Add a check that the user-provided option is at least as long as the
number of bytes we intend to read. Before this patch we would blindly
read sizeof(int) bytes even in cases where the user passed
optlen<sizeof(int), which would potentially read garbage or fault.

[...]
Here is the summary with links:
  - [net] ipv6: raw: check passed optlen before reading
    https://git.kernel.org/netdev/net/c/fb7bc9204095

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