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

CVE-2021-47305 dma-buf/sync_file: Don't leak fences on merge failure

설명

In the Linux kernel, the following vulnerability has been resolved: dma-buf/sync_file: Don't leak fences on merge failure Each add_fence() call does a dma_fence_get() on the relevant fence. In the error path, we weren't calling dma_fence_put() so all those fences got leaked. Also, in the krealloc_array failure case, we weren't freeing the fences array. Instead, ensure that i and fences are always zero-initialized and dma_fence_put() all the fences and kfree(fences) on every error path.

영향 받는 제품 제품 1개

  • Linux

    Linux

    해결 버전 있음

    영향 받는 버전

    • 4.9

    해결 버전

    • 4.9 미만
    • 4.14.241 이상
    • 4.19.199 이상
    • 5.4.135 이상
    • 5.10.53 이상
    • 5.13.5 이상

참고 자료 6건

‹ 목록

점검 지원 범위 문의

도입 문의