🇰🇷 한글 설명
Linux 커널의 net/sched 구성 요소에서 mirred 액션을 통한 패킷 리다이렉션 시 루프 감지 기능이 실패하는 취약점입니다. 패킷이 백로그로 지연되거나 sched_mirred_dev 배열이 초기화되면서 발생하던 무한 루프 상태 감지 오류가 수정되었습니다.
💡 쉬운 설명
네트워크 패킷이 특정 장치 사이를 무한히 뱅글뱅글 도는 '루프' 현상이 발생해도 시스템이 이를 알아차리지 못하는 문제입니다. 이로 인해 네트워크 트래픽이 과도하게 발생하여 시스템 성능이 저하될 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
net/sched: Fix ethx:ingress -> ethy:egress -> ethx:ingress mirred loop
When mirred redirects to ingress (from either ingress or egress) the loop
state from sched_mirred_dev array dev is lost because of 1) the packet
deferral into the backlog and 2) the fact the sched_mirred_dev array is
cleared. In such cases, if there was a loop we won't discover it.
Here's a simple test to reproduce:
ip a add dev port0 10.10.10.11/24
tc qdisc add dev port0 clsact
tc filter add dev port0 egress protocol ip \
prio 10 matchall action mirred ingress redirect dev port1
tc qdisc add dev port1 clsact
tc filter add dev port1 ingress protocol ip \
prio 10 matchall action mirred egress redirect dev port0
ping -c 1 -W0.01 10.10.10.10
📍 영향받는 시스템
Linux Kernel (mirred action을 사용하는 환경)
⚔️ 공격 벡터
네트워크 트래픽 제어(tc) 설정을 조작하여 패킷이 두 인터페이스 사이를 무한 반복하도록 유도
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인