🇰🇷 한글 설명
Linux 커널의 i40e 드라이버에서 MAC 주소 목록이 비어있을 때 list_first_entry() 함수가 NULL 대신 유효하지 않은 메모리 주소를 반환하여 잠재적인 메모리 접근 위반이 발생할 수 있다. list_first_entry_or_null() 함수로 대체하여 수정된다.
💡 쉬운 설명
Linux 네트워크 드라이버(i40e)가 빈 목록을 처리할 때 잘못된 메모리에 접근하는 버그입니다. 시스템 충돌이나 권한 상승 공격에 악용될 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
i40e: Fix potential invalid access when MAC list is empty
list_first_entry() never returns NULL - if the list is empty, it still
returns a pointer to an invalid object, leading to potential invalid
memory access when dereferenced.
Fix this by using list_first_entry_or_null instead of list_first_entry.
📍 영향받는 시스템
Linux kernel with i40e (Intel 40Gb Ethernet) driver; versions before patch applied
⚔️ 공격 벡터
Local privilege escalation or kernel denial of service through crafted network operations triggering empty MAC list condition
🛡️ 대응 방법
Update Linux kernel to version with i40e driver patch; rebuild kernel module if custom compiled
🔧 검증 코드
현재 커널 버전을 확인하고 i40e 드라이버 유무를 판단; 확인 후 보안 업데이트된 최신 커널로 업그레이드 필요
uname -r && grep -q i40e /lib/modules/$(uname -r)/modules.builtin && echo 'i40e module present' || lsmod | grep -q i40e && echo 'i40e loaded'