CVE-2025-68249
most: usb: hdm_probe: Fix calling put_device() before device initialization
Check your servers for CVE-2025-68249
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-68249 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 11.0% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 97a6f772f36b7f52bcfa56a581bbd2470cffe23d, before 3509c748e79435d09e730673c8c100b7f0ebc87c affected from 97a6f772f36b7f52bcfa56a581bbd2470cffe23d, before ad2be44882716dc3589fbc5572cc13f88ead6b24 affected from 97a6f772f36b7f52bcfa56a581bbd2470cffe23d, before c400410fe0580dd6118ae8d60287ac9ce71a65fd affected from 97a6f772f36b7f52bcfa56a581bbd2470cffe23d, before 6fb8fbc0aa542af5bf0fed94fa6b0edf18144f95 affected from 97a6f772f36b7f52bcfa56a581bbd2470cffe23d, before 7d851f746067b8ee5bac9c262f326ace0a6ea253 affected from 97a6f772f36b7f52bcfa56a581bbd2470cffe23d, before 4af0eedbdb4df7936bf43a28e31af232744d2620 affected from 97a6f772f36b7f52bcfa56a581bbd2470cffe23d, before a8cc9e5fcb0e2eef21513a4fec888f5712cb8162
Other versions: unaffected
|
| Linux |
affected 5.9 unaffected before 5.9 unaffected from 5.10.246 up to and including 5.10.* unaffected from 5.15.196 up to and including 5.15.* unaffected from 6.1.158 up to and including 6.1.* unaffected from 6.6.115 up to and including 6.6.* unaffected from 6.12.56 up to and including 6.12.* unaffected from 6.17.6 up to and including 6.17.* unaffected 6.18 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-68249 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-68249
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-68249
trivy image --scanners vuln IMAGE | grep CVE-2025-68249
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/3509c748e79435d09e730673c8c100b7f0ebc87c git.kernel.org
- https://git.kernel.org/stable/c/ad2be44882716dc3589fbc5572cc13f88ead6b24 git.kernel.org
- https://git.kernel.org/stable/c/c400410fe0580dd6118ae8d60287ac9ce71a65fd git.kernel.org
- https://git.kernel.org/stable/c/6fb8fbc0aa542af5bf0fed94fa6b0edf18144f95 git.kernel.org
- https://git.kernel.org/stable/c/7d851f746067b8ee5bac9c262f326ace0a6ea253 git.kernel.org
- https://git.kernel.org/stable/c/4af0eedbdb4df7936bf43a28e31af232744d2620 git.kernel.org
- https://git.kernel.org/stable/c/a8cc9e5fcb0e2eef21513a4fec888f5712cb8162 git.kernel.org
Source: the record CVE-2025-68249 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse