Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2025-38671

i2c: qup: jump out of the loop in case of timeout

Description

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • fbfab1ab065879370541caf0e514987368eb41b2 to < cbec4406998185e0311ae97dfacc649f9cd79b0baffected
  • fbfab1ab065879370541caf0e514987368eb41b2 to < acfa2948be630ad857535cb36153697f3cbf9ca9affected
  • fbfab1ab065879370541caf0e514987368eb41b2 to < d05ec13aa3eb868a60dc961b489053a643863ddcaffected
  • fbfab1ab065879370541caf0e514987368eb41b2 to < c523bfba46c4b4d7676fb050909533a766698ecdaffected
  • fbfab1ab065879370541caf0e514987368eb41b2 to < 0d33913fce67a93c1eb83396c3c9d6b411dcab33affected
  • fbfab1ab065879370541caf0e514987368eb41b2 to < 42c4471b30fa203249f476dd42321cd7efb7f6a8affected
  • fbfab1ab065879370541caf0e514987368eb41b2 to < 89459f168b78e5c801dc8b7ad037b62898bc4f57affected
  • fbfab1ab065879370541caf0e514987368eb41b2 to < a7982a14b3012527a9583d12525cd0dc9f8d8934affected

Linux Linux

Default version status: affected

  • 4.17affected
  • 0 to < 4.17unaffected
  • 5.4.297 to ≤ 5.4.*unaffected
  • 5.10.241 to ≤ 5.10.*unaffected
  • 5.15.190 to ≤ 5.15.*unaffected
  • 6.1.148 to ≤ 6.1.*unaffected
  • 6.6.101 to ≤ 6.6.*unaffected
  • 6.12.41 to ≤ 6.12.*unaffected
  • 6.15.9 to ≤ 6.15.*unaffected
  • 6.16 to ≤ *unaffected

References