Skip to content

mfd: Fix potential cleanup ordering and lifetime bugs

Guangshuo Li linux-arm-kernel linux-omap lkml mfd stable 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 5 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/6mfd: da9055: Fix potential use-after-free during removaldrivers/mfd/da9055-core.c+1 -10 replies
2/6mfd: atc260x: Fix potential use-after-free on probe failuredrivers/mfd/atc260x-core.c+1 -31 reply
3/6mfd: palmas: Fix potential IRQ action leaks on removaldrivers/mfd/palmas.c+3 -03 replies
4/6mfd: stmpe: Fix potential use-after-free during removaldrivers/mfd/stmpe.c+2 -20 replies
5/6mfd: stmfx: Fix potential IRQ action leaks on removaldrivers/mfd/stmfx.c+5 -30 replies
6/6mfd: wm8994: Fix potential use-after-free during removaldrivers/mfd/wm8994-core.c+5 -20 replies

Reviews trailers per patch

1 of 6 patches has a Reviewed-by or Acked-by.

PatchCristian Ciocaltea
1/6
2/6R-b
3/6
4/6
5/6
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/6] mfd: Fix potential cleanup ordering and lifetime bugs

Remove child devices while their IRQ providers are still available, and avoid deleting a managed IRQ chip twice.

The changed driver objects were build-tested. No hardware testing was performed.

Guangshuo Li (6):
mfd: da9055: Fix potential use-after-free during removal
mfd: atc260x: Fix potential use-after-free on probe failure
mfd: palmas: Fix potential IRQ action leaks on removal
mfd: stmpe: Fix potential use-after-free during removal
mfd: stmfx: Fix potential IRQ action leaks on removal
mfd: wm8994: Fix potential use-after-free during removal

 drivers/mfd/atc260x-core.c | 4 +---
 drivers/mfd/da9055-core.c  | 2 +-
 drivers/mfd/palmas.c       | 3 +++
 drivers/mfd/stmfx.c        | 8 +++++---
 drivers/mfd/stmpe.c        | 4 ++--
 drivers/mfd/wm8994-core.c  | 7 +++++--
 6 files changed, 17 insertions(+), 11 deletions(-)

base-commit: d89e1d186ec9271bf78e62771779e9fc03bf0fc3