Skip to content

i2c: designware: Misc small fixes

Jean Delvare linux-i2c 1 version In review

Get series with b4
b4 am 20250918160341.39b66013@endymion

Versions newest first

  1. v1 Latest3 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3i2c: designware: Use msgs[0] to validate the slave addressdrivers/i2c/busses/i2c-designware-master.c+2 -41 reply
2/3i2c: designware: Extend check for mixed slave addressesdrivers/i2c/busses/i2c-designware-master.c+14 -144 replies
3/3i2c: designware: Turn models back to enumerated valuesdrivers/i2c/busses/i2c-designware-core.h+4 -43 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJarkko NikulaWolfram Sang
SeriesA-b T-b
1/3R-b
2/3A-b
3/3R-b

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 0/3] i2c: designware: Misc small fixes

Hi all,

While working on CVE-2025-38380, I noticed a few issues in the i2c-designware driver, which I think are worth fixing now to make future driver development safer and easier.

[PATCH 1/3] i2c: designware: Use msgs[0] to validate the slave address [PATCH 2/3] i2c: designware: Extend check for mixed slave addresses [PATCH 3/3] i2c: designware: Turn models back to enumerated values

Note that I do not own any supported device so I can't test these changes. Even though the fixes are rather straightforward, I would appreciate if someone can test them on actual hardware, to be on the safe side.

Thanks,

Signature · 2 lines
Jean Delvare
SUSE L3 Support