CVE-2022-50858: mmc: alcor: fix return value check of mmc_add_host()
Vulnerability summary
CVE-2022-50858 is a vulnerability in linux with no CVSS score yet. EPSS estimates a 0.24% chance of exploitation in the next 30 days, higher than 15.7% 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: alcor: 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 calling mmc_free_host() in the error path.
CVSS metrics
Risk metrics not yet published.
EPSS trend
Probability
0.24%
Chance of exploitation in the next 30 days
Percentile
16%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.24% 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.
Ubuntu117 products
- linux< 5.4.0-144.161 | < 5.15.0-69.76
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws< 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≥ c5413ad815a675b5c98a002353d8e96b44b164e9, < 289c964fe182ce755044a6cd57698072e12ffa6f | ≥ c5413ad815a675b5c98a002353d8e96b44b164e9, < 4a6e5d0222804a3eaf2ea4cf893f412e7cf98cb2 | ≥ c5413ad815a675b5c98a002353d8e96b44b164e9, < 29c5b4da41f35108136d843c7432885c78cf8272 | ≥ c5413ad815a675b5c98a002353d8e96b44b164e9, < 48dc06333d75f41c2ce9ba954bc3231324b45914 | ≥ c5413ad815a675b5c98a002353d8e96b44b164e9, < 60fafcf2fb7ee9a4125dc9a86eeb9d490acf23e2 | ≥ c5413ad815a675b5c98a002353d8e96b44b164e9, < e93d1468f429475a753d6baa79b853b7ee5ef8c0 | 5.0
3 vendors · 119 products