🇰🇷 한글 설명
리눅스 커널의 Thunderbolt 네트워크 드라이버에서 HopID 할당 시 불일치가 발생할 경우, 할당된 ID를 적절히 해제하지 않는 취약점이 발견되었습니다. 이로 인해 참조가 없는 상태에서도 ID가 계속 점유되어 자원 누수가 발생할 수 있습니다.
💡 쉬운 설명
컴퓨터가 통신을 위해 사용하는 식별 번호를 빌려온 뒤, 문제가 생겼을 때 이를 다시 반납하지 않고 계속 붙잡고 있는 버그입니다. 이 문제가 반복되면 사용할 수 있는 번호가 고갈될 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
net: thunderbolt: Release the Rx HopID that was handed out on mismatch
tb_xdomain_alloc_in_hopid() passes the wanted HopID to ida_alloc_range()
as the lower bound, so a taken id is not an error there: the allocator
returns the next free one above it. tbnet_connected_work() asks for the
peer's transmit path, treats any other id as a failure and returns
without releasing what it got, so that allocation stays live for the rest
of the XDomain connection with nothing left holding a reference to it.
Release the id when it is not the one we asked for, the same way the
error unwind at the end of the function releases the expected one.
📍 영향받는 시스템
Thunderbolt 네트워크 기능을 사용하는 리눅스 커널 버전
⚔️ 공격 벡터
로컬 공격자가 네트워크 연결 과정에서 의도적으로 ID 불일치를 유도하여 자원 고갈 유발
🛡️ 대응 방법
해당 취약점이 수정된 최신 리눅스 커널 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 취약점이 패치된 최신 보안 업데이트 버전인지 확인