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

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2025-12-16T14:32:16.370Z
- Modified: 2026-10-14T13:10:00.187Z
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 97a6f772f36b7f52bcfa56a581bbd2470cffe23d before 3509c748e79435d09e730673c8c100b7f0ebc87c; from 97a6f772f36b7f52bcfa56a581bbd2470cffe23d before ad2be44882716dc3589fbc5572cc13f88ead6b24; from 97a6f772f36b7f52bcfa56a581bbd2470cffe23d before c400410fe0580dd6118ae8d60287ac9ce71a65fd; from 97a6f772f36b7f52bcfa56a581bbd2470cffe23d before 6fb8fbc0aa542af5bf0fed94fa6b0edf18144f95; from 97a6f772f36b7f52bcfa56a581bbd2470cffe23d before 7d851f746067b8ee5bac9c262f326ace0a6ea253; from 97a6f772f36b7f52bcfa56a581bbd2470cffe23d before 4af0eedbdb4df7936bf43a28e31af232744d2620; from 97a6f772f36b7f52bcfa56a581bbd2470cffe23d before a8cc9e5fcb0e2eef21513a4fec888f5712cb8162; 5.9 (not affected: before 5.9; from 5.10.246 up to 5.10.*; from 5.15.196 up to 5.15.*; from 6.1.158 up to 6.1.*; from 6.6.115 up to 6.6.*; from 6.12.56 up to 6.12.*; from 6.17.6 up to 6.17.*; from 6.18 up to *)

## References

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

## Sources

- CVE List: [CVE-2025-68249](https://www.cve.org/CVERecord?id=CVE-2025-68249), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2025-68249](https://nvd.nist.gov/vuln/detail/CVE-2025-68249), Public domain, modified 2026-10-14

---

Page: https://cve.day/CVE-2025-68249 · Whole record: https://cve.day/CVE-2025-68249.json · Rebuilt by cve.day 2026-11-25T22:59:09.512Z
