🇰🇷 한글 설명
Linux 커널의 am65-cpsw-nuss 이더넷 드라이버에서 skb_shared_info 메모리 할당 누락 문제가 발견되었습니다. build_skb() 전환 과정에서 skb_shared_info를 위한 메모리 공간이 충분히 확보되지 않아 메모리 손상 가능성이 있습니다.
💡 쉬운 설명
네트워크 데이터를 처리할 때 필요한 메모리 공간을 계산하는 과정에서 실수로 일부 공간을 빼먹은 버그입니다. 이로 인해 데이터가 정해진 범위를 벗어나 다른 메모리 영역을 침범할 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
net: ethernet: ti: am65-cpsw-nuss: Fix skb size by accounting for skb_shared_info
While transitioning from netdev_alloc_ip_align() to build_skb(), memory
for the "skb_shared_info" member of an "skb" was not allocated. Fix this
by allocating "PAGE_SIZE" as the skb length, accounting for the packet
length, headroom and tailroom, thereby including the required memory space
for skb_shared_info.
📍 영향받는 시스템
Linux kernel (am65-cpsw-nuss 드라이버를 사용하는 TI AM65 플랫폼 기반 시스템)
⚔️ 공격 벡터
특수하게 조작된 네트워크 패킷을 전송하여 메모리 오버플로우 유도
🛡️ 대응 방법
커널 패치가 적용된 최신 버전의 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인