🇰🇷 한글 설명
Linux 커널의 8250_mid 드라이버에서 Denverton, Ice Lake Xeon D, Snowridge 플랫폼 사용 시 NULL 함수 포인터를 참조하여 발생하는 취약점입니다. 특정 플랫폼에서 DMA를 비활성화하면서 콜백 함수가 NULL로 설정되었으나, 이를 호출할 때 NULL 체크를 수행하지 않아 커널 오류(Kernel Oops)가 발생합니다.
💡 쉬운 설명
특정 CPU를 사용하는 컴퓨터에서 시스템이 갑자기 멈추거나 오류가 발생할 수 있는 결함입니다. 프로그램이 존재하지 않는 명령을 실행하려고 시도할 때 발생하는 문제입니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
serial: 8250_mid: Fix NULL function pointer dereference on DNV/ICX-D/SNR platforms
Commit b1b4efea05a5 ("serial: 8250_mid: Disable DMA for selected
platforms") replaced the dnv_board setup and exit callbacks with
PTR_IF(false, ...), which evaluates to NULL. However, the three call
sites in mid8250_probe() and mid8250_remove() unconditionally
dereference these function pointers without NULL checks, causing a NULL
pointer dereference (kernel oops) on any Denverton (DNV), Ice Lake Xeon
D (ICX-D/CDF), or Snowridge (SNR) platform.
Fix this by adding the missing NULL checks before calling the setup and
exit callbacks.
📍 영향받는 시스템
Denverton(DNV), Ice Lake Xeon D(ICX-D/CDF), Snowridge(SNR) 플랫폼을 사용하는 Linux 커널 시스템
⚔️ 공격 벡터
로컬 공격자가 특정 하드웨어 환경에서 커널 패닉을 유도하여 시스템 가용성을 침해할 수 있음
🛡️ 대응 방법
커널 패치(Commit b1b4efea05a5 관련 수정 사항)를 적용하여 함수 호출 전 NULL 체크 로직을 포함해야 함
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인하십시오.