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

CVE-2025-23158 media: venus: hfi: add check to handle incorrect queue size

설명

In the Linux kernel, the following vulnerability has been resolved: media: venus: hfi: add check to handle incorrect queue size qsize represents size of shared queued between driver and video firmware. Firmware can modify this value to an invalid large value. In such situation, empty_space will be bigger than the space actually available. Since new_wr_idx is not checked, so the following code will result in an OOB write. ... qsize = qhdr->q_size if (wr_idx >= rd_idx) empty_space = qsize - (wr_idx - rd_idx) .... if (new_wr_idx < qsize) { memcpy(wr_ptr, packet, dwords << 2) --> OOB write Add check to ensure qsize is within the allocated size while reading and writing packets into the queue.

영향 받는 제품 제품 1개

  • Linux

    Linux

    해결 버전 있음

    영향 받는 버전

    • 4.13

    해결 버전

    • 4.13 미만
    • 5.4.293 이상
    • 5.10.237 이상
    • 5.15.181 이상
    • 6.1.135 이상
    • 6.6.88 이상
    • 6.12.24 이상
    • 6.13.12 이상
    외 1개 구간 펼치기
    • 6.14.3 이상

참고 자료 9건

‹ 목록

점검 지원 범위 문의

도입 문의