Skip to content

i2c: Fix Critical and High issues reported by Sashiko

Lee Jones dri-devel imx linux-arm-kernel linux-arm-msm linux-i2c linux-media linux-omap linux-renesas-soc lkml stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10i2c: imx-lpi2c: Clear rx_cmd_buf pointer after freeing in lpi2c_imx_dma_xfer()drivers/i2c/busses/i2c-imx-lpi2c.c+3 -11 reply
2/10i2c: qcom-geni: Clear dma_buf pointer after releasing DMA bufferdrivers/i2c/busses/i2c-qcom-geni.c+2 -00 replies
3/10i2c: sh_mobile: Terminate DMA before freeing bounce buffer in sh_mobile_xfer()drivers/i2c/busses/i2c-sh_mobile.c+11 -70 replies
4/10i2c: omap: Check buf_len before buffer accesses in data transfer helpersdrivers/i2c/busses/i2c-omap.c+10 -40 replies
5/10i2c: stm32f7: Prevent duplicate execution of stm32f7_i2c_dma_callback()drivers/i2c/busses/i2c-stm32f7.c+28 -70 replies
6/10i2c: stm32f7: Allocate smbus_buf separately for DMA safetydrivers/i2c/busses/i2c-stm32f7.c+7 -10 replies
7/10i2c: usbio: Validate full reply length in split-read loopdrivers/i2c/busses/i2c-usbio.c+2 -20 replies
8/10i2c: amd-mp2: Synchronise IRQ completion with command timeoutdrivers/i2c/busses/i2c-amd-mp2-pci.c drivers/i2c/busses/i2c-amd-mp2-plat.c drivers/i2c/busses/i2c-amd-mp2.h+26 -110 replies
9/10i2c: mlxbf: Reject zero-length SMBus reads to prevent stack overflowdrivers/i2c/busses/i2c-mlxbf.c+8 -00 replies
10/10i2c: octeon: Guard to_pci_dev() with dev_is_pci() in octeon_i2c_set_clock()drivers/i2c/busses/i2c-octeon-core.c+2 -10 replies

Reviews trailers per patch

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

PatchFrank Li
1/10R-b
2/10
3/10
4/10
5/10
6/10
7/10
8/10
9/10
10/10

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 00/10] i2c: Fix Critical and High issues reported by Sashiko

These issues were reported by Sashiko.

Cc "Clément Le Goffic" <[email protected]>
Cc "Niklas Söderlund" <[email protected]>
Cc Aaro Koskinen <[email protected]>
Cc Akash Asthana <[email protected]>
Cc Alain Volmat <[email protected]>
Cc Alexandre Torgue <[email protected]>
Cc Andi Shyti <[email protected]>
Cc Andreas Kemnade <[email protected]>
Cc Asmaa Mnebhi <[email protected]>
Cc Bakulchandra Shah <[email protected]>
Cc Carlos Munoz <[email protected]>
Cc Carlos Song <[email protected]>
Cc Cedric Madianga <[email protected]>
Cc Dong Aisheng <[email protected]>
Cc Elie Morisse <[email protected]>
Cc Fabio Estevam <[email protected]>
Cc Felipe Balbi <[email protected]>
Cc Frank Li <[email protected]>
Cc Gao Pan <[email protected]>
Cc Greg Kroah-Hartman <[email protected]>
Cc Hans de Goede <[email protected]>
Cc Imre Deak <[email protected]>
Cc Israel Cepeda <[email protected]>
Cc Janusz Krzysztofik <[email protected]>
Cc Juha Yrjola <[email protected]>
Cc Kevin Hilman <[email protected]>
Cc Khalil Blaiech <[email protected]>
Cc Maxime Coquelin <[email protected]>
Cc Mukesh Kumar Savaliya <[email protected]>
Cc Nishant Menon <[email protected]>
Cc Pengutronix Kernel Team <[email protected]>
Cc Pierre-Yves MORDRET <[email protected]>
Cc Piyush Malgujar <[email protected]>
Cc Robert Richter <[email protected]>
Cc Roger Quadros <[email protected]>
Cc Roja Rani Yarubandi <[email protected]>
Cc Sakari Ailus <[email protected]>
Cc Sascha Hauer <[email protected]>
Cc Shubhrajyoti D <[email protected]>
Cc Shyam Sundar S K <[email protected]>
Cc Siemens Networks <[email protected]>
Cc Suneel Garapati <[email protected]>
Cc Syed Khasim <[email protected]>
Cc Tony Lindgren <[email protected]>
Cc Vadim Pasternak <[email protected]>
Cc Vignesh R <[email protected]>
Cc Viken Dadhaniya <[email protected]>
Cc Wolfram Sang <[email protected]>

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(-)
Signature · 1 line
2.56.1.911.g883d8bcb20-goog