[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<175288441299.2833543.14707347919961717043.git-patchwork-notify@kernel.org>
Date: Sat, 19 Jul 2025 00:20:12 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Ma Ke <make24@...as.ac.cn>
Cc: ioana.ciornei@....com, davem@...emloft.net, andrew+netdev@...n.ch,
edumazet@...gle.com, kuba@...nel.org, pabeni@...hat.com, horms@...nel.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
akpm@...ux-foundation.org, stable@...r.kernel.org
Subject: Re: [PATCH net v2 1/3] bus: fsl-mc: Fix potential double device
reference
in fsl_mc_get_endpoint()
Hello:
This series was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Thu, 17 Jul 2025 10:23:07 +0800 you wrote:
> The fsl_mc_get_endpoint() function may call fsl_mc_device_lookup()
> twice, which would increment the device's reference count twice if
> both lookups find a device. This could lead to a reference count leak.
>
> Found by code review.
>
> Cc: stable@...r.kernel.org
> Fixes: 1ac210d128ef ("bus: fsl-mc: add the fsl_mc_get_endpoint function")
> Signed-off-by: Ma Ke <make24@...as.ac.cn>
>
> [...]
Here is the summary with links:
- [net,v2,1/3] bus: fsl-mc: Fix potential double device reference in fsl_mc_get_endpoint()
https://git.kernel.org/netdev/net/c/bddbe13d36a0
- [net,v2,2/3] dpaa2-eth: Fix device reference count leak in MAC endpoint handling
https://git.kernel.org/netdev/net/c/ee9f3a81ab08
- [net,v2,3/3] dpaa2-switch: Fix device reference count leak in MAC endpoint handling
https://git.kernel.org/netdev/net/c/96e056ffba91
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