Hello:
This patch was applied to netdev/net.git (main)
by Paolo Abeni [off-list ref]:
On Thu, 18 Dec 2025 05:10:54 -0800 you wrote:
When mana_serv_reset() encounters -ETIMEDOUT or -EPROTO from
mana_gd_resume(), it performs a PCI rescan via mana_serv_rescan().
mana_serv_rescan() calls pci_stop_and_remove_bus_device(), which can
invoke the driver's remove path and free the gdma_context associated
with the device. After returning, mana_serv_reset() currently jumps to
the out label and attempts to clear gc->in_service, dereferencing a
freed gdma_context.
[...]
Here is the summary with links:
- [net,v2] net: mana: Fix use-after-free in reset service rescan path
https://git.kernel.org/netdev/net/c/3387a7ad478b
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html