🇰🇷 한글 설명
Linux 커널의 ntb_hw_switchtec 드라이버에서 Memory Window LUT 개수가 0으로 설정될 때 rounddown_pow_of_two 함수 호출로 인한 shift-out-of-bounds undefined behavior 발생 취약점입니다. 패치는 rounddown_pow_of_two를 유효한 값에만 호출하도록 조건을 추가하여 문제를 해결합니다.
💡 쉬운 설명
Linux 커널의 하드웨어 인터페이스 드라이버에서 특정 설정에서 발생하는 메모리 계산 오류로 시스템이 비정상 동작할 수 있습니다. 커널 업데이트를 통해 조건 검증을 추가하여 방지할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
ntb: ntb_hw_switchtec: Fix shift-out-of-bounds for 0 mw lut
Number of MW LUTs depends on NTB configuration and can be set to zero,
in such scenario rounddown_pow_of_two will cause undefined behaviour and
should not be performed.
This patch ensures that rounddown_pow_of_two is called on valid value.
📍 영향받는 시스템
NTB switchtec hardware driver가 포함된 Linux kernel (패치 미적용 버전)
⚔️ 공격 벡터
NTB 설정이 0 MW LUT인 시스템에 대한 로컬 접근을 통한 커널 메모리 오류 유발
🛡️ 대응 방법
ntb_hw_switchtec shift-out-of-bounds 패치가 포함된 Linux 커널로 업데이트
🔧 검증 코드
현재 커널 버전을 확인하여 CVE-2026-43141 패치가 포함된 버전 이상인지 확인합니다. NTB switchtec 드라이버 소스코드에서 MW LUT 유효성 검사 조건이 추가되었는지 확인할 수 있습니다.