{"id":"CVE-2025-68249","aliases":["CVE-2025-68249"],"related":[],"kind":"vulnerability","state":"published","title":"most: usb: hdm_probe: Fix calling put_device() before device initialization","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nmost: usb: hdm_probe: Corregir la llamada a put_device() antes de la inicialización del dispositivo\n\nLa ruta de error temprana en hdm_probe() puede saltar a err_free_mdev antes de que &mdev -> dev haya sido inicializado con device_initialize(). Llamar a put_device(&mdev -> dev) allí dispara una ADVERTENCIA del núcleo del dispositivo y termina invocando kref_put(&kobj -> kref, kobject_release) en un kobject no inicializado.\n\nEn esta ruta, a la estructura privada solo se le asignó memoria con kmalloc y la liberación prevista es efectivamente kfree(mdev) de todos modos, así que libéralo directamente en lugar de llamar a put_device() en un dispositivo no inicializado.\n\nEsto elimina la ADVERTENCIA y corrige la ruta de error de pre-inicialización.","source":"nvd"}],"published":"2025-12-16T14:32:16.370Z","modified":"2026-10-14T13:10:00.187Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"97a6f772f36b7f52bcfa56a581bbd2470cffe23d","fixed":"3509c748e79435d09e730673c8c100b7f0ebc87c","status":"affected"},{"type":"git","introduced":"97a6f772f36b7f52bcfa56a581bbd2470cffe23d","fixed":"ad2be44882716dc3589fbc5572cc13f88ead6b24","status":"affected"},{"type":"git","introduced":"97a6f772f36b7f52bcfa56a581bbd2470cffe23d","fixed":"c400410fe0580dd6118ae8d60287ac9ce71a65fd","status":"affected"},{"type":"git","introduced":"97a6f772f36b7f52bcfa56a581bbd2470cffe23d","fixed":"6fb8fbc0aa542af5bf0fed94fa6b0edf18144f95","status":"affected"},{"type":"git","introduced":"97a6f772f36b7f52bcfa56a581bbd2470cffe23d","fixed":"7d851f746067b8ee5bac9c262f326ace0a6ea253","status":"affected"},{"type":"git","introduced":"97a6f772f36b7f52bcfa56a581bbd2470cffe23d","fixed":"4af0eedbdb4df7936bf43a28e31af232744d2620","status":"affected"},{"type":"git","introduced":"97a6f772f36b7f52bcfa56a581bbd2470cffe23d","fixed":"a8cc9e5fcb0e2eef21513a4fec888f5712cb8162","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.9","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.9","status":"unaffected"},{"type":"semver","introduced":"5.10.246","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.196","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.158","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.115","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.56","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.17.6","lastAffected":"6.17.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.18","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/3509c748e79435d09e730673c8c100b7f0ebc87c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ad2be44882716dc3589fbc5572cc13f88ead6b24","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c400410fe0580dd6118ae8d60287ac9ce71a65fd","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6fb8fbc0aa542af5bf0fed94fa6b0edf18144f95","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7d851f746067b8ee5bac9c262f326ace0a6ea253","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4af0eedbdb4df7936bf43a28e31af232744d2620","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a8cc9e5fcb0e2eef21513a4fec888f5712cb8162","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-68249","url":"https://www.cve.org/CVERecord?id=CVE-2025-68249","licence":"CVE Terms of Use","modified":"2026-05-11T21:49:43.047Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-68249","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68249","licence":"Public domain","modified":"2026-10-14T13:10:00.187Z"}],"updatedAt":"2026-11-25T22:59:09.512Z","epss":{"score":0.00205,"percentile":0.11044,"date":"2026-12-01T12:00:22.000Z"}}