🇰🇷 한글 설명
Linux 커널의 DSA(Distributed Switch Architecture) 드라이버에서 sja1105 칩셋 사용 시 발생하는 취약점입니다. dsa_port_from_netdev() 함수가 다른 스위치 칩의 유효한 포트를 반환할 수 있어, 잘못된 포트로 데이터가 리다이렉트되거나 인덱스 범위를 초과하는 메모리 접근이 발생할 수 있습니다.
💡 쉬운 설명
네트워크 스위치 장치에서 다른 장치의 포트 번호를 잘못 참조하여 데이터가 엉뚱한 곳으로 전달되거나 시스템 오류가 발생할 수 있는 문제입니다. 이를 통해 네트워크 경로가 왜곡되거나 시스템 안정성이 저해될 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
net: dsa: sja1105: flower: reject cross-chip redirect
dsa_port_from_netdev() may return a valid port from a different switch
chip. Programming another chip's port index into the local hardware
causes redirection to the wrong port, or an out-of-bounds access if the
index exceeds the local chip's port count.
Apply a minimal fix that adds a check to catch this case and adjusts the
extack message. When cls->common.skip_sw is not set, the operation could
instead redirect to the upstream port and let the software or upstream
switch(es) handle the forward, but that is not addressed here.
📍 영향받는 시스템
Linux kernel (sja1105 DSA driver 사용 환경)
⚔️ 공격 벡터
잘못된 포트 인덱스를 하드웨어에 프로그래밍하여 데이터 리다이렉션 또는 Out-of-bounds 접근 유도
🛡️ 대응 방법
해당 취약점이 수정된 최신 Linux 커널 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 패치된 버전인지 배포판 보안 공지를 통해 확인
💻 영향받는 소프트웨어
NVIDIA Cloud Gaming Guest Driver for Linux