Thread (2 messages) 2 messages, 2 authors, 2024-06-29

Re: [PATCH v3 net] bnx2x: Fix multiple UBSAN array-index-out-of-bounds

From: patchwork-bot+netdevbpf@kernel.org
Date: 2024-06-29 01:30:28
Also in: stable

Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski [off-list ref]:

On Thu, 27 Jun 2024 14:14:05 +0300 you wrote:
Fix UBSAN warnings that occur when using a system with 32 physical
cpu cores or more, or when the user defines a number of Ethernet
queues greater than or equal to FP_SB_MAX_E1x using the num_queues
module parameter.

Currently there is a read/write out of bounds that occurs on the array
"struct stats_query_entry query" present inside the "bnx2x_fw_stats_req"
struct in "drivers/net/ethernet/broadcom/bnx2x/bnx2x.h".
Looking at the definition of the "struct stats_query_entry query" array:

[...]
Here is the summary with links:
  - [v3,net] bnx2x: Fix multiple UBSAN array-index-out-of-bounds
    https://git.kernel.org/netdev/net/c/134061163ee5

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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help