CVE-2022-50618: mmc: meson-gx: fix return value check of mmc_add_host()
Vulnerability summary
CVE-2022-50618 is a vulnerability in linux with no CVSS score yet. EPSS estimates a 0.21% chance of exploitation in the next 30 days, higher than 10.5% 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 4 · Related 4Timeline
- 08-12-2025PublishedVulnerability first disclosed.
- 11-05-2026Last modifiedVulnerability information updated.
Description
In the Linux kernel, the following vulnerability has been resolved: mmc: meson-gx: fix return value check of mmc_add_host() mmc_add_host() may return error, if we ignore its return value, it will lead two issues: 1. The memory that allocated in mmc_alloc_host() is leaked. 2. In the remove() path, mmc_remove_host() will be called to delete device, but it's not added yet, it will lead a kernel crash because of null-ptr-deref in device_del(). Fix this by checking the return value and goto error path which will call mmc_free_host().
CVSS metrics
Risk metrics not yet published.
EPSS trend
Probability
0.21%
Chance of exploitation in the next 30 days
Percentile
11%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.21% 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.
Ubuntu120 products
- linux< 4.15.0-208.220 | < 5.4.0-144.161 | < 5.15.0-69.76
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws< 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≥ 51c5d8447bd71b7e539c19c46a03b73c0e91fa66, < f5506e0bbb25102bd8ef2e1a3b483a0b934e454e | ≥ 51c5d8447bd71b7e539c19c46a03b73c0e91fa66, < 9e11c6bb745be4e9b325cf96031b4ea34801342d | ≥ 51c5d8447bd71b7e539c19c46a03b73c0e91fa66, < 64b2c441171febf075bd9632aca579afda8ab9fb | ≥ 51c5d8447bd71b7e539c19c46a03b73c0e91fa66, < e0cfe7aa41f3965f5224affd88afd48c60f6ad1f | ≥ 51c5d8447bd71b7e539c19c46a03b73c0e91fa66, < 42343e3c6195e934b9cb4c08b7ff84a3778d77f9 | ≥ 51c5d8447bd71b7e539c19c46a03b73c0e91fa66, < f5ce76aeddf01ca8f2a80fc37119388d59db7c10 | ≥ 51c5d8447bd71b7e539c19c46a03b73c0e91fa66, < 90935f16f2650ab7416fa2ffbe5c28cb39cf3f1e | 4.10
3 vendors · 122 products