🇰🇷 한글 설명
Linux 커널의 OMAP SSI 드라이버에서 SSI 컨트롤러 장치에 대한 DMA 마스크 설정이 누락된 취약점이 발견되었습니다. 최근 DMA API 보안 강화로 인해 유효한 DMA 마스크가 없는 상태에서 DMA 매핑을 시도할 경우 시스템 충돌이나 경고가 발생할 수 있습니다.
💡 쉬운 설명
컴퓨터 부품이 데이터를 주고받는 통로인 DMA 설정이 빠져 있어서 시스템이 갑자기 멈추거나 오류가 날 수 있는 문제입니다. 하드웨어 성능에 맞춰 통로 크기를 명확히 지정해줌으로써 이 문제를 해결할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
hsi: omap_ssi_core: fix missing DMA mask setup for SSI controller device
The OMAP SSI driver uses a synthetic HSI controller device allocated via
hsi_alloc_controller(), which does not go through the normal OF/platform
device initialization path.
As a result, the embedded struct device does not have a DMA mask
initialized by default.
After recent DMA API hardening changes, dma_map_sg() and related helpers
now require a valid dma_mask to be present, otherwise the driver may
crash or trigger warnings when attempting DMA mapping operations.
Fix this by explicitly initializing the DMA mask for the SSI controller
device and setting a 32-bit DMA mask, which matches the hardware
capabilities.
📍 영향받는 시스템
DMA API 강화 패치가 적용된 최신 Linux 커널을 사용하는 OMAP 기반 임베디드 시스템
⚔️ 공격 벡터
직접적인 원격 공격보다는 특정 하드웨어 동작 시 시스템 충돌을 유발하는 서비스 거부(DoS) 형태의 취약점
🛡️ 대응 방법
SSI 컨트롤러 장치에 32비트 DMA 마스크를 명시적으로 설정하는 커널 패치 적용
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전인지 확인