Re: [PATCH v2] qed/qed_sriov: guard against NULL derefs from qed_iov_get_vf_info

From: patchwork-bot+netdevbpf
Date: Sun Mar 19 2023 - 04:50:26 EST


Hello:

This patch was applied to netdev/net.git (main)
by David S. Miller <davem@xxxxxxxxxxxxx>:

On Thu, 16 Mar 2023 13:29:21 +0300 you wrote:
> We have to make sure that the info returned by the helper is valid
> before using it.
>
> Found by Linux Verification Center (linuxtesting.org) with the SVACE
> static analysis tool.
>
> Fixes: f990c82c385b ("qed*: Add support for ndo_set_vf_trust")
> Fixes: 733def6a04bf ("qed*: IOV link control")
> Signed-off-by: Daniil Tatianin <d-tatianin@xxxxxxxxxxxxxx>
>
> [...]

Here is the summary with links:
- [v2] qed/qed_sriov: guard against NULL derefs from qed_iov_get_vf_info
https://git.kernel.org/netdev/net/c/25143b6a01d0

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html