{"cve":"CVE-2022-50268","nvd":{"published":"2025-09-15T15:15:37.580","modified":"2026-06-17T05:23:07.043","status":"Analyzed","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nmmc: moxart: fix return value check of mmc_add_host()\n\nmmc_add_host() may return error, if we ignore its return value, the memory\nthat allocated in mmc_alloc_host() will be leaked and it will lead a kernel\ncrash because of deleting not added device in the remove path.\n\nSo fix this by checking the return value and goto error path which will call\nmmc_free_host().","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5},"cwes":["CWE-476"],"references":["https://git.kernel.org/stable/c/0ca18d09c744fb030ae9bc5836c3e357e0237dea","https://git.kernel.org/stable/c/40aa73c70e8a5706f9cbe01409a5e51cc0f1750e","https://git.kernel.org/stable/c/7c3b301ca8b0cab392c71da8fcdfa499074f8e97","https://git.kernel.org/stable/c/8f8bb62c7c5c833758ef1563fe738afd579c3efe","https://git.kernel.org/stable/c/a4c765f5d8e58138cff69f1510b2e8942ec37022"],"products":["linux:linux_kernel"],"source":"nvd","synced_at":"2026-10-19T22:08:41.295252406+00:00"},"epss":{"cve":"CVE-2022-50268","score":0.00163,"percentile":0.05516,"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."]}