Katalog CVE

CVE-2026-10683

NiskieCVSS 2.4
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.14%

Percentyl 4 - wyżej niż 4% wszystkich znanych CVE

Streszczenie

W sterowniku I2C Synopsys DesignWare (drivers/i2c/i2c_dw.c) działającym w trybie target/slave, procedura obsługi przerwania rx_full blokuje wywołanie zwrotne write_requested() na podstawie stanu dw->state != CMD_SEND, a dw->state jest resetowany tylko na przerwanie STOP. Przerwanie START_DET, które resetowałoby stan przy każdym (re)START, nie zostało dodane do maski włączonych przerwań w i2c_dw_slave_register(), więc ta ścieżka odzyskiwania była martwym kodem. W rezultacie, jeśli przerwanie STOP zostanie utracone lub master wyda sekwencję WRITE-repeated-START-WRITE, sterownik pozostaje w stanie CMD_SEND na stałe i nigdy nie wywołuje write_requested() ponownie.

Ocena ryzyka

Master I2C na tej samej magistrali może celowo wywołać tę sytuację, powodując awarię funkcji target I2C dla wszystkich kolejnych transakcji zapisu, co prowadzi do odmowy usługi (DoS) urządzenia peryferyjnego, możliwej do odzyskania przez reset.

Rekomendacja

Należy zastosować poprawkę, która odmaskowuje przerwanie START_DET, aby stan był resetowany przy każdym (re)START magistrali.

Oryginalny opis (angielski, źródło NVD)

In the Synopsys DesignWare I2C driver (drivers/i2c/i2c_dw.c) operating in target/slave mode, the rx_full interrupt handler gates the write_requested() callback on dw->state != CMD_SEND, and dw->state is only reset to READY on a STOP interrupt. The START_DET interrupt, whose handler in i2c_dw_slave_read_clear_intr_bits() would reset the state on every (re)START, was never added to the enabled interrupt mask in i2c_dw_slave_register(), so that recovery path was dead code. As a result, if the STOP interrupt is lost (bus glitch/reset, or a concurrent master driving STOP) or the bus master issues a legal WRITE-repeated-START-WRITE sequence with the same direction, the driver remains in CMD_SEND permanently and never invokes write_requested() again for the life of the target. An I2C master on the same physical bus can deliberately trigger this, causing the I2C target function to malfunction for all subsequent write transactions and desynchronizing consumer framing state (e.g. MCTP-over-I2C), a recoverable-by-reset denial of service of the target peripheral. The fix unmasks START_DET so the state is reset at every bus (re)START. Impact is availability-only over a local board-level bus; no memory corruption results in the in-tree consumer, whose per-byte buffer write is independently bounds-checked.

Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS