kcve.ai취약점 정보 · 내 자산 확인

CVE-2024-53150 ALSA: usb-audio: Fix out of bounds reads when finding clock sources

ALSA: usb-audio: 시계 소스를 찾을 때 경계에서 벗어난 수정

실제 악용 확인(KEV)

설명

In the Linux kernel, the following vulnerability has been resolved: ALSA: usb-audio: Fix out of bounds reads when finding clock sources The current USB-audio driver code doesn't check bLength of each descriptor at traversing for clock descriptors. That is, when a device provides a bogus descriptor with a shorter bLength, the driver might hit out-of-bounds reads. For addressing it, this patch adds sanity checks to the validator functions for the clock descriptor traversal. When the descriptor length is shorter than expected, it's skipped in the loop. For the clock source and clock multiplier descriptors, we can just check bLength against the sizeof() of each descriptor type. OTOH, the clock selector descriptor of UAC2 and UAC3 has an array of bNrInPins elements and two more fields at its tail, hence those have to be checked in addition to the sizeof() check.

Linux 커널에서 다음 취약점이 해결되었습니다. ALSA: usb-audio: 시계 소스를 찾을 때 경계에서 벗어난 수정 현재 USB 오디오 드라이버 코드는 클럭 디스크립터를 순회할 때 각 디스크립터의 길이를 확인하지 않습니다. 즉, 장치가 더 짧은 bLength를 가진 가짜 기술자를 제공하면 드라이버가 범위 밖의 읽기를 할 수 있습니다. 이 패치는 이를 해결하기 위해 클럭 기술자 순회에 대한 검증자 함수에 정상 검사를 추가합니다. 설명자 길이가 예상보다 짧으면 루프에서 건너니다. clock 소스와 clock multiplier descriptor에 대해서는, 각 descriptor 타입의 sizeof()에 대해 bLength를 확인할 수 있습니다. OTOH, UAC2 및 UAC3의 클럭 선택기 디스크립터는 꼬리에 bNrInPins 요소와 두 개의 필드가 배열되어 있으므로 sizeof() 검사 외에 검사해야 합니다.

영향 받는 제품 제품 1개

  • Linux

    Linux

    해결 버전 있음

    영향 받는 버전

    • 4.19.84 이상 4.20 미만
    • 5.3.11 이상 5.4 미만
    • 5.4

    해결 버전

    • 4.20 이상
    • 5.4 이상
    • 5.4 미만
    • 5.4.287 이상
    • 5.10.231 이상
    • 5.15.174 이상
    • 6.1.120 이상
    • 6.6.64 이상
    외 2개 구간 펼치기
    • 6.11.11 이상
    • 6.12.2 이상

참고 자료 8건

‹ 목록

점검 지원 범위 문의

도입 문의