The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH 0/6] w1: Fix Critical and High issues reported by Sashiko
@ 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
                   ` (6 more replies)
  0 siblings, 7 replies; 13+ messages in thread
From: Lee Jones @ 2026-12-02  9:36 UTC (permalink / raw)
  To: lee
  Cc: linux-kernel, Bjorn Helgaas, Danilo Krummrich, David Fries,
	Evgeniy Polyakov, franm, Greg Kroah-Hartman, Krzysztof Kozlowski,
	Markus Franke, Takashi Sakamoto, Thomas Bogendoerfer,
	Uwe Kleine-König (The Capable Hub)

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


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2026-12-02 10:43 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-02  9:36 [PATCH 0/6] w1: Fix Critical and High issues reported by Sashiko 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  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
2026-12-02 10:30     ` Greg Kroah-Hartman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox