{"id":"CVE-2026-72073","aliases":["CVE-2026-72073"],"related":[],"kind":"vulnerability","state":"published","title":"mmc: vub300: fix use-after-free on probe failure","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nmmc: vub300: fix use-after-free on probe failure\n\nThe vub300 driver lifetime-manages its controller state using\nvub300->kref, with vub300_delete() freeing the mmc host when the last\nreference is dropped. The probe error path after the inactivity timer has\nbeen armed still bypasses that lifetime rule, however, and falls through\nto mmc_free_host() directly if mmc_add_host() fails.\n\nThe race window is between arming the inactivity timer and reaching the\nprobe error unwind after mmc_add_host() fails:\n\n        probe thread                     timer/workqueue\n        ------------                     ---------------\n        kref_init(&vub300->kref)         ref = 1\n        kref_get(&vub300->kref)          ref = 2, timer ref\n        add_timer(inactivity_timer)      fires after one second\n        |\n        |   race window\n        |<---------------------------------------------------->\n        |\n        mmc_add_host(mmc)\n                                         inactivity timer fires\n                                         vub300_queue_dead_work()\n                                           kref_get()          ref = 3\n                                           queue_work(deadwork)\n        mmc_add_host() fails\n        timer_delete_sync()\n        mmc_free_host(mmc)\n          frees vub300\n                                         deadwork runs\n                                           use-after-free\n\nThe inactivity timeout is one second, so this would require\nmmc_add_host() to both fail and take more than one second to do so. This\nis unlikely to happen in practice, but the error path is still wrong.\n\ntimer_delete_sync() only waits for the timer callback itself. It does\nnot flush deadwork that the callback may already have queued. As a\nresult, queued deadwork can still hold a kref while the probe error path\ndirectly frees the backing mmc host, including the vub300 storage.\n\nFix this by using the same lifetime mechanism as disconnect. Clear\nvub300->interface so that the timer callback and any queued deadwork\nreturn early and drop their references, then drop the initial probe\nreference and return without falling through to err_free_host.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmmc: vub300: fix use-after-free on probe failure\n\nThe vub300 driver lifetime-manages its controller state using\nvub300->kref, with vub300_delete() freeing the mmc host when the last\nreference is dropped. The probe error path after the inactivity timer has\nbeen armed still bypasses that lifetime rule, however, and falls through\nto mmc_free_host() directly if mmc_add_host() fails.\n\nThe race window is between arming the inactivity timer and reaching the\nprobe error unwind after mmc_add_host() fails:\n\n        probe thread                     timer/workqueue\n        ------------                     ---------------\n        kref_init(&vub300->kref)         ref = 1\n        kref_get(&vub300->kref)          ref = 2, timer ref\n        add_timer(inactivity_timer)      fires after one second\n        |\n        |   race window\n        |<---------------------------------------------------->\n        |\n        mmc_add_host(mmc)\n                                         inactivity timer fires\n                                         vub300_queue_dead_work()\n                                           kref_get()          ref = 3\n                                           queue_work(deadwork)\n        mmc_add_host() fails\n        timer_delete_sync()\n        mmc_free_host(mmc)\n          frees vub300\n                                         deadwork runs\n                                           use-after-free\n\nThe inactivity timeout is one second, so this would require\nmmc_add_host() to both fail and take more than one second to do so. This\nis unlikely to happen in practice, but the error path is still wrong.\n\ntimer_delete_sync() only waits for the timer callback itself. It does\nnot flush deadwork that the callback may already have queued. As a\nresult, queued deadwork can still hold a kref while the probe error path\ndirectly frees the backing mmc host, including the vub300 storage.\n\nFix this by using the same lifetime mechanism as disconnect. Clear\nvub300->interface so that the timer callback and any queued deadwork\nreturn early and drop their references, then drop the initial probe\nreference and return without falling through to err_free_host.","source":"cvelist"}],"published":"2026-08-15T05:52:24.676Z","modified":"2026-11-06T17:19:36.453Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"0613ad2401f88bdeae5594c30afe318e93b14676","fixed":"face65f80c6946c631ca3490b4ebd2c016a4fd2c","status":"affected"},{"type":"git","introduced":"0613ad2401f88bdeae5594c30afe318e93b14676","fixed":"6c66653dac9b25272d5fd4ed42a34aa5249e16df","status":"affected"},{"type":"git","introduced":"0613ad2401f88bdeae5594c30afe318e93b14676","fixed":"5b82af744e06cd741938c3da54fdbe564a7e52d9","status":"affected"},{"type":"git","introduced":"0613ad2401f88bdeae5594c30afe318e93b14676","fixed":"618cf6b139503ec18ef93ffd663396aaf99b763a","status":"affected"},{"type":"git","introduced":"0613ad2401f88bdeae5594c30afe318e93b14676","fixed":"a3b5f242997a3be7404112fd48784881560aea57","status":"affected"},{"type":"git","version":"41ed46bdbd2878cd6567abe0974a445f8b1b8ec8","status":"affected"},{"type":"git","version":"25f05d762ca5e1c685002a53dd44f68e78ca3feb","status":"affected"},{"type":"git","version":"a46e681151bbdacdf6b89ee8c4e5bad0555142bb","status":"affected"},{"type":"git","version":"3b29f8769d32016b2d89183db4d80c7a71b7e35e","status":"affected"},{"type":"git","version":"3049a3b927a40d89d4582ff1033cd7953be773c7","status":"affected"},{"type":"git","version":"afc898019e7bf18c5eb7a0ac19852fcb1b341b3c","status":"affected"},{"type":"git","version":"c9e85979b59cb86f0a15defa8199d740e2b36b90","status":"affected"},{"type":"git","version":"2044b2ea77945f372ef161d1bbf814e471767ff2","status":"affected"},{"type":"semver","introduced":"4.9.337","fixed":"4.10","status":"affected"},{"type":"semver","introduced":"4.14.303","fixed":"4.15","status":"affected"},{"type":"semver","introduced":"4.19.270","fixed":"4.20","status":"affected"},{"type":"semver","introduced":"5.4.229","fixed":"5.5","status":"affected"},{"type":"semver","introduced":"5.10.163","fixed":"5.11","status":"affected"},{"type":"semver","introduced":"5.15.86","fixed":"5.16","status":"affected"},{"type":"semver","introduced":"6.0.16","fixed":"6.1","status":"affected"},{"type":"semver","introduced":"6.1.2","fixed":"6.2","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.2","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.2","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.114","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.42","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.5","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","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/face65f80c6946c631ca3490b4ebd2c016a4fd2c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6c66653dac9b25272d5fd4ed42a34aa5249e16df","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5b82af744e06cd741938c3da54fdbe564a7e52d9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/618cf6b139503ec18ef93ffd663396aaf99b763a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a3b5f242997a3be7404112fd48784881560aea57","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-06T16:51:15.978Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-72073","url":"https://www.cve.org/CVERecord?id=CVE-2026-72073","licence":"CVE Terms of Use","modified":"2026-11-06T16:55:19.555Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-72073","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72073","licence":"Public domain","modified":"2026-11-06T17:19:36.453Z"}],"updatedAt":"2026-11-25T22:59:32.994Z","epss":{"score":0.00228,"percentile":0.14446,"date":"2026-12-01T12:00:22.000Z"}}