# CVE-2025-68249: most: usb: hdm\_probe: Fix calling put\_device() before device initialization

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.29% (percentile 14, 2026-11-28)
- **Published:** 2025-12-16T14:32:16.370Z
- **Modified:** 2026-10-14T13:10:00.187Z

## Who should check

- Anyone running Linux \>= 97a6f772f36b7f52bcfa56a581bbd2470cffe23d, \< 3509c748e79435d09e730673c8c100b7f0ebc87c; \>= 97a6f772f36b7f52bcfa56a581bbd2470cffe23d, \< ad2be44882716dc3589fbc5572cc13f88ead6b24; \>= 97a6f772f36b7f52bcfa56a581bbd2470cffe23d, \< c400410fe0580dd6118ae8d60287ac9ce71a65fd; \>= 97a6f772f36b7f52bcfa56a581bbd2470cffe23d, \< 6fb8fbc0aa542af5bf0fed94fa6b0edf18144f95; \>= 97a6f772f36b7f52bcfa56a581bbd2470cffe23d, \< 7d851f746067b8ee5bac9c262f326ace0a6ea253; \>= 97a6f772f36b7f52bcfa56a581bbd2470cffe23d, \< 4af0eedbdb4df7936bf43a28e31af232744d2620; \>= 97a6f772f36b7f52bcfa56a581bbd2470cffe23d, \< a8cc9e5fcb0e2eef21513a4fec888f5712cb8162
- Anyone running Linux 5.9

## 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.

## Affected and fixed versions

- Linux: \>= 97a6f772f36b7f52bcfa56a581bbd2470cffe23d, \< 3509c748e79435d09e730673c8c100b7f0ebc87c; \>= 97a6f772f36b7f52bcfa56a581bbd2470cffe23d, \< ad2be44882716dc3589fbc5572cc13f88ead6b24; \>= 97a6f772f36b7f52bcfa56a581bbd2470cffe23d, \< c400410fe0580dd6118ae8d60287ac9ce71a65fd; \>= 97a6f772f36b7f52bcfa56a581bbd2470cffe23d, \< 6fb8fbc0aa542af5bf0fed94fa6b0edf18144f95; \>= 97a6f772f36b7f52bcfa56a581bbd2470cffe23d, \< 7d851f746067b8ee5bac9c262f326ace0a6ea253; \>= 97a6f772f36b7f52bcfa56a581bbd2470cffe23d, \< 4af0eedbdb4df7936bf43a28e31af232744d2620; \>= 97a6f772f36b7f52bcfa56a581bbd2470cffe23d, \< a8cc9e5fcb0e2eef21513a4fec888f5712cb8162 (cvelist)
- Linux: 5.9 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-68249. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-68249.md
Affected: Linux >= 97a6f772f36b7f52bcfa56a581bbd2470cffe23d, < 3509c748e79435d09e730673c8c100b7f0ebc87c; >= 97a6f772f36b7f52bcfa56a581bbd2470cffe23d, < ad2be44882716dc3589fbc5572cc13f88ead6b24; >= 97a6f772f36b7f52bcfa56a581bbd2470cffe23d, < c400410fe0580dd6118ae8d60287ac9ce71a65fd; >= 97a6f772f36b7f52bcfa56a…
Fixed in: Linux 3509c748e79435d09e730673c8c100b7f0ebc87c, Linux 6fb8fbc0aa542af5bf0fed94fa6b0edf18144f95, Linux 7d851f746067b8ee5bac9c262f326ace0a6ea253, Linux 4af0eedbdb4df7936bf43a28e31af232744d2620

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-68249 being exploited?

There is no confirmed exploitation: CVE-2025-68249 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2025-68249?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2025-68249?

Linux \>= 97a6f772f36b7f52bcfa56a581bbd2470cffe23d, \< 3509c748e79435d09e730673c8c100b7f0ebc87c; \>= 97a6f772f36b7f52bcfa56a581bbd2470cffe23d, \< ad2be44882716dc3589fbc5572cc13f88ead6b24; \>= 97a6f772f36b7f52bcfa56a581bbd2470cffe23d, \< c400410fe0580dd6118ae8d60287ac9ce71a65fd; \>= 97a6f772f36b7f52bcfa56a581bbd2470cffe23d, \< 6fb8fbc0aa542af5bf0fed94fa6b0edf18144f95; \>= 97a6f772f36b7f52bcfa56a581bbd2470cffe23d, \< 7d851f746067b8ee5bac9c262f326ace0a6ea253; \>= 97a6f772f36b7f52bcfa56a581bbd2470cffe23d, \< 4af0eedbdb4df7936bf43a28e31af232744d2620; \>= 97a6f772f36b7f52bcfa56a581bbd2470cffe23d, \< a8cc9e5fcb0e2eef21513a4fec888f5712cb8162; Linux 5.9.

### Is there a fix for CVE-2025-68249?

Yes. Fixed in Linux 3509c748e79435d09e730673c8c100b7f0ebc87c, Linux 6fb8fbc0aa542af5bf0fed94fa6b0edf18144f95, Linux 7d851f746067b8ee5bac9c262f326ace0a6ea253, Linux 4af0eedbdb4df7936bf43a28e31af232744d2620. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2025-68249?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/3509c748e79435d09e730673c8c100b7f0ebc87c>
- other: <https://git.kernel.org/stable/c/ad2be44882716dc3589fbc5572cc13f88ead6b24>
- other: <https://git.kernel.org/stable/c/c400410fe0580dd6118ae8d60287ac9ce71a65fd>
- other: <https://git.kernel.org/stable/c/6fb8fbc0aa542af5bf0fed94fa6b0edf18144f95>
- other: <https://git.kernel.org/stable/c/7d851f746067b8ee5bac9c262f326ace0a6ea253>
- other: <https://git.kernel.org/stable/c/4af0eedbdb4df7936bf43a28e31af232744d2620>
- other: <https://git.kernel.org/stable/c/a8cc9e5fcb0e2eef21513a4fec888f5712cb8162>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-68249>

HTML: <https://flawdb.com/CVE-2025-68249> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-68249>
