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=1796207044; b=SW7U4Be51U4JwEPDIYD9hga9CtbKRtHyd/Cj5I5kRCitmeV6OZTzABNXMXA4f/pX2p2h 3fn8mBmUlmBw16w4MMUgzEchoXZx+qejv/8P4Wms3J1GhWBjP1WbOULKMciTbs3sd6eQx VxCFM6OXqKejBFJizxzIh2ORpg0prIcw3PlHQJbpO/vyNC69wPEgrKVYBscO1feJQCGVW 4KnkBl1x9vj2q/6aiV6ofT/XPBdErdCQyHpGrxo+xftm3+9DUPRXo2mt2JoBgN/9HhGhl r+UNTMYK4UxazUzNpBxvmCGWCidd1kBObtg+MducWXPReYokVb9MBdaEqOpcudmTEuA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796207044; 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=SCb+519NbNIavEwoVKKWjj31NqUakAoeq58286xiQ+A=; b=E9cqfr4xqE1yH0q2I68MZ17YxRYGvZQewubjmFwSniTwCO2i3VScdTn4co0e6eDddC/s /O0gK4aZCaNKVdZ1ZhEkE7AtRwMWOm5SaiejCvdeMMj6cxdyxzQy1Cb+zvwXmrZnxT0wm pwKHW1+0kkx1j7p/NrPrSyyrc1HYdUYqu8uc4Veb4AMX13jrTTqvbbgIjLlYV7RW6+Ryi Hz4NAJr/F2XzLEhxApS7SUH+LqMUjYhmbPTA7VG07hvTNe/lOBmj3A+QE5cbmP2stSenM ZOf0lh1gJgOEMXz2emuiBYucWWcJBnID8ta8mv+dAHM4sAM+bScrF0s5OWOnKIdelGw== 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=fRHEiUyq; 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 328D7606A31A for ; Wed, 2 Dec 2026 10:24:04 +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=fRHEiUyq Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6F66E1F0089F; Wed, 2 Dec 2026 10:24:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796207043; bh=SCb+519NbNIavEwoVKKWjj31NqUakAoeq58286xiQ+A=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=fRHEiUyqI77qetPkxX6vOj3KzjDV8NcKVYy0El+LUERHhXGVkPIrw1Hhp7QrCg2eb 3BSufFiRbFEVNoTkgBLTFbUEymZtKzjuQeBIZlpQJNJS73DFho1jfCjkL7QXmy4vyE z+yxyEF+Qwmw+yygKcdM6/WxKMbjxBz3mVz8XszUagzxrspVHSjMwTsIIdY26ru2/J C2ZLqtkzuZuuVE7WeY7J2tKEd5XGhXBw0Nq1HaqUZwB76LViRWnxwinZbURr9RTs5P NiapRDsycl/WjQlg0og1KWhuFXRASjOhDV1xlpw+1FseoXQVFKnO+4WAQZfJG2WP2n aLeXtxmIAmkJg== Date: Wed, 2 Dec 2026 10:23:58 +0000 From: Lee Jones To: Greg Kroah-Hartman 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: <20261202102358.GR90630@joneslee-mac.roam.internal> References: <2026120229-synthetic-goliath-cd65@gregkh> 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: <2026120229-synthetic-goliath-cd65@gregkh> 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? -- Lee Jones