CVE-2026-72073: mmc: vub300: fix use-after-free on probe failure
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 vub300delete() 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 mmcfreehost() directly if mmcaddhost() fails.
The race window is between arming the inactivity timer and reaching the probe error unwind after mmcaddhost() fails:
probe thread timer/workqueue ------------ --------------- krefinit(&vub300->kref) ref = 1 krefget(&vub300->kref) ref = 2, timer ref addtimer(inactivitytimer) fires after one second | | race window |<----------------------------------------------------> | mmcaddhost(mmc) inactivity timer fires vub300queuedeadwork() krefget() ref = 3 queuework(deadwork) mmcaddhost() fails timerdeletesync() mmcfreehost(mmc) frees vub300 deadwork runs use-after-free
The inactivity timeout is one second, so this would require mmcaddhost() 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.
timerdeletesync() 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 errfreehost.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Linux kernel mmc vub300to a version that resolves this vulnerability.Patch mmc: vub300: fix use-after-free on probe failure
Event History
Frequently Asked Questions
What is the severity of CVE-2026-72073?
CVE-2026-72073 is classified with a risk score of 28.
What type of vulnerability is CVE-2026-72073?
CVE-2026-72073 is a Use After Free vulnerability found in the Linux kernel.
How do I mitigate CVE-2026-72073?
To mitigate CVE-2026-72073, update your Linux kernel to the latest patched version.
Which component is affected by CVE-2026-72073?
CVE-2026-72073 affects the mmc: vub300 driver within the Linux kernel.
What caused the vulnerability in CVE-2026-72073?
CVE-2026-72073 was caused by improper handling of the controller state leading to a use-after-free condition upon probe failure.