🇰🇷 한글 설명
Linux 커널의 ethtool 구성 요소에서 발생하는 취약점으로, Netlink 중첩 리스트의 인덱스 범위를 검증하지 않아 발생합니다. 공격자가 제어하는 Netlink 중첩 항목의 수가 할당된 메모리 크기(5개)를 초과할 경우 커널 메모리 오버플로우가 발생할 수 있습니다.
💡 쉬운 설명
네트워크 설정을 변경하는 과정에서 시스템이 허용된 범위를 넘어서는 잘못된 데이터를 입력받아 메모리를 망가뜨릴 수 있는 문제입니다. 이를 통해 공격자가 시스템의 제어권을 획득하거나 시스템을 중단시킬 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
ethtool: coalesce: cap profile updates at NET_DIM_PARAMS_NUM_PROFILES
ethnl_update_profile() walks the ETHTOOL_A_PROFILE_IRQ_MODERATION
nest list with an index 'i' and writes new_profile[i++] without
bounding i. The destination is kmemdup()'d at NET_DIM_PARAMS_NUM_PROFILES
entries (5), but the Netlink nest count is entirely user-controlled.
Netlink policies do not have support for constraining the number
of nested entries (or number of multi-attr entries).
📍 영향받는 시스템
Linux Kernel (ethtool 구성 요소가 포함된 버전)
⚔️ 공격 벡터
조작된 Netlink 메시지를 전송하여 커널 메모리 오버플로우 유도
🛡️ 대응 방법
커널 업데이트를 통해 ethtool의 인덱스 범위 검증 로직이 적용된 최신 패치 적용
🔧 검증 코드
출력된 커널 버전이 취약점이 해결된 최신 패치 버전인지 배포판 보안 공지를 통해 확인하십시오.