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

CVE-2025-68249 most: usb: hdm_probe: Fix calling put_device() before device initialization

설명

In the Linux kernel, the following vulnerability has been resolved: most: usb: hdm_probe: Fix calling put_device() before device initialization The early error path in hdm_probe() can jump to err_free_mdev before &mdev->dev has been initialized with device_initialize(). Calling put_device(&mdev->dev) there triggers a device core WARN and ends up invoking kref_put(&kobj->kref, kobject_release) on an uninitialized kobject. In this path the private struct was only kmalloc'ed and the intended release is effectively kfree(mdev) anyway, so free it directly instead of calling put_device() on an uninitialized device. This removes the WARNING and fixes the pre-initialization error path.

영향 받는 제품 제품 1개

  • Linux

    Linux

    해결 버전 있음

    영향 받는 버전

    • 5.9

    해결 버전

    • 5.9 미만
    • 5.10.246 이상
    • 5.15.196 이상
    • 6.1.158 이상
    • 6.6.115 이상
    • 6.12.56 이상
    • 6.17.6 이상

참고 자료 7건

‹ 목록

점검 지원 범위 문의

도입 문의