Thread (5 messages) 5 messages, 4 authors, 2025-01-21

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

From: patchwork-bot+netdevbpf@kernel.org
Date: 2025-01-21 01:10:07
Also in: linux-hams, lkml, stable

Hello:

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

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