[PATCH 00/10] pinctrl: Fix out-of-bounds accesses, divide-by-zero, and error handling

Lee Jones lee at kernel.org
Tue Nov 3 13:29:05 PST 2026


These issues were reported by Sashiko.

Cc: Aaron Kling <webgeek1234 at gmail.com>
Cc: Ajay Kishore <akisho at codeaurora.org>
Cc: "Andreas Färber" <afaerber at suse.com>
Cc: Andreas Kemnade <andreas at kemnade.info>
Cc: Andre Przywara <andre.przywara at arm.com>
Cc: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>
Cc: Bartosz Golaszewski <brgl at kernel.org>
Cc: Bjorn Andersson <andersson at kernel.org>
Cc: Chen-Yu Tsai <wens at kernel.org>
Cc: Christian Marangi <ansuelsmth at gmail.com>
Cc: Daniel Golle <daniel at makrotopia.org>
Cc: Hao Chang <ot_chhao.chang at mediatek.com>
Cc: "H. Nikolaus Schaller" <hns at goldelico.com>
Cc: James Tai <james.tai at realtek.com>
Cc: Jernej Skrabec <jernej.skrabec at gmail.com>
Cc: Jonathan Hunter <jonathanh at nvidia.com>
Cc: Linus Walleij <linusw at kernel.org>
Cc: linux-arm-kernel at lists.infradead.org
Cc: linux-arm-msm at vger.kernel.org
Cc: linux-gpio at vger.kernel.org
Cc: linux-mediatek at lists.infradead.org
Cc: linux-mips at vger.kernel.org
Cc: linux-realtek-soc at lists.infradead.org
Cc: linux-sunxi at lists.linux.dev
Cc: linux-tegra at vger.kernel.org
Cc: Matthias Brugger <matthias.bgg at gmail.com>
Cc: Paul Boddie <paul at boddie.org.uk>
Cc: Paul Cercueil <paul at crapouillou.net>
Cc: Qingliang Li <qingliang.li at mediatek.com>
Cc: Rob Herring <robh at kernel.org>
Cc: "Ryder.Lee" <ryder.lee at mediatek.com>
Cc: Sam Shih <sam.shih at mediatek.com>
Cc: Samuel Holland <samuel at sholland.org>
Cc: Sean Wang <sean.wang at kernel.org>
Cc: Thierry Reding <thierry.reding at kernel.org>
Cc: Tzuyi Chang <tychang at realtek.com>
Cc: Yu-Chun Lin <eleanor.lin at realtek.com>
Cc: zhouyanjie at wanyeetech.com

Lee Jones (10):
  pinctrl: sunxi: Fix out-of-bounds irq_bank index when first bank has
    no IRQs
  pinctrl: tegra186: Fix out-of-bounds register bank index for AON drive
    groups
  pinctrl: ingenic: Fix element type of x1600_sfc_funcs array
  pinctrl: mediatek: mt7981: Add missing entries to mt7981_ant_sel_funcs
  pinctrl: realtek: Prevent out-of-bounds access in
    rtd_pinctrl_find_config()
  pinctrl: realtek: Fix bit shift when configuring RTD_HIGH_VIL
  pinctrl: realtek: Initialise omitted offset fields to NA in config
    macros
  pinctrl: mediatek: Clean up partially initialised hw->eint on error
  pinctrl: mediatek: Prevent divide-by-zero for pins with fixed drive
    strength
  pinctrl: qcom: Check qcom_scm_io_readl() return value in
    msm_gpio_irq_set_type()

 drivers/pinctrl/mediatek/pinctrl-mt7981.c     |   2 +-
 .../pinctrl/mediatek/pinctrl-mtk-common-v2.c  |  24 ++++-
 drivers/pinctrl/pinctrl-ingenic.c             |   2 +-
 drivers/pinctrl/qcom/pinctrl-msm.c            |  10 +-
 drivers/pinctrl/realtek/pinctrl-rtd.c         |   5 +-
 drivers/pinctrl/realtek/pinctrl-rtd.h         |   5 +
 drivers/pinctrl/sunxi/pinctrl-sunxi-dt.c      |  11 +-
 drivers/pinctrl/tegra/pinctrl-tegra186.c      | 102 +++++++++---------
 8 files changed, 93 insertions(+), 68 deletions(-)

-- 
2.56.0.385.gac671c819a-goog




More information about the linux-arm-kernel mailing list