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

CVE-2022-50474 macintosh: fix possible memory leak in macio_add_one_device()

설명

In the Linux kernel, the following vulnerability has been resolved: macintosh: fix possible memory leak in macio_add_one_device() Afer commit 1fa5ae857bb1 ("driver core: get rid of struct device's bus_id string array"), the name of device is allocated dynamically. It needs to be freed when of_device_register() fails. Call put_device() to give up the reference that's taken in device_initialize(), so that it can be freed in kobject_cleanup() when the refcount hits 0. macio device is freed in macio_release_dev(), so the kfree() can be removed.

영향 받는 제품 제품 1개

  • Linux

    Linux

    해결 버전 있음

    영향 받는 버전

    • 2.6.30

    해결 버전

    • 2.6.30 미만
    • 4.9.337 이상
    • 4.14.303 이상
    • 4.19.270 이상
    • 5.4.229 이상
    • 5.10.163 이상
    • 5.15.86 이상
    • 6.0.16 이상
    외 1개 구간 펼치기
    • 6.1.2 이상

참고 자료 9건

‹ 목록

점검 지원 범위 문의

도입 문의