🇰🇷 한글 설명
Linux 커널의 airoha 네트워크 드라이버에서 foe_check_time 할당 크기 오류가 발견되었습니다. u16 포인터에 대해 실제 필요한 크기보다 적은 바이트가 할당되어, 특정 조건에서 힙 버퍼 오버플로우와 커널 충돌을 유발할 수 있습니다.
💡 쉬운 설명
메모리를 저장할 공간을 만들 때 실제 필요한 양보다 너무 작게 만드는 실수가 있었습니다. 이로 인해 넘쳐흐른 데이터가 다른 영역을 침범하여 컴퓨터 시스템이 멈추거나 해킹될 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
net: airoha: fix foe_check_time allocation size
foe_check_time is declared as u16 pointer but was allocated with
only ppe_num_entries bytes instead of ppe_num_entries * sizeof(u16).
When airoha_ppe_foe_verify_entry() is called with hash >= ppe_num_entries/2,
it writes beyond the allocated buffer, causing heap buffer overflow and
potential kernel crash.
📍 영향받는 시스템
Linux kernel (airoha network driver 포함 버전)
⚔️ 공격 벡터
특정 해시 값을 포함한 네트워크 패킷을 전송하여 커널 메모리 오버플로우 유도
🛡️ 대응 방법
airoha 드라이버의 foe_check_time 할당 로직이 수정된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 패치된 최신 보안 업데이트 버전인지 확인