i2c: qup: jump out of the loop in case of timeout
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 0d33913fce67a93c1eb83396c3c9d6b411dcab33, Kernel 5.4.297, Kernel 5.15.190 and 12 more.
In the Linux kernel, the following vulnerability has been resolved: i2c: qup: jump out of the loop in case of timeout Original logic only sets the return value but doesn't jump out of the loop if the bus is kept active by a client. This is not expected. A malicious or buggy i2c client can hang the kernel in this case and should be avoided. This is observed during a long time test with a PCA953x GPIO extender. Fix it by changing the logic to not only sets the return value, but also jumps out of the loop and return to the caller with -ETIMEDOUT.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=fbfab1ab065879370541caf0e514987368eb41b2 <0d33913fce67a93c1eb83396c3c9d6b411dcab33, >=4.17 <5.4.297, >=5.11 <5.15.190, >=5.16 <6.1.148, >=5.5 <5.10.241, >=6.13 <6.15.9, >=6.2 <6.6.101, >=6.7 <6.12.41, =6.16, >=fbfab1ab065879370541caf0e514987368eb41b2 <d05ec13aa3eb868a60dc961b489053a643863ddc, >=fbfab1ab065879370541caf0e514987368eb41b2 <cbec4406998185e0311ae97dfacc649f9cd79b0b, >=fbfab1ab065879370541caf0e514987368eb41b2 <c523bfba46c4b4d7676fb050909533a766698ecd, >=fbfab1ab065879370541caf0e514987368eb41b2 <acfa2948be630ad857535cb36153697f3cbf9ca9, >=fbfab1ab065879370541caf0e514987368eb41b2 <a7982a14b3012527a9583d12525cd0dc9f8d8934, >=fbfab1ab065879370541caf0e514987368eb41b2 <89459f168b78e5c801dc8b7ad037b62898bc4f57, >=fbfab1ab065879370541caf0e514987368eb41b2 <42c4471b30fa203249f476dd42321cd7efb7f6a8, =4.17 | 0d33913fce67a93c1eb83396c3c9d6b411dcab33, 5.4.297, 5.15.190, 6.1.148, 5.10.241, 6.15.9, 6.6.101, 6.12.41, d05ec13aa3eb868a60dc961b489053a643863ddc, cbec4406998185e0311ae97dfacc649f9cd79b0b, c523bfba46c4b4d7676fb050909533a766698ecd, acfa2948be630ad857535cb36153697f3cbf9ca9, a7982a14b3012527a9583d12525cd0dc9f8d8934, 89459f168b78e5c801dc8b7ad037b62898bc4f57, 42c4471b30fa203249f476dd42321cd7efb7f6a8 |
| debian | debian_linux | =11.0 | |
| linux-kernel: Kernel | >=6.7.0 <6.12.41, >=6.2.0 <6.6.101, >=6.13.0 <6.15.9, >=5.5.0 <5.10.241, >=5.16.0 <6.1.148, >=5.11.0 <5.15.190, >=4.17.0 <5.4.297 | 6.12.41, 6.6.101, 6.15.9, 5.10.241, 6.1.148, 5.15.190, 5.4.297 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket