regulator: Fix locking, OOB read, lifetime, and global state bugs (batch 2)
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest8 patches 0 repliesNew
Patches in v1 No applies recorded yet
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/8] regulator: Fix locking, OOB read, lifetime, and global state bugs (batch 2)
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.
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(-)
Signature · 1 line
2.56.1.839.g22a8290db9-goog