Skip to content

hw/i2c/aspeed_i2c: Fix out-of-bounds read in I2C MMIO

Jamin Lin qemu-arm qemu-devel 1 version Applied

Status from this message: Applied to aspeed-next.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 4 repliesApplied

Changes in v2 from the cover letter

1. Fix Out-of-Bounds access by increasing static array size
2. Increase I2C device register size to 0xA0 for AST2700 A1

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2hw/i2c/aspeed_i2c: Fix out-of-bounds read in I2C MMIO handlershw/i2c/aspeed_i2c.c include/hw/i2c/aspeed_i2c.h+11 -141 reply
2/2hw/i2c/aspeed_i2c: Increase I2C device register size to 0xA0hw/i2c/aspeed_i2c.c include/hw/i2c/aspeed_i2c.h+19 -191 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchCédric Le Goater
1/2R-b
2/2R-b

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

Read the v2 thread

Cover letter [PATCH v2 0/2] hw/i2c/aspeed_i2c: Fix out-of-bounds read in I2C MMIO

v1:
1. Fix Out-of-Bounds access by using dynamic register array

v2:
1. Fix Out-of-Bounds access by increasing static array size
2. Increase I2C device register size to 0xA0 for AST2700 A1

Jamin Lin (2):
hw/i2c/aspeed_i2c: Fix out-of-bounds read in I2C MMIO handlers hw/i2c/aspeed_i2c: Increase I2C device register size to 0xA0

 include/hw/i2c/aspeed_i2c.h |  3 +-
 hw/i2c/aspeed_i2c.c         | 58 ++++++++++++++++++-------------------
 2 files changed, 29 insertions(+), 32 deletions(-)
Signature · 1 line
2.43.0