[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <165230821208.9762.1319015503253179276.git-patchwork-notify@kernel.org>
Date: Wed, 11 May 2022 22:30:12 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Tony Nguyen <anthony.l.nguyen@...el.com>
Cc: davem@...emloft.net, kuba@...nel.org, pabeni@...hat.com,
edumazet@...gle.com, xiam0nd.tong@...il.com,
netdev@...r.kernel.org, sassmann@...hat.com,
stable@...r.kernel.org, gurucharanx.g@...el.com
Subject: Re: [PATCH net v2 1/1] i40e: i40e_main: fix a missing check on list
iterator
Hello:
This patch was applied to netdev/net.git (master)
by Jakub Kicinski <kuba@...nel.org>:
On Tue, 10 May 2022 13:48:46 -0700 you wrote:
> From: Xiaomeng Tong <xiam0nd.tong@...il.com>
>
> The bug is here:
> ret = i40e_add_macvlan_filter(hw, ch->seid, vdev->dev_addr, &aq_err);
>
> The list iterator 'ch' will point to a bogus position containing
> HEAD if the list is empty or no element is found. This case must
> be checked before any use of the iterator, otherwise it will
> lead to a invalid memory access.
>
> [...]
Here is the summary with links:
- [net,v2,1/1] i40e: i40e_main: fix a missing check on list iterator
https://git.kernel.org/netdev/net/c/3f95a7472d14
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