# CVE-2025-38671: i2c: qup: jump out of the loop in case of timeout

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 14% of CVEs (2026-11-30)
- Published: 2025-08-22T16:03:02.151Z
- Modified: 2026-11-05T22:17:23.330Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from fbfab1ab065879370541caf0e514987368eb41b2 before cbec4406998185e0311ae97dfacc649f9cd79b0b; from fbfab1ab065879370541caf0e514987368eb41b2 before acfa2948be630ad857535cb36153697f3cbf9ca9; from fbfab1ab065879370541caf0e514987368eb41b2 before d05ec13aa3eb868a60dc961b489053a643863ddc; from fbfab1ab065879370541caf0e514987368eb41b2 before c523bfba46c4b4d7676fb050909533a766698ecd; from fbfab1ab065879370541caf0e514987368eb41b2 before 0d33913fce67a93c1eb83396c3c9d6b411dcab33; from fbfab1ab065879370541caf0e514987368eb41b2 before 42c4471b30fa203249f476dd42321cd7efb7f6a8; from fbfab1ab065879370541caf0e514987368eb41b2 before 89459f168b78e5c801dc8b7ad037b62898bc4f57; from fbfab1ab065879370541caf0e514987368eb41b2 before a7982a14b3012527a9583d12525cd0dc9f8d8934; 4.17 (not affected: before 4.17; from 5.4.297 up to 5.4.*; from 5.10.241 up to 5.10.*; from 5.15.190 up to 5.15.*; from 6.1.148 up to 6.1.*; from 6.6.101 up to 6.6.*; from 6.12.41 up to 6.12.*; from 6.15.9 up to 6.15.*; from 6.16 up to *)
- linux linux_kernel: from 4.17 before 5.4.297; from 5.5 before 5.10.241; from 5.11 before 5.15.190; from 5.16 before 6.1.148; from 6.2 before 6.6.101; from 6.7 before 6.12.41; from 6.13 before 6.15.9; 6.16
- debian debian_linux: 11.0

## References

- <https://git.kernel.org/stable/c/cbec4406998185e0311ae97dfacc649f9cd79b0b> (patch)
- <https://git.kernel.org/stable/c/acfa2948be630ad857535cb36153697f3cbf9ca9> (patch)
- <https://git.kernel.org/stable/c/d05ec13aa3eb868a60dc961b489053a643863ddc> (patch)
- <https://git.kernel.org/stable/c/c523bfba46c4b4d7676fb050909533a766698ecd> (patch)
- <https://git.kernel.org/stable/c/0d33913fce67a93c1eb83396c3c9d6b411dcab33> (patch)
- <https://git.kernel.org/stable/c/42c4471b30fa203249f476dd42321cd7efb7f6a8> (patch)
- <https://git.kernel.org/stable/c/89459f168b78e5c801dc8b7ad037b62898bc4f57> (patch)
- <https://git.kernel.org/stable/c/a7982a14b3012527a9583d12525cd0dc9f8d8934> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html> (third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html> (third-party-advisory)

## Sources

- CVE List: [CVE-2025-38671](https://www.cve.org/CVERecord?id=CVE-2025-38671), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2025-38671](https://nvd.nist.gov/vuln/detail/CVE-2025-38671), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2025-38671 · Whole record: https://cve.day/CVE-2025-38671.json · Rebuilt by cve.day 2026-11-25T22:59:03.556Z
