CVE-2022-50886: mmc: toshsd: fix return value check of mmc_add_host()
Vulnerability summary
CVE-2022-50886 is a vulnerability in linux with no CVSS score yet. EPSS estimates a 0.23% chance of exploitation in the next 30 days, higher than 14.1% of scored vulnerabilities.
No CVSS vector published; no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 5 · Related 4Timeline
- 30-12-2025PublishedVulnerability first disclosed.
- 11-05-2026Last modifiedVulnerability information updated.
Description
In the Linux kernel, the following vulnerability has been resolved: mmc: toshsd: fix return value check of mmc_add_host() mmc_add_host() may return error, if we ignore its return value, the memory that allocated in mmc_alloc_host() will be leaked and it will lead a kernel crash because of deleting not added device in the remove path. So fix this by checking the return value and goto error path which will call mmc_free_host(), besides, free_irq() also needs be called.
CVSS metrics
Risk metrics not yet published.
EPSS trend
Probability
0.23%
Chance of exploitation in the next 30 days
Percentile
14%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.23% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeNo weakness data has been published for this record.
Affected systems
Known conditions: not stated in public data.
Ubuntu121 products
- linuxAll versions (No fix recorded) | < 4.15.0-208.220 | < 5.4.0-144.161 | < 5.15.0-69.76
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 4.15.0-1153.166 | < 5.4.0-1097.105 | < 5.15.0-1033.37
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Debian1 product
- linux< 6.1.4-1
Linux1 product
- linux≥ a5eb8bbd66ccf9f169419f9652544aec771b7c57, < 34ae492f8d172f0bd193c24cad588b35419ea47a | ≥ a5eb8bbd66ccf9f169419f9652544aec771b7c57, < 3329e7b7132ca727263fb0ee214cf52cc6dcaaad | ≥ a5eb8bbd66ccf9f169419f9652544aec771b7c57, < 4f6cb1c685f9e20a4a9fa565e442f5af4dad70ff | ≥ a5eb8bbd66ccf9f169419f9652544aec771b7c57, < 3dbb69a0242c31ea4c9eee22b1c41b515fe509a0 | ≥ a5eb8bbd66ccf9f169419f9652544aec771b7c57, < aabbedcb6c9a72d12d35dc672e83f0c8064d8a61 | ≥ a5eb8bbd66ccf9f169419f9652544aec771b7c57, < 6444079767b68b1fbed0e7668081146e80dcb719 | ≥ a5eb8bbd66ccf9f169419f9652544aec771b7c57, < 647e370dd0ef7e212d8d014bda748e461eab2e8c | ≥ a5eb8bbd66ccf9f169419f9652544aec771b7c57, < bfd77b194c94aefbde4efc30ddf8607dd9244672 | ≥ a5eb8bbd66ccf9f169419f9652544aec771b7c57, < f670744a316ea983113a65313dcd387b5a992444 | 3.19
3 vendors · 123 products