{"cve":"CVE-2022-50670","nvd":{"published":"2025-12-09T16:17:19.083","modified":"2026-06-17T05:23:58.080","status":"Deferred","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nmmc: omap_hsmmc: fix return value check of mmc_add_host()\n\nmmc_add_host() may return error, if we ignore its return value,\nit will lead two issues:\n1. The memory that allocated in mmc_alloc_host() is leaked.\n2. In the remove() path, mmc_remove_host() will be called to\n   delete device, but it's not added yet, it will lead a kernel\n   crash because of null-ptr-deref in device_del().\n\nFix this by checking the return value and goto error path wihch\nwill call mmc_free_host().","cvss_v4":null,"cvss_v3":null,"cwes":[],"references":["https://git.kernel.org/stable/c/4e1dc24bcfc8257f24c0663badec7e4f3ae80558","https://git.kernel.org/stable/c/62005dfcc396424db3337a1dc3ab49623537f5e5","https://git.kernel.org/stable/c/a525cad241c339ca00bf7ebf03c5180f2a9b767c","https://git.kernel.org/stable/c/a5f8a4583280a76e50329b910e91ef1dea1e6c79","https://git.kernel.org/stable/c/f153c9e15f8961bdf38707853e15b42ea7c691d9"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:16:40.427100871+00:00"},"epss":{"cve":"CVE-2022-50670","score":0.00244,"percentile":0.15705,"date":"2026-10-31"},"kev":null,"osv":[],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}