🇰🇷 한글 설명
Linux 커널의 네트워크 브리지 모듈에서 멀티캐스트 포트 정리 과정이 재귀적으로 호출되는 문제가 해결되었습니다. 다수의 STAR_EXCL 포트가 존재할 경우 포트마다 커널 스택 프레임이 소모되어 스택 가드 페이지에 도달할 수 있었습니다. 이번 수정으로 S,G 항목 처리 중에는 해당 제외 포트 정리가 억제됩니다.
💡 쉬운 설명
리눅스 시스템의 가상 네트워크 스위치 기능에서 멀티캐스트 설정을 정리할 때 같은 작업이 계속 반복되어 메모리 공간이 부족해질 수 있었습니다. 이 문제는 반복 호출을 막는 방식으로 수정되었습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
net: bridge: avoid recursive multicast port cleanup
br_multicast_sg_del_exclude_ports() removes automatically added STAR_EXCL
port groups by calling br_multicast_del_pg(). For S,G entries, that
deletion calls back into br_multicast_sg_del_exclude_ports(), so a large
number of STAR_EXCL ports consumes one kernel stack frame per port and can
hit the stack guard page.
Keep the complete port-group deletion path for cleanup, but suppress the
S,G exclude-port cleanup while that helper is already walking the same
entry. Normal deletion callers retain the existing behavior.
📍 영향받는 시스템
패치 적용 전의 Linux 커널 (net/bridge 멀티캐스트 기능 사용 환경, 정확한 영향 버전은 확인 필요)
⚔️ 공격 벡터
다수의 STAR_EXCL 포트를 생성하여 커널 스택을 소진시키는 방식으로 서비스 거부(커널 패닉 등)를 유도할 수 있는 것으로 보임
🛡️ 대응 방법
배포판 벤더가 제공하는 최신 커널 보안 업데이트를 적용하고 재부팅
🔧 검증 코드
출력된 커널 버전을 배포판 보안 공지와 대조하여 해당 수정이 포함된 빌드인지 확인하며, 버전 정보만으로 패치 여부를 확정할 수 없으므로 벤더 changelog도 함께 확인