🇰🇷 한글 설명
Linux 커널의 Thunderbolt 드라이버에서 XDomain 요청 패킷의 크기를 검증하지 않아 발생하는 취약점입니다. 공격자가 조작된 작은 크기의 패킷을 보낼 경우, 구조체 타입 캐스팅 과정에서 할당된 메모리 범위를 벗어난 읽기(Out-of-bounds read)가 발생할 수 있습니다.
💡 쉬운 설명
컴퓨터가 외부 장치(Thunderbolt)로부터 받은 데이터의 크기를 제대로 확인하지 않아 발생하는 문제입니다. 나쁜 의도를 가진 장치가 아주 짧은 데이터를 보내면, 컴퓨터가 존재하지 않는 메모리 영역을 읽으려다 오류가 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
thunderbolt: Validate XDomain request packet size before type cast
tb_xdp_handle_request() casts the received packet buffer to
protocol-specific structs without verifying that the allocation
is large enough for the target type. A peer can send a minimal
XDomain packet that passes the generic header length check but is
shorter than the struct accessed after the cast, causing out-of-
bounds reads from the kmemdup allocation.
Plumb the packet length through xdomain_request_work and validate
it against the expected struct size before each cast.
📍 영향받는 시스템
Thunderbolt 드라이버를 사용하는 Linux 커널 버전
⚔️ 공격 벡터
Thunderbolt 인터페이스를 통해 조작된 크기의 XDomain 요청 패킷 전송
🛡️ 대응 방법
커널 패치를 적용하여 XDomain 요청 패킷 크기 검증 로직을 업데이트해야 함
🔧 검증 코드
출력된 커널 버전을 확인하여 취약점이 해결된 최신 패치 버전인지 확인합니다.
📊 CVSS Vector String
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
💻 영향받는 소프트웨어
IBM Security Verify Access