Re: [PATCH] usb: atm: cxacru: fix use-after-free in cxacru_poll_status
From: patchwork-bot+netdevbpf
Date: Thu Aug 06 2026 - 11:57:37 EST
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Mon, 3 Aug 2026 18:17:16 +0800 you wrote:
> In cxacru_unbind(), cancel_delayed_work_sync() was conditionally skipped
> when poll_state was CXPOLL_STOPPED. However, a work item previously
> scheduled when poll_state was CXPOLL_POLLING may still be pending in the
> workqueue at the time poll_state transitions to CXPOLL_STOPPED. Skipping
> cancel_delayed_work_sync() in this case allows the work to fire after
> cxacru_data is freed, causing a use-after-free when cxacru_poll_status()
> attempts to acquire instance->poll_state_serialize.
>
> [...]
Here is the summary with links:
- usb: atm: cxacru: fix use-after-free in cxacru_poll_status
https://git.kernel.org/netdev/net-next/c/b5b02ce65777
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html