[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<170980982927.5477.544521045314815654.git-patchwork-notify@kernel.org>
Date: Thu, 07 Mar 2024 11:10:29 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Yongzhi Liu <hyperlyzcs@...il.com>
Cc: pabeni@...hat.com, shannon.nelson@....com, brett.creeley@....com,
davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org, jitxie@...cent.com,
huntazhang@...cent.com
Subject: Re: [PATCH net V3] net: pds_core: Fix possible double free in error
handling path
Hello:
This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@...hat.com>:
On Wed, 6 Mar 2024 18:57:14 +0800 you wrote:
> When auxiliary_device_add() returns error and then calls
> auxiliary_device_uninit(), Callback function pdsc_auxbus_dev_release
> calls kfree(padev) to free memory. We shouldn't call kfree(padev)
> again in the error handling path.
>
> Fix this by cleaning up the redundant kfree() and putting
> the error handling back to where the errors happened.
>
> [...]
Here is the summary with links:
- [net,V3] net: pds_core: Fix possible double free in error handling path
https://git.kernel.org/netdev/net/c/ba18deddd6d5
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