Re: [PATCH net] net/mlx5: fw_tracer, return NULL on create error

[email protected] Sat, 01 Aug 2026 01:40:08 +0000
Newsgroups org.kernel.vger.linux-rdma,org.kernel.vger.linux-kernel,org.kernel.vger.netdev
Message-ID <178554840864.979996.15714749578017407397.git-patchwork-notify@kernel.org>
Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <[email protected]>:

On Wed, 29 Jul 2026 11:04:02 +0300 you wrote:
> From: Michael Guralnik <[email protected]>
> 
> 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