pinctrl: Fix Critical and High issues reported by Sashiko (batch 3)
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest12 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/12 | pinctrl: stm32: Validate npins against STM32_GPIO_PINS_PER_BANKdrivers/ | +13 | 1 reply | |
| 2/12 | pinctrl: imx: Validate pin_id in imx_pinctrl_parse_pin_mmio()drivers/ | +24 | 1 reply | |
| 3/12 | pinctrl: single: Protect group and function updates with pctldev->mutexdrivers/ | +6 | 1 reply | |
| 4/12 | pinctrl: imx: Propagate DT parsing errors in imx_pinctrl_probe_dt()drivers/ | +14 | 1 reply | |
| 5/12 | pinctrl: tegra: Require at least one register bank in tegra_pinctrl_probe()drivers/ | +2 | 0 replies | |
| 6/12 | pinctrl: imx: Serialise MMIO register updates with a spinlockdrivers/ drivers/ drivers/ +2 more | +21 | 1 reply | |
| 7/12 | pinctrl: nuvoton: ma35: Avoid double free of shared pin configsdrivers/ | +20 | 0 replies | |
| 8/12 | pinctrl: keembay: Check src before calling keembay_find_free_slot()drivers/ | +4 | 0 replies | |
| 9/12 | pinctrl: ti: iodelay: Protect generic group addition with pctldev->mutexdrivers/ | +6 | 0 replies | |
| 10/12 | pinctrl: sunxi: Serialise per-bank regulator request and freedrivers/ drivers/ | +13 | 0 replies | |
| 11/12 | pinctrl: stm32: Protect irqmux restore with hwspinlock during resumedrivers/ | +19 | 1 reply | |
| 12/12 | pinctrl: sx150x: Register threaded IRQ after adding GPIO chipdrivers/ | +7 | 1 reply |
Reviews trailers per patch
5 of 12 patches have a Reviewed-by or Acked-by.
| Patch | Neil Armstrong | Bartosz Golaszewski | Antonio Borneo | Frank Li |
|---|---|---|---|---|
| 1/12 | R-b | |||
| 2/12 | R-b | |||
| 3/12 | R-b | |||
| 4/12 | ||||
| 5/12 | ||||
| 6/12 | ||||
| 7/12 | ||||
| 8/12 | ||||
| 9/12 | ||||
| 10/12 | ||||
| 11/12 | R-b | |||
| 12/12 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.
Cover letter [PATCH 00/12] pinctrl: Fix Critical and High issues reported by Sashiko (batch 3)
These issues were reported by Sashiko.
This is the third batch of Critical and High severity pinctrl fixes, rebased onto pinctrl/for-next. It addresses out-of-bounds array and MMIO accesses, missing locking around generic group/function trees and shared hardware registers, a shared pin configuration double-free, DT error propagation, a zero-bank dereference, and IRQ registration ordering.
Lee Jones (12):
pinctrl: stm32: Validate npins against STM32_GPIO_PINS_PER_BANK
pinctrl: imx: Validate pin_id in imx_pinctrl_parse_pin_mmio()
pinctrl: single: Protect group and function updates with
pctldev->mutex
pinctrl: imx: Propagate DT parsing errors in imx_pinctrl_probe_dt()
pinctrl: tegra: Require at least one register bank in
tegra_pinctrl_probe()
pinctrl: imx: Serialise MMIO register updates with a spinlock
pinctrl: nuvoton: ma35: Avoid double free of shared pin configs
pinctrl: keembay: Check src before calling keembay_find_free_slot()
pinctrl: ti: iodelay: Protect generic group addition with
pctldev->mutex pinctrl: sunxi: Serialise per-bank regulator request and free
pinctrl: stm32: Protect irqmux restore with hwspinlock during resume
pinctrl: sx150x: Register threaded IRQ after adding GPIO chip
drivers/pinctrl/freescale/pinctrl-imx.c | 64 +++++++++++++++------ drivers/pinctrl/freescale/pinctrl-imx.h | 2 + drivers/pinctrl/freescale/pinctrl-imx7ulp.c | 3 + drivers/pinctrl/freescale/pinctrl-imx8ulp.c | 3 + drivers/pinctrl/freescale/pinctrl-vf610.c | 3 + drivers/pinctrl/nuvoton/pinctrl-ma35.c | 21 ++++++- drivers/pinctrl/pinctrl-keembay.c | 6 +- drivers/pinctrl/pinctrl-single.c | 12 ++-- drivers/pinctrl/pinctrl-sx150x.c | 12 ++-- drivers/pinctrl/stm32/pinctrl-stm32.c | 33 ++++++++++- drivers/pinctrl/sunxi/pinctrl-sunxi.c | 17 +++--- drivers/pinctrl/sunxi/pinctrl-sunxi.h | 3 + drivers/pinctrl/tegra/pinctrl-tegra.c | 2 + drivers/pinctrl/ti/pinctrl-ti-iodelay.c | 7 ++- 14 files changed, 149 insertions(+), 39 deletions(-)
Signature · 1 line
2.56.1.911.g883d8bcb20-goog