🇰🇷 한글 설명
리눅스 커널의 Thunderbolt 드라이버에서 DIRECTORY, DATA, TEXT 타입의 속성 항목 중 길이가 0인 항목을 제대로 검증하지 못하는 취약점이 발견되었습니다. 이로 인해 텍스트 항목의 null-종료 로직에서 언더플로우가 발생하여 메모리의 잘못된 위치에 쓰기 작업이 수행될 수 있습니다.
💡 쉬운 설명
Thunderbolt 장치를 연결할 때 데이터 길이가 0인 잘못된 정보가 들어오면 컴퓨터 메모리의 엉뚱한 곳을 건드려 오류를 일으킬 수 있는 문제입니다. 이로 인해 시스템이 불안정해지거나 보안 문제가 생길 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
thunderbolt: Reject zero-length property entries in validator
tb_property_entry_valid() accepts entries with length == 0 for
DIRECTORY, DATA, and TEXT types. A zero-length TEXT entry passes
validation but causes an underflow in the null-termination logic:
property->value.text[property->length * 4 - 1] = '\0';
When property->length is 0 this writes to offset -1 relative to
the allocation.
Reject zero-length entries early in the validator since they have no
valid representation in the XDomain property protocol.
📍 영향받는 시스템
Linux kernel (Thunderbolt driver components)
⚔️ 공격 벡터
악의적으로 조작된 속성 값을 가진 Thunderbolt 장치를 시스템에 연결
🛡️ 대응 방법
Thunderbolt 속성 검증 로직이 수정된 최신 리눅스 커널 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전을 확인하여 취약점이 패치된 최신 버전인지 확인합니다.