🇰🇷 한글 설명
Linux 커널의 igb 드라이버에서 ethtool 루프백 테스트 실행 시 NULL 포인터 역참조가 발생하는 취약점입니다. 테스트 링 설정 시 인터럽트가 추가되지 않아 q_vector가 할당되지 않음으로써 발생하며, 커널 패닉을 유발할 수 있습니다.
💡 쉬운 설명
네트워크 카드의 성능을 테스트하는 기능을 사용할 때 시스템이 갑자기 멈추거나 꺼질 수 있는 오류입니다. 특정 설정값이 비어있는 상태에서 시스템이 이를 참조하려고 시도하기 때문에 발생합니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
igb: Fix NULL pointer dereference in ethtool loopback test
The igb driver currently causes a NULL pointer dereference when executing
the ethtool loopback test. This occurs because there is no associated
q_vector for the test ring when it is set up, as interrupts are typically
not added to the test rings.
Since commit 5ef44b3cb43b removed the napi_id assignment in
__xdp_rxq_info_reg(), there is no longer a need to pass a napi_id to it.
Therefore, simply use 0 as the last parameter.
📍 영향받는 시스템
igb 드라이버를 사용하는 Linux 커널 시스템
⚔️ 공격 벡터
로컬 권한을 가진 사용자가 ethtool을 통해 루프백 테스트를 실행하여 발생
🛡️ 대응 방법
igb 드라이버의 NULL 포인터 역참조 수정 사항이 포함된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 패치된 버전인지 배포판 보안 공지를 통해 확인