🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #14825

Re: [PATCH net] net: enc28j60: cancel deferred works on remove to avoid use-after-free

#14825
From: patchwork-bot+netdevbpf
Date: Thu, 12 Nov 2026 01:30
24 lines
8623 bytes
Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Sat,  7 Nov 2026 23:06:49 +0900 you wrote:
> From: Hyunjung Ko <hj351016@gmail.com>
> 
> enc28j60 defers work to three work_structs that dereference the driver
> private data via container_of(): tx_work (queued from ndo_start_xmit),
> setrx_work (from ndo_set_rx_mode) and restart_work (from ndo_tx_timeout).
> They run on the system workqueue and are never cancelled.
> 
> [...]

Here is the summary with links:
  - [net] net: enc28j60: cancel deferred works on remove to avoid use-after-free
    https://git.kernel.org/netdev/net-next/c/bafe532bae92

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179444701517.1753823.12338640917223292373.git-patchwork-notify@kernel.org>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!nntp.comgw.net!eternal-september.org!feeder.eternal-september.org!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-361425-linux-kernel-netdev=dewy.ru
References: <20261107140649.3702472-1-hj351016@gmail.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!nntp.comgw.net!eternal-september.org!feeder.eternal-september.org!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-361425-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net] net: enc28j60: cancel deferred works on remove to
 avoid
 use-after-free
Date: Thu, 12 Nov 2026 01:30:15 +0000
Organization: Usenet Network
Message-ID: <179444701517.1753823.12338640917223292373.git-patchwork-notify@kernel.org>
References: <20261107140649.3702472-1-hj351016@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="984932"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:UGzhI5wbCPPiLsHa/PGHtPuzi8s= sha256:MButN0e9lhCALb766Qubdbe8Gzz84lmHpmN1iBHC1SM=
	sha1:SnM22B5mvkcfj5a/OKm9gpyhdbk= sha256:dMihRHclWM9VYRGkwJmhbbe+jKFR4mLlIe4vAQxa95E=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id 17C961140B8; Thu, 12 Nov 2026 04:52:13 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.401
X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1,
	DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=kernel.org
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id hWHMPgs7SOME;
	Thu, 12 Nov 2026 04:52:09 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-361425-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org
X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
	by mail.dewy.ru (Postfix) with ESMTPS id 69DB61140B4; Thu, 12 Nov 2026 04:52:01 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by tor.lore.kernel.org (Postfix) with ESMTP id 661D086F18; Thu, 12 Nov 2026 01:35:35 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=fail;
	t=1794447018;
	b=LL4hyJJBB0i27GC3516B5rsBeCnXZL05iZxDVQWun7RRgU3ubT7feCUP0wRrmXqL9zee
	 cyP0LLInXlQUG4Jw7rH1YTCR3bkb1UXArb33Jqk+sPOUfW8mYa9k+n6mIjhnCciChFbdg
	 vj9TU9TANVTlbz5iffnUAeJolj810i6gCsi2M5q8gf/1NDSoGKJIO5Kf3AvbsKTQOxJRK
	 CHGXm54UtGC3e0yCtdhcMbf2sZluXjTs9TO4Ob+OFtXGwy0B3tmTB7NS5w69siO+pAG5f
	 UkxKNk83h9rOj4xVSIUvDOnjibPvk94JZ+ApEXdbkA+QDJwYFPJWPW2HUsANj16wYyQ==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794447018;
	h=X-Original-To:Received:Received:DKIM-Signature:Received:Content-Type:
	 X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
	 List-Unsubscribe:List-Owner:Precedence:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=d1ryBN7m25xIxhEAVtHnwEmc3pQTp6vGAygh4SVWUJw=;
	b=dN80Sx/VeEHZBYrYTpG1fBfZ8B/tP1qBMFt95B2KbltB0Q3O5eZUxYBcx8UJtrjv3gfY
	 8ZPCl2FSISjqIYQ5K5WVvBCneCBxY5NL0zgPJGLUoj2vkloZPEb7gujVECbOyEg1LshX2
	 OdCUbBaMCbKSdX9Sow66WeY287caBio2L+noqAzTIBKevw8Qcpe43/O29PBVpA4YBP8Ai
	 3zIx3XS7NQhCs+Dn1xil/NvT/dpszf5Hx/SB9Eer3tTx+cGW2MQI3HKaSa4nmfijWJjQc
	 wx72rdpqmPaIzIxLAprBLpM5xbLlvH4M9Ey2QbyoTk3akj30BiFXhxF/l62DtB2ueQQ==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=apfpXwSd;
	arc=fail smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 0EF6D60A381D;
	Thu, 12 Nov 2026 01:30:18 +0000 (UTC)
