🇰🇷 한글 설명
Linux 커널의 ims-pcu 드라이버에서 CDC 유니온 디스크립터를 파싱할 때 bLength 값이 2 미만인지 확인하지 않아 발생하는 취약점입니다. 악의적인 장치가 bLength를 0으로 설정한 디스크립터를 제공할 경우 드라이버 내에서 무한 루프가 발생할 수 있습니다.
💡 쉬운 설명
특정 하드웨어가 잘못된 정보를 보내면 컴퓨터의 핵심 시스템인 커널이 무한 반복 작업에 빠지게 됩니다. 이로 인해 시스템이 멈추거나 응답하지 않는 상태가 될 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
Input: ims-pcu - fix potential infinite loop in CDC union descriptor parsing
The driver parses CDC union descriptors in ims_pcu_get_cdc_union_desc()
by iterating through the extra descriptor data. However, it does not
verify that the bLength of each descriptor is at least 2. A malicious
device could provide a descriptor with bLength = 0, leading to an
infinite loop in the driver.
Add a check to ensure bLength is at least 2 before proceeding with
parsing.
📍 영향받는 시스템
ims-pcu 드라이버를 사용하는 Linux 커널 버전
⚔️ 공격 벡터
취약한 드라이버를 사용하는 시스템에 조작된 CDC 유니온 디스크립터를 가진 USB 장치를 연결
🛡️ 대응 방법
bLength가 최소 2 이상인지 확인하는 로직이 포함된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 패치가 적용된 보안 업데이트 버전인지 확인