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

CVE-2025-40269 ALSA: usb-audio: Fix potential overflow of PCM transfer buffer

설명

In the Linux kernel, the following vulnerability has been resolved: ALSA: usb-audio: Fix potential overflow of PCM transfer buffer The PCM stream data in USB-audio driver is transferred over USB URB packet buffers, and each packet size is determined dynamically. The packet sizes are limited by some factors such as wMaxPacketSize USB descriptor. OTOH, in the current code, the actually used packet sizes are determined only by the rate and the PPS, which may be bigger than the size limit above. This results in a buffer overflow, as reported by syzbot. Basically when the limit is smaller than the calculated packet size, it implies that something is wrong, most likely a weird USB descriptor. So the best option would be just to return an error at the parameter setup time before doing any further operations. This patch introduces such a sanity check, and returns -EINVAL when the packet size is greater than maxpacksize. The comparison with ep->packsize[1] alone should suffice since it's always equal or greater than ep->packsize[0].

영향 받는 제품 제품 1개

  • Linux

    Linux

    해결 버전 있음

    영향 받는 버전

    • 4.4.229 이상 4.4.230 미만
    • 4.9.229 이상 4.9.230 미만
    • 4.14.186 이상 4.14.188 미만
    • 4.19.130 이상 4.19.132 미만
    • 5.4.49 이상 5.4.51 미만
    • 5.7.6 이상 5.7.8 미만
    • 5.8

    해결 버전

    • 4.4.230 이상
    • 4.9.230 이상
    • 4.14.188 이상
    • 4.19.132 이상
    • 5.4.51 이상
    • 5.7.8 이상
    • 5.8 미만
    • 5.10.247 이상
    외 5개 구간 펼치기
    • 5.15.197 이상
    • 6.1.159 이상
    • 6.6.117 이상
    • 6.12.59 이상
    • 6.17.9 이상

참고 자료 13건

‹ 목록

점검 지원 범위 문의

도입 문의