Katalog CVE

CVE-2026-17051

ŚrednieCVSS 6.0
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.16%

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

Streszczenie

Sterownik Intel SEDI IPM (drivers/ipm/ipm_sedi.c) nie sprawdza długości komunikatu odczytanej z rejestru doorbell przed skopiowaniem danych do bufora incoming_data_buf. Pole długości (10 bitów) pozwala na zapis do 1023 bajtów, podczas gdy bufor ma tylko 128 bajtów, a kontrola granic w HAL jest kompilowana tylko przy włączonym CONFIG_DEBUG. Prowadzi to do zapisu poza bufor w kontekście przerwania, co może uszkodzić struktury jądra i spowodować awarię systemu.

Ocena ryzyka

Lokalny atakujący z dostępem do rejestrów BAR lub sterownika ISH po stronie hosta może wywołać zapis poza bufor w jądrze, co prowadzi do uszkodzenia danych jądra, awarii systemu lub potencjalnie eskalacji uprawnień. Podatność jest osiągalna zdalnie przez procesor współpracujący (peer) w konfiguracjach intel_ish_5_*.

Rekomendacja

Należy natychmiast zaktualizować sterownik do wersji zawierającej poprawkę, która odrzuca komunikaty o długości przekraczającej IPC_DATA_LEN_MAX. Jeśli aktualizacja nie jest możliwa, należy ograniczyć dostęp do interfejsu IPM i rejestrów BAR dla niezaufanego oprogramowania.

Powiązane podatności

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

The Intel SEDI IPM (inter-processor mailbox) driver in drivers/ipm/ipm_sedi.c handles an inbound message interrupt in ipm_event_dispose(). It read the peer-written doorbell register, extracted the payload length with IPC_HEADER_GET_LENGTH(), and passed that length straight to sedi_ipc_read_msg() to copy the message into struct ipm_sedi_context.incoming_data_buf, without checking it against the buffer size. The doorbell length field is 10 bits wide (IPC_HEADER_LENGTH_MASK is 0x03FF), so it can encode up to 1023 bytes, while incoming_data_buf is IPC_DATA_LEN_MAX (128) bytes. The bounds check in the underlying HAL sedi_ipc_read_msg() is a DBG_CHECK that compiles away unless CONFIG_DEBUG is set, so no check remained in a production image. The doorbell register is written by the peer processor on the other side of the IPC link — for the intel_ish_5_* targets, the host CPU's ISH driver, reached through the device's memory-mapped register window. Host-side software with driver-level or raw BAR access can therefore set a length of up to 1023 and cause the interrupt handler to copy far past the destination buffer. The affected path requires an application to have registered an IPM receive callback via ipm_register_callback(), which is the driver's normal mode of use. The result is an out-of-bounds write of up to 895 bytes into static (.bss) memory, performed in interrupt context. The overflow first clobbers the rest of struct ipm_sedi_context — including the k_sem and k_mutex used by the transmit path, whose wait queues contain self-referential list pointers — and then adjacent static data, giving a kernel data-structure corruption and crash primitive. The overflowing bytes are read from registers following the message window, a portion of which are themselves peer-programmable. The fix rejects any doorbell whose encoded length exceeds IPC_DATA_LEN_MAX, logging it and acknowledging the doorbell so the peer is not left waiting.

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