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=1796207450; b=NCMtwngm6PBJMXwjDdFpswYvmKekdMtj0E/5lB7QyQjVwV7M6DMuIKLGKlZzOasmk06/ zYFtqhxop7LqFSz+zUNutiVFliOOkVOl3hsuoF50A0jrwaRBW9poCNb2ZnKInojzEptQB +Q1nyfCLdOD197S1wlTpWimKFoiWO2Tg3/4Pufv/GsjMADtQcYHF5KCxywtAnC0BBGZid OcuAbmhVYwHxmR0VBRNSAzz5xCtevWLpKtk5pXI+LfO0GFXKSiEPFzJTMALy3oF428H7s Gbt00Tig2PdMkby/r8bY4QD7OFizbqyBtsLuaH6s2wzT5aIcafVI4b2MtGnGuUSyf9g== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796207450; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition: Content-Transfer-Encoding:In-Reply-To; bh=HoaN1PSokfCKzlON6BsjXDpiQEC6EuNdmqmc4rvABW0=; b=rSqh7ZLRk6UAueg3Yhmbv5OFyCO16VMqb0NZBkdByLlytsH5uNSO6zFTQEUtrBTMly9U r8M31gubvJd7/tjO7dtmIMdYiOkyQziXAxZqilNcpr2JzyokeaNw1uFezEOTw/hL3hN7b jlQcF1fG00WfPJ8xKuT4sKWQidW+lunXw9Txjd5VuW/bgMZv8U5iMOnxoRAyPuPYjSYd+ qssuBwROM3KNTkrmy4rT5cQ+jNXy80Pp5eBslGerzx3EnWMQeuwjifSvudu1Q+4Lt67pZ iQ4YgxPyCZ8p8ZsMicCl3FyFsRV+O6gvqtktkn7IHOJa3BHZEar+bS1TM61llKFC9zQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=qWeLugv4; 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 72C72606A31A for ; Wed, 2 Dec 2026 10:30:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=qWeLugv4 Received: by smtp.kernel.org (Postfix) with ESMTPSA id BD31A1F000C1; Wed, 2 Dec 2026 10:30:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1796207450; bh=HoaN1PSokfCKzlON6BsjXDpiQEC6EuNdmqmc4rvABW0=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=qWeLugv4B4UmkR3uWUZqhibIrmFYkvIe5Gzd4zvjYGDSGs0r7PzwJgk5y7Ob4CWfS KEfKjMoRbTk7ieAL/7ZziXE1qZxuIZXIiwY5ApHl6Q6dZQP4qNHFBq3kb267km2d8f xWWJtPLbW9cWWW26p30jpxFUpSdzTLODu3nLMNuQ= Date: Wed, 2 Dec 2026 11:30:47 +0100 From: Greg Kroah-Hartman To: Lee Jones Cc: linux-kernel@vger.kernel.org, Bjorn Helgaas , Danilo Krummrich , David Fries , Evgeniy Polyakov , franm@hrz.tu-chemnitz.de, Krzysztof Kozlowski , Markus Franke , Takashi Sakamoto , Thomas Bogendoerfer , Uwe =?iso-8859-1?Q?Kleine-K=F6nig_=28The_Capable_Hub=29?= Subject: Re: [PATCH 0/6] w1: Fix Critical and High issues reported by Sashiko Message-ID: <2026120221-ahead-albatross-be91@gregkh> References: <2026120229-synthetic-goliath-cd65@gregkh> <20261202102358.GR90630@joneslee-mac.roam.internal> 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-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20261202102358.GR90630@joneslee-mac.roam.internal> On Wed, Dec 02, 2026 at 10:23:58AM +0000, Lee Jones wrote: > On Wed, 02 Dec 2026, Greg Kroah-Hartman wrote: > > > On Wed, Dec 02, 2026 at 09:36:42AM +0000, Lee Jones wrote: > > > These issues were reported by Sashiko. > > > > > > This series addresses all open Critical and High severity reports in > > > the 1-Wire (w1) subsystem. It is based on v7.4-rc4 as it builds on > > > the w1 locking fixes merged in char-misc-7.4-rc4. It fixes a slave > > > device lifetime use-after-free, a kthread teardown / netlink race, an > > > uninitialised heap leak and byte-count truncation in block reads, > > > unlocked w1_masters removal traversal, a runtime crccheck NULL pointer > > > dereference, and an unbounded MMIO polling loop. > > > > > > Cc: Bjorn Helgaas > > > Cc: Danilo Krummrich > > > Cc: David Fries > > > Cc: Evgeniy Polyakov > > > Cc: franm@hrz.tu-chemnitz.de > > > Cc: Greg Kroah-Hartman > > > Cc: Krzysztof Kozlowski > > > Cc: Markus Franke > > > Cc: Takashi Sakamoto > > > Cc: Thomas Bogendoerfer > > > Cc: "Uwe Kleine-König (The Capable Hub)" > > > > > > Lee Jones (6): > > > w1: Free slave structure in w1_slave_release() > > > w1: Synchronise thread teardown with netlink callbacks > > > w1: Return actual bytes read from w1_read_block() and rw_read() > > > w1: Protect w1_masters traversal with w1_mlock during removal > > > w1: ds28e04: Always allocate family data to avoid NULL dereference > > > w1: sgi: Add timeout to sgi_w1_wait() polling loop > > > > > > drivers/w1/masters/ds2490.c | 2 +- > > > drivers/w1/masters/sgi_w1.c | 9 ++++++--- > > > drivers/w1/slaves/w1_ds28e04.c | 18 +++++++---------- > > > drivers/w1/w1.c | 35 +++++++++++++++++++++------------- > > > drivers/w1/w1_int.c | 16 +++++++++++----- > > > drivers/w1/w1_io.c | 7 +++++-- > > > drivers/w1/w1_netlink.c | 9 +++++++-- > > > include/linux/w1.h | 4 ++-- > > > 8 files changed, 61 insertions(+), 39 deletions(-) > > > > Krzysztof, if you ack these, I can take them directly if they look good > > to you. > > > > "Odd" that the "other" AI model didn't find these issues before, I guess > > different models "know" different things... > > These were reported by Sashiko. What is the "other" one? Anthropic's reports were what drove that other patch series I submitted and got merged recently.