🇰🇷 한글 설명
리눅스 커널의 Thunderbolt 드라이버에서 tb_cfg_request() 함수가 실패할 경우 요청 메모리를 해제하지 않는 취약점이 발견되었습니다. 이로 인해 제어 채널이 종료된 상태에서 요청 설정에 실패하면 메모리 누수가 발생할 수 있습니다.
💡 쉬운 설명
컴퓨터의 Thunderbolt 연결 과정에서 오류가 발생했을 때, 사용했던 메모리를 제대로 돌려주지 않고 남겨두는 문제가 있습니다. 이 문제가 반복되면 컴퓨터의 메모리가 점차 부족해질 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
thunderbolt: Release request if tb_cfg_request() fails in __tb_xdomain_response()
If tb_cfg_request() fails setting up the request (for example the
control channel is shut down already) it returns an error without
calling the callback. To avoid leaking that memory, call
tb_cfg_request_put() if tb_cfg_request() fails.
📍 영향받는 시스템
Thunderbolt 드라이버를 사용하는 리눅스 커널 버전
⚔️ 공격 벡터
Thunderbolt 장치의 제어 채널을 의도적으로 종료시켜 메모리 누수를 유도하는 방식
🛡️ 대응 방법
해당 취약점이 수정된 최신 리눅스 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 취약점이 패치된 최신 버전인지 확인