# CVE-2026-72073: mmc: vub300: fix use-after-free on probe failure

- 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.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2026-08-15T05:52:24.676Z
- Modified: 2026-11-06T17:19:36.453Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

mmc: vub300: fix use-after-free on probe failure

The vub300 driver lifetime-manages its controller state using
vub300->kref, with vub300_delete() freeing the mmc host when the last
reference is dropped. The probe error path after the inactivity timer has
been armed still bypasses that lifetime rule, however, and falls through
to mmc_free_host() directly if mmc_add_host() fails.

The race window is between arming the inactivity timer and reaching the
probe error unwind after mmc_add_host() fails:

        probe thread                     timer/workqueue
        ------------                     ---------------
        kref_init(&vub300->kref)         ref = 1
        kref_get(&vub300->kref)          ref = 2, timer ref
        add_timer(inactivity_timer)      fires after one second
        |
        |   race window
        |<---------------------------------------------------->
        |
        mmc_add_host(mmc)
                                         inactivity timer fires
                                         vub300_queue_dead_work()
                                           kref_get()          ref = 3
                                           queue_work(deadwork)
        mmc_add_host() fails
        timer_delete_sync()
        mmc_free_host(mmc)
          frees vub300
                                         deadwork runs
                                           use-after-free

The inactivity timeout is one second, so this would require
mmc_add_host() to both fail and take more than one second to do so. This
is unlikely to happen in practice, but the error path is still wrong.

timer_delete_sync() only waits for the timer callback itself. It does
not flush deadwork that the callback may already have queued. As a
result, queued deadwork can still hold a kref while the probe error path
directly frees the backing mmc host, including the vub300 storage.

Fix this by using the same lifetime mechanism as disconnect. Clear
vub300->interface so that the timer callback and any queued deadwork
return early and drop their references, then drop the initial probe
reference and return without falling through to err_free_host.

(As written by CVE List.)

## Affected

- Linux Linux: from 0613ad2401f88bdeae5594c30afe318e93b14676 before face65f80c6946c631ca3490b4ebd2c016a4fd2c; from 0613ad2401f88bdeae5594c30afe318e93b14676 before 6c66653dac9b25272d5fd4ed42a34aa5249e16df; from 0613ad2401f88bdeae5594c30afe318e93b14676 before 5b82af744e06cd741938c3da54fdbe564a7e52d9; from 0613ad2401f88bdeae5594c30afe318e93b14676 before 618cf6b139503ec18ef93ffd663396aaf99b763a; from 0613ad2401f88bdeae5594c30afe318e93b14676 before a3b5f242997a3be7404112fd48784881560aea57; 41ed46bdbd2878cd6567abe0974a445f8b1b8ec8; 25f05d762ca5e1c685002a53dd44f68e78ca3feb; a46e681151bbdacdf6b89ee8c4e5bad0555142bb; 3b29f8769d32016b2d89183db4d80c7a71b7e35e; 3049a3b927a40d89d4582ff1033cd7953be773c7; afc898019e7bf18c5eb7a0ac19852fcb1b341b3c; c9e85979b59cb86f0a15defa8199d740e2b36b90; and 10 more (not affected: before 6.2; from 6.6.160 up to 6.6.*; from 6.12.114 up to 6.12.*; from 6.18.42 up to 6.18.*; from 7.1.5 up to 7.1.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/face65f80c6946c631ca3490b4ebd2c016a4fd2c>
- <https://git.kernel.org/stable/c/6c66653dac9b25272d5fd4ed42a34aa5249e16df>
- <https://git.kernel.org/stable/c/5b82af744e06cd741938c3da54fdbe564a7e52d9>
- <https://git.kernel.org/stable/c/618cf6b139503ec18ef93ffd663396aaf99b763a>
- <https://git.kernel.org/stable/c/a3b5f242997a3be7404112fd48784881560aea57>

## Sources

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

---

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