Linux kernel and device drivers for NXP i.MX platforms
 help / color / mirror / Atom feed
From: Lee Jones <lee@kernel.org>
To: lee@kernel.org, "Sumit Semwal" <sumit.semwal@linaro.org>,
	"Christian König" <christian.koenig@amd.com>,
	"Philipp Stanner" <phasta@kernel.org>,
	linux-media@vger.kernel.org, dri-devel@lists.freedesktop.org,
	linaro-mm-sig@lists.linaro.org
Cc: linux-kernel@vger.kernel.org,
	"Clément Le Goffic" <clement.legoffic@foss.st.com>,
	"Niklas Söderlund" <niklas.soderlund+renesas@ragnatech.se>,
	"Aaro Koskinen" <aaro.koskinen@iki.fi>,
	"Akash Asthana" <akashast@codeaurora.org>,
	"Alain Volmat" <alain.volmat@foss.st.com>,
	"Alexandre Torgue" <alexandre.torgue@foss.st.com>,
	"Andi Shyti" <andi.shyti@kernel.org>,
	"Andreas Kemnade" <andreas@kemnade.info>,
	"Asmaa Mnebhi" <asmaa@nvidia.com>,
	"Bakulchandra Shah" <Nehal-bakulchandra.shah@amd.com>,
	"Carlos Munoz" <carlos@kenati.com>,
	"Carlos Song" <carlos.song@nxp.com>,
	"Cedric Madianga" <cedric.madianga@gmail.com>,
	"Dong Aisheng" <aisheng.dong@nxp.com>,
	"Elie Morisse" <syniurge@gmail.com>,
	"Fabio Estevam" <festevam@gmail.com>,
	"Felipe Balbi" <balbi@ti.com>, "Frank Li" <Frank.Li@nxp.com>,
	"Gao Pan" <pandy.gao@nxp.com>,
	"Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
	"Hans de Goede" <hansg@kernel.org>,
	"Imre Deak" <imre.deak@nokia.com>,
	imx@lists.linux.dev,
	"Israel Cepeda" <israel.a.cepeda.lopez@intel.com>,
	"Janusz Krzysztofik" <jmkrzyszt@gmail.com>,
	"Juha Yrjola" <juha.yrjola@solidboot.com>,
	"Kevin Hilman" <khilman@baylibre.com>,
	"Khalil Blaiech" <kblaiech@nvidia.com>,
	linux-arm-kernel@lists.infradead.org,
	linux-arm-msm@vger.kernel.org, linux-i2c@vger.kernel.org,
	linux-omap@vger.kernel.org, linux-renesas-soc@vger.kernel.org,
	linux-stm32@st-md-mailman.stormreply.com,
	"Maxime Coquelin" <mcoquelin.stm32@gmail.com>,
	"Mukesh Kumar Savaliya" <mukesh.savaliya@oss.qualcomm.com>,
	"Nishant Menon" <nm@ti.com>,
	"Pengutronix Kernel Team" <kernel@pengutronix.de>,
	"Pierre-Yves MORDRET" <pierre-yves.mordret@foss.st.com>,
	"Piyush Malgujar" <pmalgujar@marvell.com>,
	"Robert Richter" <rric@kernel.org>,
	"Roger Quadros" <rogerq@kernel.org>,
	"Roja Rani Yarubandi" <rojay@codeaurora.org>,
	"Sakari Ailus" <sakari.ailus@linux.intel.com>,
	"Sascha Hauer" <s.hauer@pengutronix.de>,
	"Shubhrajyoti D" <shubhrajyoti@ti.com>,
	"Shyam Sundar S K" <shyam-sundar.s-k@amd.com>,
	"Siemens Networks" <michael.lawnick.ext@nsn.com>,
	"Suneel Garapati" <sgarapati@marvell.com>,
	"Syed Khasim" <x0khasim@ti.com>,
	"Tony Lindgren" <tony@atomide.com>,
	"Vadim Pasternak" <vadimp@mellanox.com>,
	"Vignesh R" <vigneshr@ti.com>,
	"Viken Dadhaniya" <viken.dadhaniya@oss.qualcomm.com>,
	"Wolfram Sang" <wsa+renesas@sang-engineering.com>
