mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/8] regulator: Fix locking, OOB read, lifetime, and global state bugs (batch 2)
@ 2026-11-27 18:35 Lee Jones
  2026-11-27 18:35 ` [PATCH 1/8] regulator: core: Defer supply cleanup and unregister event forwarding on error Lee Jones
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Lee Jones @ 2026-11-27 18:35 UTC (permalink / raw)
  To: lee
  Cc: linux-kernel, André Draszik, Aaro Koskinen, Alexey Charkov,
	Andreas Kemnade, Corentin Labbe, Douglas Anderson,
	Eduardo Candelaria, Esteban Blanc, Graeme Gregory, Gyungoh Yoo,
	Jerome Neanne, Jin Park, Kevin Hilman, Laxman Dewangan,
	Liam Girdwood, linux-omap, Mal Nadar, Mark Brown,
	Markus Schneider-Pargmann, Oleksij Rempel, Rajendra Nayak,
	Roger Quadros, Samuel Ortiz, Stephen Warren, Tony Lindgren,
	Uday Khare

These issues were reported by Sashiko.

This is batch 2 of Regulator bug fixes, based on regulator/for-next.
It addresses supply teardown and locking bugs in regulator core, slab
and global out-of-bounds reads in tps6594 and tps65910, devres lifetime
mismatches in tps6594, a NULL device_node dereference in of_regulator,
and shared global table mutations in max8907 and aat2870.

Cc: "André Draszik" <andre.draszik@linaro.org>
Cc: Aaro Koskinen <aaro.koskinen@iki.fi>
Cc: Alexey Charkov <alchark@flipper.net>
Cc: Andreas Kemnade <andreas@kemnade.info>
Cc: Corentin Labbe <clabbe@baylibre.com>
Cc: Douglas Anderson <dianders@chromium.org>
Cc: Eduardo Candelaria <jedu@slimlogic.co.uk>
Cc: Esteban Blanc <eblanc@baylibre.com>
Cc: Graeme Gregory <gg@slimlogic.co.uk>
Cc: Gyungoh Yoo <jack.yoo@maxim-ic.com>
Cc: Jerome Neanne <jneanne@baylibre.com>
Cc: Jin Park <jinyoungp@nvidia.com>
Cc: Kevin Hilman <khilman@baylibre.com>
Cc: Laxman Dewangan <ldewangan@nvidia.com>
Cc: Liam Girdwood <lgirdwood@gmail.com>
Cc: linux-omap@vger.kernel.org
Cc: Mal Nadar <m.nirmaladevi@ltts.com>
Cc: Mark Brown <broonie@kernel.org>
Cc: Markus Schneider-Pargmann <msp@baylibre.com>
Cc: Oleksij Rempel <o.rempel@pengutronix.de>
Cc: Rajendra Nayak <rnayak@ti.com>
Cc: Roger Quadros <rogerq@kernel.org>
Cc: Samuel Ortiz <sameo@linux.intel.com>
Cc: Stephen Warren <swarren@nvidia.com>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Uday Khare <udaykhare77@gmail.com>

Lee Jones (8):
  regulator: core: Defer supply cleanup and unregister event forwarding
    on error
  regulator: max8907: Duplicate of_regulator_match table per device
  regulator: tps6594-regulator: Use dedicated handler for external
    regulator IRQs
  regulator: tps65910: Fix OOB read and bit shift in external sleep
    config
  regulator: tps6594-regulator: Bind IRQ resources to child platform
    device
  regulator: core: Respect is_locked when disabling supply on enable
    failure
  regulator: of: Guard against NULL device_node in
    of_regulator_bulk_get_all()
  regulator: aat2870: Duplicate regulator data per device

 drivers/regulator/aat2870-regulator.c  | 30 +++++++++-----
 drivers/regulator/core.c               | 18 ++++----
 drivers/regulator/max8907-regulator.c  | 57 +++++++++++---------------
 drivers/regulator/of_regulator.c       |  3 ++
 drivers/regulator/tps65910-regulator.c | 20 +++++++--
 drivers/regulator/tps6594-regulator.c  | 27 +++++++++---
 6 files changed, 95 insertions(+), 60 deletions(-)

-- 
2.56.1.839.g22a8290db9-goog


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

end of thread, other threads:[~2026-11-27 18:37 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-27 18:35 [PATCH 0/8] regulator: Fix locking, OOB read, lifetime, and global state bugs (batch 2) Lee Jones
2026-11-27 18:35 ` [PATCH 1/8] regulator: core: Defer supply cleanup and unregister event forwarding on error Lee Jones
2026-11-27 18:35 ` [PATCH 2/8] regulator: max8907: Duplicate of_regulator_match table per device Lee Jones
2026-11-27 18:35 ` [PATCH 3/8] regulator: tps6594-regulator: Use dedicated handler for external regulator IRQs Lee Jones
2026-11-27 18:35 ` [PATCH 4/8] regulator: tps65910: Fix OOB read and bit shift in external sleep config Lee Jones
2026-11-27 18:35 ` [PATCH 5/8] regulator: tps6594-regulator: Bind IRQ resources to child platform device Lee Jones
2026-11-27 18:35 ` [PATCH 6/8] regulator: core: Respect is_locked when disabling supply on enable failure Lee Jones
2026-11-27 18:35 ` [PATCH 7/8] regulator: of: Guard against NULL device_node in of_regulator_bulk_get_all() Lee Jones
2026-11-27 18:35 ` [PATCH 8/8] regulator: aat2870: Duplicate regulator data per device Lee Jones

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®