Description
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.
References (7)
Core 7
Core References
Scores
EPSS
0.0004
EPSS Percentile
12.3%
Details
Status
published
Products (22)
linux/Kernel
5.11.0 - 5.15.196linux
linux/Kernel
5.16.0 - 6.1.158linux
linux/Kernel
5.9.0 - 5.10.246linux
linux/Kernel
6.13.0 - 6.17.6linux
linux/Kernel
6.2.0 - 6.6.115linux
linux/Kernel
6.7.0 - 6.12.56linux
Linux/Linux
< 5.9
Linux/Linux
5.10.246 - 5.10.*
Linux/Linux
5.15.196 - 5.15.*
Linux/Linux
5.9
... and 12 more
Published
Dec 16, 2025
Tracked Since
Feb 18, 2026