mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Lee Jones <lee@kernel.org>
Cc: linux-kernel@vger.kernel.org,
	"Bjorn Helgaas" <bhelgaas@google.com>,
	"Danilo Krummrich" <dakr@kernel.org>,
	"David Fries" <David@fries.net>,
	"Evgeniy Polyakov" <zbr@ioremap.net>,
	franm@hrz.tu-chemnitz.de, "Krzysztof Kozlowski" <krzk@kernel.org>,
	"Markus Franke" <franke.m@sebakmt.com>,
	"Takashi Sakamoto" <o-takashi@sakamocchi.jp>,
	"Thomas Bogendoerfer" <tbogendoerfer@suse.de>,
	"Uwe Kleine-König (The Capable Hub)"
	<u.kleine-koenig@baylibre.com>
Subject: Re: [PATCH 0/6] w1: Fix Critical and High issues reported by Sashiko
Date: Wed, 2 Dec 2026 10:45:10 +0100	[thread overview]
Message-ID: <2026120229-synthetic-goliath-cd65@gregkh> (raw)
In-Reply-To: <cover.1796204137.git.lee@kernel.org>

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 <bhelgaas@google.com>
> Cc: Danilo Krummrich <dakr@kernel.org>
> Cc: David Fries <David@Fries.net>
> Cc: Evgeniy Polyakov <zbr@ioremap.net>
> Cc: franm@hrz.tu-chemnitz.de
> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> Cc: Krzysztof Kozlowski <krzk@kernel.org>
> Cc: Markus Franke <franke.m@sebakmt.com>
> Cc: Takashi Sakamoto <o-takashi@sakamocchi.jp>
> Cc: Thomas Bogendoerfer <tbogendoerfer@suse.de>
> Cc: "Uwe Kleine-König (The Capable Hub)" <u.kleine-koenig@baylibre.com>
> 
> 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

  parent reply	other threads:[~2026-12-02  9:45 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-02  9:36 Lee Jones
2026-12-02  9:36 ` [PATCH 1/6] w1: Free slave structure in w1_slave_release() Lee Jones
2026-12-02 10:38   ` Krzysztof Kozlowski
2026-12-02 10:43     ` Krzysztof Kozlowski
2026-12-02  9:36 ` [PATCH 2/6] w1: Synchronise thread teardown with netlink callbacks Lee Jones
2026-12-02 10:38   ` Krzysztof Kozlowski
2026-12-02  9:36 ` [PATCH 3/6] w1: Return actual bytes read from w1_read_block() and rw_read() Lee Jones
2026-12-02 10:54   ` Krzysztof Kozlowski
2026-12-02  9:36 ` [PATCH 4/6] w1: Protect w1_masters traversal with w1_mlock during removal Lee Jones
2026-12-02 10:44   ` Krzysztof Kozlowski
2026-12-02  9:36 ` [PATCH 5/6] w1: ds28e04: Always allocate family data to avoid NULL dereference Lee Jones
2026-12-02 10:45   ` Krzysztof Kozlowski
2026-12-02  9:36 ` [PATCH 6/6] w1: sgi: Add timeout to sgi_w1_wait() polling loop Lee Jones
2026-12-02 10:46   ` Krzysztof Kozlowski
2026-12-02  9:45 ` Greg Kroah-Hartman [this message]
2026-12-02 10:23   ` [PATCH 0/6] w1: Fix Critical and High issues reported by Sashiko Lee Jones
2026-12-02 10:30     ` Greg Kroah-Hartman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2026120229-synthetic-goliath-cd65@gregkh \
    --to=gregkh@linuxfoundation.org \
    --cc=David@fries.net \
    --cc=bhelgaas@google.com \
    --cc=dakr@kernel.org \
    --cc=franke.m@sebakmt.com \
    --cc=franm@hrz.tu-chemnitz.de \
    --cc=krzk@kernel.org \
    --cc=lee@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=o-takashi@sakamocchi.jp \
    --cc=tbogendoerfer@suse.de \
    --cc=u.kleine-koenig@baylibre.com \
    --cc=zbr@ioremap.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®