Subject: [PATCH 00/10] i2c: Fix Critical and High issues reported by Sashiko
Date: Thu,  3 Dec 2026 18:31:04 +0000	[thread overview]
Message-ID: <20261203183214.1939736-1-lee@kernel.org> (raw)

These issues were reported by Sashiko.

Cc: "Clément Le Goffic" <clement.legoffic@foss.st.com>
Cc: "Niklas Söderlund" <niklas.soderlund+renesas@ragnatech.se>
Cc: Aaro Koskinen <aaro.koskinen@iki.fi>
Cc: Akash Asthana <akashast@codeaurora.org>
Cc: Alain Volmat <alain.volmat@foss.st.com>
Cc: Alexandre Torgue <alexandre.torgue@foss.st.com>
Cc: Andi Shyti <andi.shyti@kernel.org>
Cc: Andreas Kemnade <andreas@kemnade.info>
Cc: Asmaa Mnebhi <asmaa@nvidia.com>
Cc: Bakulchandra Shah <Nehal-bakulchandra.shah@amd.com>
Cc: Carlos Munoz <carlos@kenati.com>
Cc: Carlos Song <carlos.song@nxp.com>
Cc: Cedric Madianga <cedric.madianga@gmail.com>
Cc: Dong Aisheng <aisheng.dong@nxp.com>
Cc: Elie Morisse <syniurge@gmail.com>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: Felipe Balbi <balbi@ti.com>
Cc: Frank Li <Frank.Li@nxp.com>
Cc: Gao Pan <pandy.gao@nxp.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Hans de Goede <hansg@kernel.org>
Cc: Imre Deak <imre.deak@nokia.com>
Cc: imx@lists.linux.dev
Cc: Israel Cepeda <israel.a.cepeda.lopez@intel.com>
Cc: Janusz Krzysztofik <jmkrzyszt@gmail.com>
Cc: Juha Yrjola <juha.yrjola@solidboot.com>
Cc: Kevin Hilman <khilman@baylibre.com>
Cc: Khalil Blaiech <kblaiech@nvidia.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-arm-msm@vger.kernel.org
Cc: linux-i2c@vger.kernel.org
Cc: linux-media@vger.kernel.org
Cc: linux-omap@vger.kernel.org
Cc: linux-renesas-soc@vger.kernel.org
Cc: linux-stm32@st-md-mailman.stormreply.com
Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com>
Cc: Mukesh Kumar Savaliya <mukesh.savaliya@oss.qualcomm.com>
Cc: Nishant Menon <nm@ti.com>
Cc: Pengutronix Kernel Team <kernel@pengutronix.de>
Cc: Pierre-Yves MORDRET <pierre-yves.mordret@foss.st.com>
Cc: Piyush Malgujar <pmalgujar@marvell.com>
Cc: Robert Richter <rric@kernel.org>
Cc: Roger Quadros <rogerq@kernel.org>
Cc: Roja Rani Yarubandi <rojay@codeaurora.org>
Cc: Sakari Ailus <sakari.ailus@linux.intel.com>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Shubhrajyoti D <shubhrajyoti@ti.com>
Cc: Shyam Sundar S K <shyam-sundar.s-k@amd.com>
Cc: Siemens Networks <michael.lawnick.ext@nsn.com>
Cc: Suneel Garapati <sgarapati@marvell.com>
Cc: Syed Khasim <x0khasim@ti.com>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Vadim Pasternak <vadimp@mellanox.com>
Cc: Vignesh R <vigneshr@ti.com>
Cc: Viken Dadhaniya <viken.dadhaniya@oss.qualcomm.com>
Cc: Wolfram Sang <wsa+renesas@sang-engineering.com>

