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

CVE-2025-38313 bus: fsl-mc: fix double-free on mc_dev

설명

In the Linux kernel, the following vulnerability has been resolved: bus: fsl-mc: fix double-free on mc_dev The blamed commit tried to simplify how the deallocations are done but, in the process, introduced a double-free on the mc_dev variable. In case the MC device is a DPRC, a new mc_bus is allocated and the mc_dev variable is just a reference to one of its fields. In this circumstance, on the error path only the mc_bus should be freed. This commit introduces back the following checkpatch warning which is a false-positive. WARNING: kfree(NULL) is safe and this check is probably not required + if (mc_bus) + kfree(mc_bus);

영향 받는 제품 제품 1개

  • Linux

    Linux

    해결 버전 있음

    영향 받는 버전

    • 4.13

    해결 버전

    • 4.13 미만
    • 5.4.295 이상
    • 5.10.239 이상
    • 5.15.186 이상
    • 6.1.142 이상
    • 6.6.94 이상
    • 6.12.34 이상
    • 6.15.3 이상

참고 자료 8건

‹ 목록

점검 지원 범위 문의

도입 문의