X-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=apfpXwSd
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1794447017;
	b=XWQUwiIGhwD8IJ6J65Nbf0rO3tqwwoT6c+IUdjcvNTsEi7q9lPl2Ut7vP+kNWDPjIv89
	 9nKckwRnS0GocesnyLzwcvZ4MydWUa1/spcs682c5hHoWs5hPQmR6ysH8FBthpYt34vIv
	 Ftbx5QqR1bARcrKlpLlyJfnYBA4V/xhd94NSELQZ6XB7OAxTIxAqHEaV8gi6IgrDZIhni
	 j4ItqV/wwuzxK2fLLfXXIyquVAcTTQ98gr78Y9cpzfE/t5r+XmV6MlkYzdaP3B8YgTfkR
	 w/MDo9MfR/uuV97MC1Q4jmIaJf1X5grJRdpdRCz9sM2dXVq1Ptcgcgpza5qjf1YG4Xw==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794447017;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=d1ryBN7m25xIxhEAVtHnwEmc3pQTp6vGAygh4SVWUJw=;
	b=o/Uq7sHQkIDYziBYhXsdR0+pD9qypHGc2dbt2X4VIxW6CAeaQc5aPry4CS2XutmsoSEc
	 b29qQPFlfr6/xIxEMCXxumWXamX8OL6cVedCcDXytENFGpV6RSHZE0ENE54AIJaYKuigW
	 Co+EoAeRE7lLIFR/al8PGD63Ib6hDe5ZvU7aen+6lrXMx3+FPSbKPQBwLMC9e/VYCS3mi
	 h4KzuyERdP4mTowzfMrgzWy9RrxzRHhj1v01hdw1wQVg6HoFDVSB3C9s8Kt4uc1VESaNS
	 9erxbGsogfL7VmGuyIPBuXS12Ahh9KPPqsDCBsgiTMjU0YMShPycARM2kp7n4NbcS9w==
X-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=apfpXwSd;
	arc=none smtp.remote-ip=100.103.45.18
X-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 2DF9D6074E66;
	Thu, 12 Nov 2026 01:30:16 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id A6B821F00A05;
	Thu, 12 Nov 2026 01:30:16 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1794447016;
	bh=d1ryBN7m25xIxhEAVtHnwEmc3pQTp6vGAygh4SVWUJw=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=apfpXwSd23atWyrd8dINN+fwFwGUn6W8zDWDPVL/N0b95KjH2YslQv7Wo+e6HGPYn
	 KItlcCGzuW/qf0TikuPdhNWaEHr0tgF22JczmP+eMwdpc8ut9HX9WdE4e8PAH2MTU3
	 5J3k2/SNka8hLhaE/IfBeiy6Pw5XkCN1x6dilMfyo9pdYE/jh1tXsuGyb6HsLCl4Yp
	 19tvFKC2XL/w1dudeoyaWfRIrCisapV8Gcq69pq3xw707Zxl+SBuHr37ymfZFaes7Y
	 mIQdM1dg4DLdPEj9hz23F/Y6IqvMrlurIUFlzMHA90aYFlX4Mfpo9QgGzsIxS0VVZt
	 sxm9bov/P0TfA==
X-Received: from [10.30.226.235] (localhost [IPv6:::1])
	by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 9B26B391AFCF;
	Thu, 12 Nov 2026 01:30:16 +0000 (UTC)
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list
X-In-Reply-To: <20261107140649.3702472-1-hj351016@gmail.com>
X-Cc: 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