🇰🇷 한글 설명
Linux 커널의 mscc: ocelot 드라이버 내 ocelot_port_xmit_inj() 함수에서 주입 그룹 잠금(injection group lock)이 누락된 취약점이 발견되었습니다. 이로 인해 특정 상황에서 데이터 주입 과정 중 동기화 문제가 발생할 수 있으며, 이를 해결하기 위해 적절한 잠금 보호 메커니즘이 추가되었습니다.
💡 쉬운 설명
컴퓨터의 네트워크 통신을 담당하는 부품을 제어하는 소프트웨어에서 데이터가 엉키지 않게 막아주는 '잠금 장치'가 빠져 있었습니다. 이로 인해 데이터 처리 과정에서 충돌이나 오류가 발생할 위험이 있었습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
net: mscc: ocelot: add missing lock protection in ocelot_port_xmit_inj()
ocelot_port_xmit_inj() calls ocelot_can_inject() and
ocelot_port_inject_frame() without holding the injection group lock.
Both functions contain lockdep_assert_held() for the injection lock,
and the correct caller felix_port_deferred_xmit() properly acquires
the lock using ocelot_lock_inj_grp() before calling these functions.
Add ocelot_lock_inj_grp()/ocelot_unlock_inj_grp() around the register
injection path to fix the missing lock protection. The FDMA path is not
affected as it uses its own locking mechanism.
📍 영향받는 시스템
Linux kernel (mscc: ocelot driver 포함 버전)
⚔️ 공격 벡터
로컬 권한을 가진 공격자가 특정 네트워크 패킷 주입 시나리오를 통해 레이스 컨디션(Race Condition) 유도 가능
🛡️ 대응 방법
mscc: ocelot 드라이버의 잠금 보호가 적용된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 패치된 최신 보안 업데이트 버전인지 확인