Article View: linux.kernel.netdev
Article #4228Re: [PATCH net v3 0/2] netconsole: fix target enable race and configfs read locking
From: Jakub Kicinski
Date: Sat, 17 Oct 2026 01:51
Date: Sat, 17 Oct 2026 01:51
14 lines
6135 bytes
6135 bytes
On Mon, 12 Oct 2026 17:41:56 +0100 Gustavo Luiz Duarte wrote: > While looking into the sashiko report about local_ip_show() and > remote_ip_show() missing proper locking [1], I noticed a couple other > places that need locking: patch 1/2 fixes a null-ptr-deref when enabling > a target races against a NETDEV_UNREGISTER event, and patch 2/2 fixes a > use-after-free when the local_mac_show() callback races against a > NETDEV_UNREGISTER event. Clashiko reports one more pre-existing race, we should probably address in the same series: https://netdev-ai.bots.linux.dev/sashiko/#/patchset/20261012-netcons-fixes-v3-1-1aac85ed7665@gmail.com -- pw-bot: cr
Technical Details
Message-ID:
<20261016185102.19cf818b@kernel.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-347635-linux-kernel-netdev=dewy.ruReferences:
<20261012-netcons-fixes-v3-0-1aac85ed7665@gmail.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-347635-linux-kernel-netdev=dewy.ru From: kuba@kernel.org (Jakub Kicinski) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net v3 0/2] netconsole: fix target enable race and configfs read locking Date: Fri, 16 Oct 2026 18:51:02 -0700 Organization: Usenet Network Message-ID: <20261016185102.19cf818b@kernel.org> References: <20261012-netcons-fixes-v3-0-1aac85ed7665@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Injection-Info: usenet.network; logging-data="2939596"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:7n9mvPVwqZRcemHFouNrZls84RE= sha256:cCjw3qy6HJ17EY+BbF3kUUExGENSoem0oSsX+PWdGF0= sha1:0oHadTe8Z9bz5kKC6+gtzsldNd4= sha256:UgnKG+IRXNG7sEnTE9V+IQvLcvuiEdPbkp9G4Ji2QO4= 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 1F260110655; Sat, 17 Oct 2026 04:51:20 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.639 X-Spam-Status: No, score=-3.639 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.24, 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, URIBL_BLOCKED=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 P1IYAmbfL1aZ; Sat, 17 Oct 2026 04:51:17 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-347635-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 0C9AB110665; Sat, 17 Oct 2026 04:51:08 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by tor.lore.kernel.org (Postfix) with ESMTP id 2C9693264F; Sat, 17 Oct 2026 01:51:06 +0000 (UTC) X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 75FA02FB084; Sat, 17 Oct 2026 01:51:05 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="G4jFWflo" X-Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8121C214812; Sat, 17 Oct 2026 01:51:03 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792201865; cv=none; b=pGOcawyRboq+XMLYpOsCSA7TKYLPGaPOiCZ4LV2Ig+ZjKI/1NCpvWpC4I5NZJTH03N7TQe7kq/6ed9yZr3LE3anZ9PQFO3ivyeOrt1BNtg1roXFJt8PfOt+EhEL1hKkl4EVFuss+U70LWJX7EkSJUiTzMD1H5nWLFu4bvedYf/s= X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792201865; c=relaxed/simple; bh=dA6gTKuQ1/wWxJRqQGnVHDEfV/8nqLYMWS0U1Q4iOYk=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=GZDXgkmft3TQ+fDW2reiop8mg69hw29Q+7d2/aeZasduOIkx40Qv+DeeC9ksTwuNHKs22hCpBfttyw9Tudbl4HRmSsujLbfuIkWm1r1+lzqF4LvmTi8rrIUL3iTg2HfdkwFRI5hmcYPM5aTiXIytdTsOOoZAY5D6fqkNwyZw6mc= X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=G4jFWflo; arc=none smtp.client-ip=100.103.45.18 X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 843FA1F000C4; Sat, 17 Oct 2026 01:51:03 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1792201863; bh=WWRBQABFKcDmc/eAAwLApN+mQtNvSIkoJcO5mcLL00A=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=G4jFWflobVKog83/jaE64oRhH0rxNhLp8rI5kvCMzQxJ7TiQj9quu8Cw4dVAQE/x8 PF/afENbk61twbKvqdwWTM/i4xhUf26m5j7K2yFK69vbIwKetO0esHOPE2r5t9YzBx hmIfB7wsdnv6FspUW3E9NRsx0Kmur+Xu50CN/44a5nI1b7tCQrJbPn1qgCoy7e29m/ ORHnEUSho7O8+2OeN7DkkbD/czrA4ruTUVMlm1CnKcADuzGzY42Hgo+Heu+6TZo4lx iXG2fgjIPHvr5SC6Mk9U5WF0ECc3cpCqNfK0sN7P2LFBRF5LCc6nHZ/iD0JFfjp7DI KsMXm4KSc05mA== X-Cc: Breno Leitao <leitao@debian.org>, Andrew Lunn <andrew+netdev@lunn.ch>, "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@kernel.org>, Paolo Abeni <pabeni@redhat.com>, Stephen Hemminger <stephen@networkplumber.org>, netdev@vger.kernel.org, linux-kernel@vger.kernel.org X-In-Reply-To: <20261012-netcons-fixes-v3-0-1aac85ed7665@gmail.com> X-Precedence: bulk X-Mailing-List: netdev@vger.kernel.org X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>