Lee Jones (10):
  i2c: imx-lpi2c: Clear rx_cmd_buf pointer after freeing in
    lpi2c_imx_dma_xfer()
  i2c: qcom-geni: Clear dma_buf pointer after releasing DMA buffer
  i2c: sh_mobile: Terminate DMA before freeing bounce buffer in
    sh_mobile_xfer()
  i2c: omap: Check buf_len before buffer accesses in data transfer
    helpers
  i2c: stm32f7: Prevent duplicate execution of
    stm32f7_i2c_dma_callback()
  i2c: stm32f7: Allocate smbus_buf separately for DMA safety
  i2c: usbio: Validate full reply length in split-read loop
  i2c: amd-mp2: Synchronise IRQ completion with command timeout
  i2c: mlxbf: Reject zero-length SMBus reads to prevent stack overflow
  i2c: octeon: Guard to_pci_dev() with dev_is_pci() in
    octeon_i2c_set_clock()

 drivers/i2c/busses/i2c-amd-mp2-pci.c  | 29 ++++++++++++++----
 drivers/i2c/busses/i2c-amd-mp2-plat.c |  5 ----
 drivers/i2c/busses/i2c-amd-mp2.h      |  3 ++
 drivers/i2c/busses/i2c-imx-lpi2c.c    |  4 ++-
 drivers/i2c/busses/i2c-mlxbf.c        |  8 +++++
 drivers/i2c/busses/i2c-octeon-core.c  |  3 +-
 drivers/i2c/busses/i2c-omap.c         | 14 ++++++---
 drivers/i2c/busses/i2c-qcom-geni.c    |  2 ++
 drivers/i2c/busses/i2c-sh_mobile.c    | 18 ++++++-----
 drivers/i2c/busses/i2c-stm32f7.c      | 43 ++++++++++++++++++++++-----
 drivers/i2c/busses/i2c-usbio.c        |  4 +--
 11 files changed, 99 insertions(+), 34 deletions(-)

-- 
2.56.1.911.g883d8bcb20-goog


             reply	other threads:[~2026-12-03 18:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-03 18:31 Lee Jones [this message]
2026-12-03 18:31 ` [PATCH 01/10] i2c: imx-lpi2c: Clear rx_cmd_buf pointer after freeing in lpi2c_imx_dma_xfer() 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=20261203183214.1939736-1-lee@kernel.org \
    --to=lee@kernel.org \
    --cc=Frank.Li@nxp.com \
    --cc=Nehal-bakulchandra.shah@amd.com \
    --cc=aaro.koskinen@iki.fi \
    --cc=aisheng.dong@nxp.com \
    --cc=akashast@codeaurora.org \
    --cc=alain.volmat@foss.st.com \
    --cc=alexandre.torgue@foss.st.com \
    --cc=andi.shyti@kernel.org \
    --cc=andreas@kemnade.info \
    --cc=asmaa@nvidia.com \
    --cc=balbi@ti.com \
    --cc=carlos.song@nxp.com \
    --cc=carlos@kenati.com \
    --cc=cedric.madianga@gmail.com \
    --cc=christian.koenig@amd.com \
    --cc=clement.legoffic@foss.st.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=festevam@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=hansg@kernel.org \
    --cc=imre.deak@nokia.com \
    --cc=imx@lists.linux.dev \
    --cc=israel.a.cepeda.lopez@intel.com \
    --cc=jmkrzyszt@gmail.com \
    --cc=juha.yrjola@solidboot.com \
    --cc=kblaiech@nvidia.com \
    --cc=kernel@pengutronix.de \
    --cc=khilman@baylibre.com \
    --cc=linaro-mm-sig@lists.linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-i2c@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=linux-stm32@st-md-mailman.stormreply.com \
    --cc=mcoquelin.stm32@gmail.com \
    --cc=michael.lawnick.ext@nsn.com \
    --cc=mukesh.savaliya@oss.qualcomm.com \
    --cc=niklas.soderlund+renesas@ragnatech.se \
    --cc=nm@ti.com \
    --cc=pandy.gao@nxp.com \
    --cc=phasta@kernel.org \
    --cc=pierre-yves.mordret@foss.st.com \
    --cc=pmalgujar@marvell.com \
    --cc=rogerq@kernel.org \
    --cc=rojay@codeaurora.org \
    --cc=rric@kernel.org \
    --cc=s.hauer@pengutronix.de \
    --cc=sakari.ailus@linux.intel.com \
    --cc=sgarapati@marvell.com \
    --cc=shubhrajyoti@ti.com \
    --cc=shyam-sundar.s-k@amd.com \
    --cc=sumit.semwal@linaro.org \
    --cc=syniurge@gmail.com \
    --cc=tony@atomide.com \
    --cc=vadimp@mellanox.com \
    --cc=vigneshr@ti.com \
    --cc=viken.dadhaniya@oss.qualcomm.com \
    --cc=wsa+renesas@sang-engineering.com \
    --cc=x0khasim@ti.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox