[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <170206142405.6428.2927511697282770717.git-patchwork-notify@kernel.org>
Date: Fri, 08 Dec 2023 18:50:24 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Florent Revest <revest@...omium.org>
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
jiri@...nulli.us, davem@...emloft.net, edumazet@...gle.com,
kuba@...nel.org, pabeni@...hat.com
Subject: Re: [PATCH] team: Fix use-after-free when an option instance allocation
fails
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Wed, 6 Dec 2023 13:37:18 +0100 you wrote:
> In __team_options_register, team_options are allocated and appended to
> the team's option_list.
> If one option instance allocation fails, the "inst_rollback" cleanup
> path frees the previously allocated options but doesn't remove them from
> the team's option_list.
> This leaves dangling pointers that can be dereferenced later by other
> parts of the team driver that iterate over options.
>
> [...]
Here is the summary with links:
- team: Fix use-after-free when an option instance allocation fails
https://git.kernel.org/netdev/net/c/c12296bbecc4
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