[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <165002041195.31119.1787204270589616559.git-patchwork-notify@kernel.org>
Date: Fri, 15 Apr 2022 11:00:11 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Paolo Valerio <pvalerio@...hat.com>
Cc: netdev@...r.kernel.org, dev@...nvswitch.org, pshelar@....org,
davem@...emloft.net, kuba@...nel.org, pabeni@...hat.com,
stable@...r.kernel.org
Subject: Re: [PATCH] openvswitch: fix OOB access in reserve_sfa_size()
Hello:
This patch was applied to netdev/net.git (master)
by David S. Miller <davem@...emloft.net>:
On Fri, 15 Apr 2022 10:08:41 +0200 you wrote:
> Given a sufficiently large number of actions, while copying and
> reserving memory for a new action of a new flow, if next_offset is
> greater than MAX_ACTIONS_BUFSIZE, the function reserve_sfa_size() does
> not return -EMSGSIZE as expected, but it allocates MAX_ACTIONS_BUFSIZE
> bytes increasing actions_len by req_size. This can then lead to an OOB
> write access, especially when further actions need to be copied.
>
> [...]
Here is the summary with links:
- openvswitch: fix OOB access in reserve_sfa_size()
https://git.kernel.org/netdev/net/c/cefa91b2332d
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