-
CVE-2026-72073
- EPSS 0.22%
- Veröffentlicht 15.08.2026 05:52:24
- Zuletzt bearbeitet 17.08.2026 06:18:05
- Erkennungen
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 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.Daten sind bereitgestellt durch das CVE Programm von einer CVE Numbering Authority (CNA) (Unstrukturiert).
HerstellerLinux
≫
Produkt
Linux
Default Statusunaffected
Version
0613ad2401f88bdeae5594c30afe318e93b14676
Version <
5b82af744e06cd741938c3da54fdbe564a7e52d9
Status
affected
Version
0613ad2401f88bdeae5594c30afe318e93b14676
Version <
618cf6b139503ec18ef93ffd663396aaf99b763a
Status
affected
Version
0613ad2401f88bdeae5594c30afe318e93b14676
Version <
a3b5f242997a3be7404112fd48784881560aea57
Status
affected
Version
41ed46bdbd2878cd6567abe0974a445f8b1b8ec8
Status
affected
Version
25f05d762ca5e1c685002a53dd44f68e78ca3feb
Status
affected
Version
a46e681151bbdacdf6b89ee8c4e5bad0555142bb
Status
affected
Version
3b29f8769d32016b2d89183db4d80c7a71b7e35e
Status
affected
Version
3049a3b927a40d89d4582ff1033cd7953be773c7
Status
affected
Version
afc898019e7bf18c5eb7a0ac19852fcb1b341b3c
Status
affected
Version
c9e85979b59cb86f0a15defa8199d740e2b36b90
Status
affected
Version
2044b2ea77945f372ef161d1bbf814e471767ff2
Status
affected
Version
4.9.337
Version <
4.10
Status
affected
Version
4.14.303
Version <
4.15
Status
affected
Version
4.19.270
Version <
4.20
Status
affected
Version
5.4.229
Version <
5.5
Status
affected
Version
5.10.163
Version <
5.11
Status
affected
Version
5.15.86
Version <
5.16
Status
affected
Version
6.0.16
Version <
6.1
Status
affected
Version
6.1.2
Version <
6.2
Status
affected
HerstellerLinux
≫
Produkt
Linux
Default Statusaffected
Version
6.2
Status
affected
Version
0
Version <
6.2
Status
unaffected
Version <=
6.18.*
Version
6.18.42
Status
unaffected
Version <=
7.1.*
Version
7.1.5
Status
unaffected
Version <=
*
Version
7.2
Status
unaffected
VulnDex Vulnerability Enrichment
| Typ | Quelle | Score | Percentile |
|---|---|---|---|
| EPSS | FIRST.org | 0.22% | 0.127 |
| Quelle | Base Score | Exploit Score | Impact Score | Vector String |
|---|
https://git.kernel.org/stable/c/5b82af744e06cd741938c3da54fdbe564a7e52d9
https://git.kernel.org/stable/c/618cf6b139503ec18ef93ffd663396aaf99b763a
https://git.kernel.org/stable/c/a3b5f242997a3be7404112fd48784881560aea57