🇰🇷 한글 설명
Linux 커널의 EDAC/i10nm 드라이버에서 Intel Granite Rapids 서버 사용 시 발생하는 취약점입니다. 메모리 컨트롤러가 비활성화된 상태에서 DIMM 열거를 시도할 때 잘못된 레지스터 값으로 인해 UBSAN shift-out-of-bounds 오류가 발생합니다.
💡 쉬운 설명
컴퓨터의 메모리 관리 장치가 꺼져 있는데도 시스템이 메모리를 찾으려고 시도하다가 계산 오류를 일으키는 문제입니다. 이로 인해 시스템 로그에 오류가 기록되거나 예기치 않은 동작이 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
EDAC/i10nm: Skip DIMM enumeration on a disabled memory controller
When loading the i10nm_edac driver on some Intel Granite Rapids servers,
a call trace may appear as follows:
UBSAN: shift-out-of-bounds in drivers/edac/skx_common.c:453:16
shift exponent -66 is negative
...
__ubsan_handle_shift_out_of_bounds+0x1e3/0x390
skx_get_dimm_info.cold+0x47/0xd40 [skx_edac_common]
i10nm_get_dimm_config+0x23e/0x390 [i10nm_edac]
skx_register_mci+0x159/0x220 [skx_edac_common]
i10nm_init+0xcb0/0x1ff0 [i10nm_edac]
...
This occurs because some BIOS may disable a memory controller if there
aren't any memory DIMMs populated on this memory controller. The DIMMMTR
register of this disabled memory controller contains the invalid value
~0, resulting in the call trace above.
Fix this call trace by skipping DIMM enumeration on a disabled memory
controller.
📍 영향받는 시스템
Intel Granite Rapids 서버를 사용하는 Linux 커널 시스템 (i10nm_edac 드라이버 포함)
⚔️ 공격 벡터
로컬 시스템 환경(BIOS 설정 및 하드웨어 구성)에 의한 간접적 영향
🛡️ 대응 방법
비활성화된 메모리 컨트롤러에 대한 DIMM 열거를 건너뛰도록 수정된 최신 Linux 커널로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 패치된 최신 버전인지 확인하십시오.