Re: [PATCH net] net/rose: prevent integer overflows in rose_setsockopt()

patchwork-bot+netdevbpf
2025-01-21T01:10:07Z

Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Wed, 15 Jan 2025 08:42:20 -0800 you wrote:
> In case of possible unpredictably large arguments passed to
> rose_setsockopt() and multiplied by extra values on top of that,
> integer overflows may occur.
>
> Do the safest minimum and fix these issues by checking the
> contents of 'opt' and returning -EINVAL if they are too large. Also,
> switch to unsigned int and remove useless check for negative 'opt'
> in ROSE_IDLE case.
>
> [...]

Here is the summary with links:
- [net] net/rose: prevent integer overflows in rose_setsockopt()
https://git.kernel.org/netdev/net/c/d640627663bf

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.