# CVE-2026-74463: i2c: jz4780: Cache host clock rate at probe to prevent CCF prepare_lock deadlock

- Severity: not scored yet
- 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.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2026-08-15T12:27:03.176Z
- Modified: 2026-08-19T17:21:03.237Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

i2c: jz4780: Cache host clock rate at probe to prevent CCF prepare_lock deadlock

Fix a severe AB/BA deadlock between the Common Clock Framework (CCF)
and the I2C adapter lock, which triggers when an I2C-controlled clock
generator client (like the Si5351) is registered or modified under the CCF.

During an i2c client clock (generator) frequency change, the CCF acquires its global
'prepare_lock' mutex and the driver calls i2c_transfer() to update the client's
chip registers, stalling for the adapter's I2C bus lock.

Concurrently, an independent, parallel transfer on the same bus (e.g., a GPIO
expander handling LEDs) can hold the I2C adapter lock. Inside this parallel
transfer path, jz4780_i2c_set_speed() calls clk_get_rate() on the host
controller's input clock to calculate bus timings. This call attempts to acquire
the blocked CCF 'prepare_lock', creating a circular dependency that freezes
the system.

The jz4780 host controller clock itself is static and never changes at runtime.

However, calling clk_get_rate() inside the active transfer path introduces
an unnecessary dependency on the CCF internal locks.

Eliminate this synchronous clk_get_rate() call from the active transfer
path by caching the static host peripheral clock rate once - inside the private
jz4780_i2c structure during jz4780_i2c_probe(). Update jz4780_i2c_set_speed()
to use this cached value, safely decoupling active I2C transactions from the
CCF internal locks without any risk of stale timings.

Assisted-by web based Google AI (pinpointing the bug and writing the message).

(As written by CVE List.)

## Affected

- Linux Linux: from ba92222ed63a12d09120df9b92f56cc990abac19 before cc111696ef420f6bb552b2526530067977f0b406; from ba92222ed63a12d09120df9b92f56cc990abac19 before f96a719d9f8a797105ec5cacf568ab128e33391f; from ba92222ed63a12d09120df9b92f56cc990abac19 before deffad5bb4f8b4f09e46252f24754ddc9960b244; from ba92222ed63a12d09120df9b92f56cc990abac19 before 14429dc1c756c35e106f01ff09cadccb82f5531d; from ba92222ed63a12d09120df9b92f56cc990abac19 before b6cb47e186abba85a3b08aa3023067ab82577286; from ba92222ed63a12d09120df9b92f56cc990abac19 before 19b783335d62e7a2367436a6e1f1b37da1878360; from ba92222ed63a12d09120df9b92f56cc990abac19 before aa1944b52d6492c48bdd17046578aa0d953546e6; from ba92222ed63a12d09120df9b92f56cc990abac19 before d99607c888f26e8a4e9fe9772860cef4aff86bb4; 4.1 (not affected: before 4.1; from 5.10.265 up to 5.10.*; from 5.15.216 up to 5.15.*; from 6.1.183 up to 6.1.*; from 6.6.151 up to 6.6.*; from 6.12.103 up to 6.12.*; from 6.18.44 up to 6.18.*; from 7.1.8 up to 7.1.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/cc111696ef420f6bb552b2526530067977f0b406>
- <https://git.kernel.org/stable/c/f96a719d9f8a797105ec5cacf568ab128e33391f>
- <https://git.kernel.org/stable/c/deffad5bb4f8b4f09e46252f24754ddc9960b244>
- <https://git.kernel.org/stable/c/14429dc1c756c35e106f01ff09cadccb82f5531d>
- <https://git.kernel.org/stable/c/b6cb47e186abba85a3b08aa3023067ab82577286>
- <https://git.kernel.org/stable/c/19b783335d62e7a2367436a6e1f1b37da1878360>
- <https://git.kernel.org/stable/c/aa1944b52d6492c48bdd17046578aa0d953546e6>
- <https://git.kernel.org/stable/c/d99607c888f26e8a4e9fe9772860cef4aff86bb4>

## Sources

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

---

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