{"id":"CVE-2025-68249","published":"2025-12-16T14:32:16Z","modified":"2026-05-11T21:49:43Z","title":"most: usb: hdm_probe: Fix calling put_device() before device initialization","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmost: usb: hdm_probe: Fix calling put_device() before device initialization\n\nThe early error path in hdm_probe() can jump to err_free_mdev before\n&mdev->dev has been initialized with device_initialize(). Calling\nput_device(&mdev->dev) there triggers a device core WARN and ends up\ninvoking kref_put(&kobj->kref, kobject_release) on an uninitialized\nkobject.\n\nIn this path the private struct was only kmalloc'ed and the intended\nrelease is effectively kfree(mdev) anyway, so free it directly instead\nof calling put_device() on an uninitialized device.\n\nThis removes the WARNING and fixes the pre-initialization error path.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00205,"percentile":0.10522,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/3509c748e79435d09e730673c8c100b7f0ebc87c","tags":[]},{"url":"https://git.kernel.org/stable/c/ad2be44882716dc3589fbc5572cc13f88ead6b24","tags":[]},{"url":"https://git.kernel.org/stable/c/c400410fe0580dd6118ae8d60287ac9ce71a65fd","tags":[]},{"url":"https://git.kernel.org/stable/c/6fb8fbc0aa542af5bf0fed94fa6b0edf18144f95","tags":[]},{"url":"https://git.kernel.org/stable/c/7d851f746067b8ee5bac9c262f326ace0a6ea253","tags":[]},{"url":"https://git.kernel.org/stable/c/4af0eedbdb4df7936bf43a28e31af232744d2620","tags":[]},{"url":"https://git.kernel.org/stable/c/a8cc9e5fcb0e2eef21513a4fec888f5712cb8162","tags":[]}],"priority":{"score":2.1,"factors":[{"name":"EPSS percentile","points":2.1}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 97a6f772f36b7f52bcfa56a581bbd2470cffe23d, < 3509c748e79435d09e730673c8c100b7f0ebc87c",">= 97a6f772f36b7f52bcfa56a581bbd2470cffe23d, < ad2be44882716dc3589fbc5572cc13f88ead6b24",">= 97a6f772f36b7f52bcfa56a581bbd2470cffe23d, < c400410fe0580dd6118ae8d60287ac9ce71a65fd",">= 97a6f772f36b7f52bcfa56a581bbd2470cffe23d, < 6fb8fbc0aa542af5bf0fed94fa6b0edf18144f95",">= 97a6f772f36b7f52bcfa56a581bbd2470cffe23d, < 7d851f746067b8ee5bac9c262f326ace0a6ea253",">= 97a6f772f36b7f52bcfa56a581bbd2470cffe23d, < 4af0eedbdb4df7936bf43a28e31af232744d2620",">= 97a6f772f36b7f52bcfa56a581bbd2470cffe23d, < a8cc9e5fcb0e2eef21513a4fec888f5712cb8162"]},{"vendor":"Linux","product":"Linux","versions":["5.9"]}],"euvd":{"id":"EUVD-2025-203647","exploited":false,"provenance":"source"}}