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

CVE-2021-47258 scsi: core: Fix error handling of scsi_host_alloc()

설명

In the Linux kernel, the following vulnerability has been resolved: scsi: core: Fix error handling of scsi_host_alloc() After device is initialized via device_initialize(), or its name is set via dev_set_name(), the device has to be freed via put_device(). Otherwise device name will be leaked because it is allocated dynamically in dev_set_name(). Fix the leak by replacing kfree() with put_device(). Since scsi_host_dev_release() properly handles IDA and kthread removal, remove special-casing these from the error handling as well.

영향 받는 제품 제품 1개

  • Linux

    Linux

    해결 버전 있음

    영향 받는 버전

    • 2.6.30

    해결 버전

    • 2.6.30 미만
    • 4.9.273 이상
    • 4.14.237 이상
    • 4.19.195 이상
    • 5.4.126 이상
    • 5.10.44 이상
    • 5.12.11 이상

참고 자료 7건

‹ 목록

점검 지원 범위 문의

도입 문의