🇰🇷 한글 설명
Linux kernel의 lantiq_etop 드라이버에서 Ethernet 프레임 padding 시 버퍼가 제로화되지 않아 메모리 내용이 네트워크를 통해 노출되는 취약점입니다. skb_put_padto() 함수를 사용하여 버퍼를 제로화하며, 패딩 실패 시 패킷을 드롭합니다.
💡 쉬운 설명
네트워크 데이터를 전송할 때 패딩(빈 공간 채우기) 과정에서 이전 메모리 내용이 그대로 노출되는 문제입니다. 이를 통해 시스템의 민감한 정보가 네트워크를 통해 유출될 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
net: ethernet: lantiq_etop: fix memory disclosure
When applying padding, the buffer is not zeroed, which results in memory
disclosure. The mentioned data is observed on the wire. This patch uses
skb_put_padto() to pad Ethernet frames properly. The mentioned function
zeroes the expanded buffer.
In case the packet cannot be padded it is silently dropped. Statistics
are also not incremented. This driver does not support statistics in the
old 32-bit format or the new 64-bit format. These will be added in the
future. In its current form, the patch should be easily backported to
stable versions.
Ethernet MACs on Amazon-SE and Danube cannot do padding of the packets
in hardware, so software padding must be applied.
📍 영향받는 시스템
Linux kernel lantiq_etop 드라이버를 사용하는 Amazon-SE, Danube 기반 시스템
⚔️ 공격 벡터
취약한 네트워크 드라이버를 통과하는 Ethernet 패킷을 수집하여 패딩된 메모리 영역에서 민감 정보 추출
🛡️ 대응 방법
Linux kernel 업데이트를 통해 skb_put_padto() 함수 사용으로 버퍼 제로화 구현
🔧 검증 코드
kernel 버전이 패치된 버전 이상인지 확인하고, /proc/version에서 lantiq_etop 관련 설정 여부 확인
uname -r | grep -oE '[0-9]+\.[0-9]+\.[0-9]+' && cat /proc/version