🇰🇷 한글 설명
Linux 커널의 XDP_SHARED_UMEM 모드에서 동일한 umem에 바인딩된 두 번째 이상의 소켓에 대해 패킷이 손상되는 취약점입니다. DMA 주소 초기화가 첫 번째 소켓에 대해서만 수행되어 발생하는 문제로, 모든 소켓에 대해 DMA 주소를 채우도록 수정되었습니다.
💡 쉬운 설명
네트워크 데이터를 처리하는 과정에서 데이터 주소를 제대로 설정하지 못해 데이터가 깨지는 현상이 발생합니다. 특히 하나의 통로를 여러 프로그램이 나누어 쓸 때 두 번째 프로그램부터 데이터가 망가질 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
xsk: Fix corrupted packets for XDP_SHARED_UMEM
Fix an issue in XDP_SHARED_UMEM mode together with aligned mode where
packets are corrupted for the second and any further sockets bound to
the same umem. In other words, this does not affect the first socket
bound to the umem. The culprit for this bug is that the initialization
of the DMA addresses for the pre-populated xsk buffer pool entries was
not performed for any socket but the first one bound to the umem. Only
the linear array of DMA addresses was populated. Fix this by populating
the DMA addresses in the xsk buffer pool for every socket bound to the
same umem.
📍 영향받는 시스템
XDP_SHARED_UMEM 및 aligned mode를 사용하는 Linux 커널
⚔️ 공격 벡터
공격자가 의도적으로 조작된 네트워크 패킷을 전송하여 데이터 무결성을 파괴하거나 서비스 오류를 유발할 수 있음
🛡️ 대응 방법
해당 취약점이 수정된 최신 버전의 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 패치된 배포판의 보안 업데이트 버전인지 확인