[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <162395760365.22568.16521741419925994690.git-patchwork-notify@kernel.org>
Date: Thu, 17 Jun 2021 19:20:03 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Kees Cook <keescook@...omium.org>
Cc: alobakin@...me, aelior@...vell.com, davem@...emloft.net,
kuba@...nel.org, linux-kernel@...r.kernel.org,
GR-everest-linux-l2@...vell.com, netdev@...r.kernel.org,
linux-hardening@...r.kernel.org
Subject: Re: [PATCH] net: qed: Fix memcpy() overflow of qed_dcbx_params()
Hello:
This patch was applied to netdev/net.git (refs/heads/master):
On Thu, 17 Jun 2021 10:09:53 -0700 you wrote:
> The source (&dcbx_info->operational.params) and dest
> (&p_hwfn->p_dcbx_info->set.config.params) are both struct qed_dcbx_params
> (560 bytes), not struct qed_dcbx_admin_params (564 bytes), which is used
> as the memcpy() size.
>
> However it seems that struct qed_dcbx_operational_params
> (dcbx_info->operational)'s layout matches struct qed_dcbx_admin_params
> (p_hwfn->p_dcbx_info->set.config)'s 4 byte difference (3 padding, 1 byte
> for "valid").
>
> [...]
Here is the summary with links:
- net: qed: Fix memcpy() overflow of qed_dcbx_params()
https://git.kernel.org/netdev/net/c/1c200f832e14
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