🇰🇷 한글 설명
리눅스 커널의 Cortina 이더넷 드라이버 내 gmac_rx() 함수에서 NAPI 예산 계산 오류가 발견되었습니다. 함수가 남은 예산 값을 반환함에 따라 호출자가 이를 수신된 패킷 수로 오인하여, 유휴 상태에서도 계속 스케줄링되는 문제가 발생합니다.
💡 쉬운 설명
네트워크 카드가 일을 하지 않을 때도 시스템이 일을 하고 있다고 착각하여 계속 자원을 낭비하는 버그입니다. 이로 인해 시스템 성능이 불필요하게 저하될 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
net: ethernet: cortina: Fix budget accounting
The gmac_rx() function returns the remaining NAPI budget, but its
caller treats the return value as the number of packets received. An
idle poll therefore reports a full budget and remains scheduled.
Return the number of received packets instead. Preserve the existing
free queue refill accounting by adding that count directly; continuing
to subtract it from the budget would invert the refill behavior.
📍 영향받는 시스템
Cortina 이더넷 드라이버를 사용하는 Linux Kernel 버전
⚔️ 공격 벡터
직접적인 공격은 어려우나, 시스템 자원 소모를 유발하는 서비스 거부(DoS) 형태의 영향 가능성 있음
🛡️ 대응 방법
해당 패치가 적용된 최신 리눅스 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인