[PATCH net] net: microchip: vcap: Fix use-after-free error in kunit test

patchwork-bot+netdevbpf at kernel.org patchwork-bot+netdevbpf at kernel.org
Mon Sep 2 02:40:30 PDT 2024


Hello:

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

On Thu, 29 Aug 2024 11:52:54 +0200 you wrote:
> This is a clear use-after-free error. We remove it, and rely on checking
> the return code of vcap_del_rule.
> 
> Reported-by: Dan Carpenter <error27 at gmail.com>
> Closes: https://lore.kernel.org/kernel-janitors/7bffefc6-219a-4f71-baa0-ad4526e5c198@kili.mountain/
> Fixes: c956b9b318d9 ("net: microchip: sparx5: Adding KUNIT tests of key/action values in VCAP API")
> Signed-off-by: Jens Emil Schulz Østergaard <jensemil.schulzostergaard at microchip.com>
> 
> [...]

Here is the summary with links:
  - [net] net: microchip: vcap: Fix use-after-free error in kunit test
    https://git.kernel.org/netdev/net/c/a3c1e45156ad

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





More information about the linux-arm-kernel mailing list