1. Archivio CVE
  2. 2025
  3. CVE-2025-68249

CVE-2025-68249

– Gravità non disponibile CVSS n/d

Descrizione

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.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
linux linux kernel >= 5.9 < 5.10.246 –
linux linux kernel >= 5.9 < 5.15.196 –
linux linux kernel >= 5.9 < 6.1.158 –
linux linux kernel >= 5.9 < 6.6.115 –
linux linux kernel >= 5.9 < 6.12.56 –
linux linux kernel >= 5.9 < 6.17.6 –
linux linux kernel >= 5.9 < 6.18 –
Tutte le 24.085 vulnerabilità di Linux Kernel