🇰🇷 한글 설명
리눅스 커널의 rtnetlink 구성 요소에서 IFLA_VF_VLAN_LIST 중첩 속성에 대한 검증 오류가 발견되었습니다. 속성 크기가 실제 구조체 크기보다 작을 경우, 잘못된 타입 캐스팅으로 인해 메모리 범위 외 읽기(Out-of-bounds read)가 발생할 수 있습니다.
💡 쉬운 설명
네트워크 설정 정보를 처리할 때 데이터의 크기를 제대로 확인하지 않아 발생하는 문제입니다. 공격자가 조작된 데이터를 보내면 컴퓨터의 메모리 영역을 잘못 읽어 들여 시스템 오류를 일으킬 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
rtnetlink: Correct nested IFLA_VF_VLAN_LIST attribute validation
Each attribute inside a nested IFLA_VF_VLAN_LIST is assumed to be a
struct ifla_vf_vlan_info so the size of such attribute needs to be at least
of sizeof(struct ifla_vf_vlan_info) which is 14 bytes.
The current size validation in do_setvfinfo is against NLA_HDRLEN (4 bytes)
which is less than sizeof(struct ifla_vf_vlan_info) so this validation
is not enough and a too small attribute might be cast to a
struct ifla_vf_vlan_info, this might result in an out of bands
read access when accessing the saved (casted) entry in ivvl.
📍 영향받는 시스템
IFLA_VF_VLAN_LIST 속성을 사용하는 리눅스 커널 버전
⚔️ 공격 벡터
조작된 크기의 rtnetlink 속성을 포함한 네트워크 설정 요청을 전송
🛡️ 대응 방법
리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
현재 실행 중인 커널 버전을 확인하여 해당 취약점이 해결된 패치 버전인지 확인합니다.