CVE-2026-142948: i2c: designware: queue only one read command for block reads
In the Linux kernel, the following vulnerability has been resolved:
i2c: designware: queue only one read command for block reads
i2cdwxfermsg() pre-queues up to rxfifodepth read commands based on the initial msg.len. For I2CMRECVLEN transfers the real length is unknown until the first byte arrives and i2cdwrecvlen() runs. When a large initial length is passed, the surplus pre-queued reads leave rxoutstanding non-zero after i2cdwrecvlen() adjusts msg.len, so the completion condition is never met and the transfer times out. In a loop, this repeatedly times out the controller and disrupts unrelated driver-bound devices on the same adapter.
Queue only one read command while I2CMRECVLEN is pending. i2cdwrecvlen() re-enables TXEMPTY, and the rest are queued once the device-reported length is known.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.10.275 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.15.226 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.1.193 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.6.163 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.117 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.63 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.4 - Compensating control
In the Linux DesignWare I2C driver, queue only one read command while I2C_M_RECV_LEN is pending; queue the remaining reads after the first byte reveals the real length.
Event History
Frequently Asked Questions
Which systems are exposed to this issue?
Systems using the Linux DesignWare I2C driver are affected when they perform I2C_M_RECV_LEN block-read transfers with a large initial message length. Devices sharing the same I2C adapter can be disrupted by the resulting controller timeouts.
What must occur for the transfer to fail?
The block read must begin with an initial length large enough for the driver to pre-queue surplus read commands before the device reports its actual length. After the actual length is applied, outstanding queued reads can prevent the transfer completion condition from being reached.
How might an affected system behave?
The affected block-read transfer times out. If it is retried in a loop, the controller repeatedly times out and can disrupt unrelated driver-bound devices on the same I2C adapter.