Linux
i2c: rtl9300: Fix out-of-bounds bug in rtl9300_i2c_smbus_xfer
In the Linux kernel, the following vulnerability has been resolved: i2c: rtl9300: Fix out-of-bounds bug in rtl9300_i2c_smbus_xfer The data->block[0] variable comes from user. Without proper check, the variable may be very large to cause an out-of-bounds bug. Fix this bug by checking the value of data->block[0] first. 1. commit 39244cc75482 ("i2c: ismt: Fix an out-of-bounds bug in ismt_access()") 2. commit 92fbb6d1296f ("i2c: xgene-slimpro: Fix out-of-bounds bug in xgene_slimpro_i2c_xfer()")
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= c366be720235301fdadf67e6f1ea6ff32669c074, < 071e43fcba5ddd9a7813e6cc0aa10299eae41b21
- >= c366be720235301fdadf67e6f1ea6ff32669c074, < 57f312b955938fc4663f430cb57a71f2414f601b
Fixed in 071e43fcba5ddd9a7813e6cc0aa10299eae41b21, 57f312b955938fc4663f430cb57a71f2414f601b
- 6.13
Fixed in 0, 6.16.4, 6.17
Mitigation
Upgrade Linux to 071e43fcba5ddd9a7813e6cc0aa10299eae41b21 or 57f312b955938fc4663f430cb57a71f2414f601b or later.
Upgrade Linux to 0 or 6.16.4 or 6.17 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.