[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<172904223423.1350766.2078753850129678538.git-patchwork-notify@kernel.org>
Date: Wed, 16 Oct 2024 01:30:34 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Elena Salomatkina <esalomatkina@...ras.ru>
Cc: jhs@...atatu.com, xiyou.wangcong@...il.com, jiri@...nulli.us,
davem@...emloft.net, kuba@...nel.org, leandro.maciel.dorileo@...el.com,
vedang.patel@...el.com, netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
lvc-project@...uxtesting.org
Subject: Re: [PATCH net] net/sched: cbs: Fix integer overflow in
cbs_set_port_rate()
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Sun, 13 Oct 2024 15:45:29 +0300 you wrote:
> The subsequent calculation of port_rate = speed * 1000 * BYTES_PER_KBIT,
> where the BYTES_PER_KBIT is of type LL, may cause an overflow.
> At least when speed = SPEED_20000, the expression to the left of port_rate
> will be greater than INT_MAX.
>
> Found by Linux Verification Center (linuxtesting.org) with SVACE.
>
> [...]
Here is the summary with links:
- [net] net/sched: cbs: Fix integer overflow in cbs_set_port_rate()
https://git.kernel.org/netdev/net-next/c/397006ba5d91
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists