[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<171090422871.19504.16129773459568231603.git-patchwork-notify@kernel.org>
Date: Wed, 20 Mar 2024 03:10:28 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Thinh Tran <thinhtr@...ux.ibm.com>
Cc: jacob.e.keller@...el.com, kuba@...nel.org, netdev@...r.kernel.org,
VENKATA.SAI.DUGGI@....com, abdhalee@...ibm.com, aelior@...vell.com,
davem@...emloft.net, drc@...ux.vnet.ibm.com, edumazet@...gle.com,
manishc@...vell.com, pabeni@...hat.com, simon.horman@...igine.com,
skalluru@...vell.com
Subject: Re: [PATCH v11] net/bnx2x: Prevent access to a freed page in page_pool
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Fri, 15 Mar 2024 15:55:35 -0500 you wrote:
> Fix race condition leading to system crash during EEH error handling
>
> During EEH error recovery, the bnx2x driver's transmit timeout logic
> could cause a race condition when handling reset tasks. The
> bnx2x_tx_timeout() schedules reset tasks via bnx2x_sp_rtnl_task(),
> which ultimately leads to bnx2x_nic_unload(). In bnx2x_nic_unload()
> SGEs are freed using bnx2x_free_rx_sge_range(). However, this could
> overlap with the EEH driver's attempt to reset the device using
> bnx2x_io_slot_reset(), which also tries to free SGEs. This race
> condition can result in system crashes due to accessing freed memory
> locations in bnx2x_free_rx_sge()
>
> [...]
Here is the summary with links:
- [v11] net/bnx2x: Prevent access to a freed page in page_pool
https://git.kernel.org/netdev/net/c/d27e2da94a42
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists