[lvc-project] [PATCH net v3] net/mlx4: Check retval of mlx4_bitmap_init

patchwork-bot+netdevbpf at kernel.org patchwork-bot+netdevbpf at kernel.org
Sat Nov 19 06:50:18 MSK 2022


Hello:

This patch was applied to netdev/net.git (master)
by Jakub Kicinski <kuba at kernel.org>:

On Thu, 17 Nov 2022 18:28:06 +0300 you wrote:
> If mlx4_bitmap_init fails, mlx4_bitmap_alloc_range will dereference
> the NULL pointer (bitmap->table).
> 
> Make sure, that mlx4_bitmap_alloc_range called in no error case.
> 
> Found by Linux Verification Center (linuxtesting.org) with SVACE.
> 
> [...]

Here is the summary with links:
  - [net,v3] net/mlx4: Check retval of mlx4_bitmap_init
    https://git.kernel.org/netdev/net/c/594c61ffc77d

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





More information about the lvc-project mailing list