Re: [PATCH net] net/mlx5: fw_tracer, return NULL on create error
From: patchwork-bot+netdevbpf
Date: Fri Jul 31 2026 - 21:41:25 EST
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Wed, 29 Jul 2026 11:04:02 +0300 you wrote:
> From: Michael Guralnik <michaelgur@xxxxxxxxxx>
>
> Tracer creation can fail by returning either NULL or ERR_PTR.
> The return value is stored without a check on the device, and users
> treat ERR_PTR and NULL the same way.
> This also causes a crash in the core dump logic, which is missing the
> ERR_PTR check and ends up dereferencing it, as shown in the trace below.
>
> [...]
Here is the summary with links:
- [net] net/mlx5: fw_tracer, return NULL on create error
https://git.kernel.org/netdev/net/c/af39eb111ce6
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html