Re: [PATCH] net: natsemi: ns83820: Fix use-after-free in ns83820_remove_one due to race condition

Jakub Kicinski <[email protected]>
Newsgroups org.kernel.vger.netdev,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
On Tue,  4 Aug 2026 10:38:12 +0800 Pei Xiao wrote:
> free_netdev(ndev)                         |
> // dev is freed                           |

isn't there obviously a window here for the work to run after dev is
freed but before we canceled?

>                                           | queue_refill
>                                           | // use dev (use-after-free)
-- 
pw-bot: cr
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.