Hello:
This patch was applied to netdev/net.git (main)
by Paolo Abeni [off-list ref]:
On Thu, 30 Apr 2026 19:47:12 -0700 you wrote:
During Function Level Reset recovery, the MANA driver reads
hardware BAR0 registers that may temporarily contain garbage values.
The SHM (Shared Memory) offset read from GDMA_REG_SHM_OFFSET is used
to compute gc->shm_base, which is later dereferenced via readl() in
mana_smc_poll_register(). If the hardware returns an unaligned or
out-of-range value, the driver must not blindly use it, as this would
propagate the hardware error into a kernel crash.
[...]
Here is the summary with links:
- [net,v3] net: mana: Fix crash from unvalidated SHM offset read from BAR0 during FLR
https://git.kernel.org/netdev/net/c/95084f1883a7
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html