All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lee Jones <lee@kernel.org>
To: 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,
	"Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
	"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: [PATCH 0/6] w1: Fix Critical and High issues reported by Sashiko
Date: Wed,  2 Dec 2026 09:36:42 +0000	[thread overview]
Message-ID: <cover.1796204137.git.lee@kernel.org> (raw)

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(-)

-- 
2.56.1.911.g883d8bcb20-goog


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

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-02  9:36 Lee Jones [this message]
2026-12-02  9:36 ` [PATCH 1/6] w1: Free slave structure in w1_slave_release() Lee Jones
2026-12-02  9:36 ` [PATCH 2/6] w1: Synchronise thread teardown with netlink callbacks Lee Jones
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  9:36 ` [PATCH 4/6] w1: Protect w1_masters traversal with w1_mlock during removal Lee Jones
2026-12-02  9:36 ` [PATCH 5/6] w1: ds28e04: Always allocate family data to avoid NULL dereference Lee Jones
2026-12-02  9:36 ` [PATCH 6/6] w1: sgi: Add timeout to sgi_w1_wait() polling loop Lee Jones
2026-12-02  9:45 ` [PATCH 0/6] w1: Fix Critical and High issues reported by Sashiko Greg Kroah-Hartman
2026-12-02 10:23   ` Lee Jones

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=cover.1796204137.git.lee@kernel.org \
    --to=lee@kernel.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=gregkh@linuxfoundation.org \
    --cc=krzk@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.