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=1796204713; b=DivKRDxnCP00t4UeObwe902SVZ9BkOiZj78MK8gjT+diC5CNd7l9n8vI4vXieu77DITh TbdiWo4hFa8aooNL9ygR03rn8aKkHOiWQTFdZy4a3xl01SWWaMH1GF8LDg4vEdNnM2PTG 4xANhhlt876uhQ82Ltuixip8kmOr9YqKogUx5U2Q/GztSGREnYIIHh66jsyAnY8v3iASo 3UJVRYDaaPZUjQuFOQvQdCmwnKlbq2kw2+kvNMY0kq0WssmaGWgg+nqLpydIQuOYfLtf5 WskEED336t2L2X109po4iDU4lih34oZh4DU/sBplcHntfla+G/M4tLkhhegjo2zBkEw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796204713; 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=ilIpVObPDUMcPviodPVE49TNa4tsnHjR+qM5ZaHNxa0=; b=2P2uPPdoq5UvO+6Nu9tvdIyMjz23fiZfAqvao5yxDrevJsif3AuEXXMzj9LYE89nUcGt hSbyBbpaVBgl3iU86S8SXsfpAelSE3b8c6ghAqr0kZ6hp7oGKM/dRz1sVykHMtFa/j/0Y qUWO8304M9HV8MeDeLwhDczPkNTxYbL/yKie7xqen1iMAQAaYrTnA7FkMAIL/aBvl3JeO H+sWPcBpqdywTkNEa3NlZ6R0QHfws85m82/kWNYAqyykoXXPCP8TY8JvQb8KbYgieYeAj N4gKKL9y1eoRGUQcTuDq5Wi56k7EaoNQMFvIMsyqQut+RN7eRoEUCxmpFN0fCwwdxlA== 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=clYH6Van; 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 7DFE2606A327 for ; Wed, 2 Dec 2026 09:45:13 +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=clYH6Van Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8DABE1F00893; Wed, 2 Dec 2026 09:45:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1796204713; bh=ilIpVObPDUMcPviodPVE49TNa4tsnHjR+qM5ZaHNxa0=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=clYH6Van8nhWOItJrG7Trhg+Zk1HoPHKRivNIE2KtE/AXA2j0viAMTtnQ5ogkkG3y RXvIMBYbuotzpoCGvM2IzF1BJqa6wwauaeBDADg2AzfEcBcrZpQFEGFV58d73nnPXI afFftSQYfMs/xzgSAwoCSDm/+WhQGTdoX1XSKADs= Date: Wed, 2 Dec 2026 10:45:10 +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: <2026120229-synthetic-goliath-cd65@gregkh> References: 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: 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... thanks, greg k-h