🔍 CVE-2026-17051

6.0
CVSS Score
MEDIUM
2026-09-21
2026-09-22 19:41
✅ 완료

🇰🇷 한글 설명

Intel SEDI IPM 드라이버의 ipm_event_dispose() 함수에서 입력 메시지의 길이를 검증하지 않아 발생하는 버퍼 오버플로우 취약점입니다. 공격자가 도어벨 레지스터를 통해 최대 1023바이트의 길이를 설정하면, 128바이트 크기의 버퍼를 초과하여 커널 정적 메모리에 데이터를 쓸 수 있습니다. 이로 인해 커널 데이터 구조가 손상되어 시스템 충돌이나 권한 상승이 발생할 수 있습니다.

💡 쉬운 설명

컴퓨터 내부 부품끼리 대화할 때 사용하는 통로에서, 상대방이 보내는 메시지 크기를 제대로 확인하지 않아 발생하는 문제입니다. 너무 큰 메시지를 보내면 컴퓨터의 중요한 메모리 영역을 덮어써서 시스템이 멈추거나 해킹될 위험이 있습니다.

🇺🇸 원문 (English)

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.

📍 영향받는 시스템

Intel SEDI IPM 드라이버가 포함된 시스템 (intel_ish_5_* 타겟 포함)

⚔️ 공격 벡터

드라이버 수준 또는 BAR 접근 권한을 가진 호스트 소프트웨어가 도어벨 레지스터의 길이를 조작하여 인터럽트 발생

🛡️ 대응 방법

도어벨에 인코딩된 길이가 IPC_DATA_LEN_MAX를 초과하는지 확인하고 거부하도록 드라이버 패치 적용

🔧 검증 코드

명령어 결과에 ipm_sedi 모듈이 로드되어 있는지 확인하여 해당 드라이버의 사용 여부를 파악합니다.

Shell / Script
lsmod | grep ipm_sedi

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H

💻 영향받는 소프트웨어

Spring Data REST