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,
	"André Draszik" <andre.draszik@linaro.org>,
	"Aaro Koskinen" <aaro.koskinen@iki.fi>,
	"Alexey Charkov" <alchark@flipper.net>,
	"Andreas Kemnade" <andreas@kemnade.info>,
	"Corentin Labbe" <clabbe@baylibre.com>,
	"Douglas Anderson" <dianders@chromium.org>,
	"Eduardo Candelaria" <jedu@slimlogic.co.uk>,
	"Esteban Blanc" <eblanc@baylibre.com>,
	"Graeme Gregory" <gg@slimlogic.co.uk>,
	"Gyungoh Yoo" <jack.yoo@maxim-ic.com>,
	"Jerome Neanne" <jneanne@baylibre.com>,
	"Jin Park" <jinyoungp@nvidia.com>,
	"Kevin Hilman" <khilman@baylibre.com>,
	"Laxman Dewangan" <ldewangan@nvidia.com>,
	"Liam Girdwood" <lgirdwood@gmail.com>,
	linux-omap@vger.kernel.org, "Mal Nadar" <m.nirmaladevi@ltts.com>,
	"Mark Brown" <broonie@kernel.org>,
	"Markus Schneider-Pargmann" <msp@baylibre.com>,
	"Oleksij Rempel" <o.rempel@pengutronix.de>,
	"Rajendra Nayak" <rnayak@ti.com>,
	"Roger Quadros" <rogerq@kernel.org>,
	"Samuel Ortiz" <sameo@linux.intel.com>,
	"Stephen Warren" <swarren@nvidia.com>,
	"Tony Lindgren" <tony@atomide.com>,
	"Uday Khare" <udaykhare77@gmail.com>
Subject: [PATCH 0/8] regulator: Fix locking, OOB read, lifetime, and global state bugs (batch 2)
Date: Fri, 27 Nov 2026 18:35:40 +0000	[thread overview]
Message-ID: <20261127183624.3341010-1-lee@kernel.org> (raw)

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


             reply	other threads:[~2026-11-27 18:36 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-27 18:35 Lee Jones [this message]
2026-11-27 18:35 ` [PATCH 1/8] regulator: core: Defer supply cleanup and unregister event forwarding on error Lee Jones
2026-11-30 23:48   ` Doug Anderson
2026-12-01 11:02     ` 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

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=20261127183624.3341010-1-lee@kernel.org \
    --to=lee@kernel.org \
    --cc=aaro.koskinen@iki.fi \
    --cc=alchark@flipper.net \
    --cc=andre.draszik@linaro.org \
    --cc=andreas@kemnade.info \
    --cc=broonie@kernel.org \
    --cc=clabbe@baylibre.com \
    --cc=dianders@chromium.org \
    --cc=eblanc@baylibre.com \
    --cc=gg@slimlogic.co.uk \
    --cc=jack.yoo@maxim-ic.com \
    --cc=jedu@slimlogic.co.uk \
    --cc=jinyoungp@nvidia.com \
    --cc=jneanne@baylibre.com \
    --cc=khilman@baylibre.com \
    --cc=ldewangan@nvidia.com \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=m.nirmaladevi@ltts.com \
    --cc=msp@baylibre.com \
    --cc=o.rempel@pengutronix.de \
    --cc=rnayak@ti.com \
    --cc=rogerq@kernel.org \
    --cc=sameo@linux.intel.com \
    --cc=swarren@nvidia.com \
    --cc=tony@atomide.com \
    --cc=udaykhare77@gmail.com \
    /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.