From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796295606; b=DL4zHcDcx7IbGknVk2ArCgHQHbFZ5+kOt6kr3fqqYWHcVa/Su5LxxF7vkpXghTP/wP7p +GGSW4EzmHepax/FYf/dhVGzjitQ8xesH87snsHLqiwgkVlskJCHICc9HIS2yXSRSLz0B AfEBdTImYhcZfSJ8AwiD54V9t6+yrGKrslS7TYxnCw1ZL2bGoXWEF0qqUlvBHm+XpXKKA NLGL9VVWx+GEGBQg+xidew7z7ixKmW63P+Cb9reBcp85Z0244VusyX2Z+NG4EC8SqwlmH pXkPsHlADJrc8zonyl9gcbklmp5p0vP0v5K9IbUDjPHd2u2RXc8ZtLu1a3yo5VYB8Gg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796295606; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=CqXX0j8k8I0OCqyr2d5PMFNOxGcSVHcqbF42RLIjszw=; b=GVWZ3ptrShe1+oiY14gYIgpdxN5eKTFioFSd+eb6slylaIJNT5ZHr72k/4YRICmhZ3mJ T7YFEF/rSB17c/AHlqvctEQNNbYbI3OsBjFQSrtPLmMFBd0fPVDZ/6S+TZ0uaXMqwBfrL R8aRZsakd4yAdaYQXHFe8zL6NSssDTHNP/ulT7O1qkhNwc09h1AjdzZVP4KkU3Kj2JWr0 gftNpKZZc6iFIXcP2ao9QKQ3A6xe+SWKKnSY1o2zwn4ZjF5tcE2b+u4+rO9JW817ry9Od PGPgSZY10efhONe4cXXsuYKgpOEOYkTs4oycVVSPYbLfB1cYHa1T7E7KvM/xs4nCOkg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=ewDWePpj; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A370D606A32F; Thu, 3 Dec 2026 11:00:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=ewDWePpj Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7CB761F000C1; Thu, 3 Dec 2026 11:00:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796295606; bh=CqXX0j8k8I0OCqyr2d5PMFNOxGcSVHcqbF42RLIjszw=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=ewDWePpjrqV6kwDMBduXHjsQJgg6+9VMQ3WB+ndhj6Gnumb9BKSj4UcrFCAgeWZa2 8NjM2RLq0+lOcrvZ6T8ri/Mw/dlFYW+AiNZ47dtokm3YKAYB6Q5alQEJtQb5KSx8c1 MDepCEX01epgmDcR5U0Gi0MYnLXf95Ti8sCdn09gJ1nyOMa1SFJbqgGgxBg0VXIS9e r/zCOAWXseI/a0vyP4FAUiB9NtWWuN/z2AzXPdiZVkQjeLrrd0jiUD6+RrBlaWXcZN 826Q/JpGhtYqC86kg1crHHWAZttjy51F9bRO+Vf9xHk3Vy9Vyx0tUxf0/3FnRYptTU aNoA4IOW7853Q== Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 7179D3808236; Thu, 3 Dec 2026 11:00:06 +0000 (UTC) Content-Type: text/plain; charset="utf-8" X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH net] net: atl1c: cancel the common_task work in atl1c_remove() From: patchwork-bot+netdevbpf@kernel.org Message-Id: <179629560499.2531119.11523213602234918701.git-patchwork-notify@kernel.org> Date: Thu, 03 Dec 2026 11:00:04 +0000 References: <20261125113141.99792-1-federico@rimpianto.com> In-Reply-To: <20261125113141.99792-1-federico@rimpianto.com> To: Federico Musto Cc: chris.snook@gmail.com, andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Hello: This patch was applied to netdev/net-next.git (main) by Paolo Abeni : On Wed, 25 Nov 2026 12:31:41 +0100 you wrote: > atl1c_remove() frees everything the common_task work item needs - the > register window, the netdev and with it the adapter - without ever > cancelling the work. A link-change interrupt can queue it right up > until unregister_netdev() runs atl1c_close(), and even the > cancel_work_sync() there is not the last word: it runs before > atl1c_down() frees the IRQ, so an interrupt in between queues the work > again. Nothing then prevents the queued work from running after > iounmap() and free_netdev(): atl1c_common_task() dereferences the freed > netdev and reaches the unmapped register window through the link > handler and atl1c_irq_enable(). > > [...] Here is the summary with links: - [net] net: atl1c: cancel the common_task work in atl1c_remove() https://git.kernel.org/netdev/net-next/c/3b4d7f44a61b You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html