🇰🇷 한글 설명
Linux 커널의 Thunderbolt 드라이버에서 tb_xdp_properties_request() 함수가 응답 헤더의 길이를 검증하지 않고 데이터를 복사하는 취약점이 발견되었습니다. 공격자가 응답 헤더의 길이 필드를 할당된 버퍼보다 크게 설정하면 memcpy 과정에서 버퍼 오버플로우가 발생할 수 있습니다.
💡 쉬운 설명
Thunderbolt 장치를 통해 잘못된 크기의 데이터를 보내면 컴퓨터 메모리의 허용된 범위를 넘어 데이터를 쓰는 오류가 발생합니다. 이를 통해 해커가 시스템을 망가뜨리거나 권한을 탈취할 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
thunderbolt: Clamp XDomain response data copy to allocation size
tb_xdp_properties_request() derives the per-packet copy length from
the response header without checking that it fits in the previously
allocated data buffer. A malicious peer can set its length field
larger than the declared data_length, causing memcpy to write past
the kcalloc allocation.
Clamp the per-packet copy length so that the cumulative offset
never exceeds data_len.
📍 영향받는 시스템
Thunderbolt 드라이버를 사용하는 Linux 커널 버전
⚔️ 공격 벡터
악의적인 Thunderbolt 장치를 연결하여 조작된 응답 헤더를 전송하는 방식
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인하십시오.