{"cve":"CVE-2022-50846","nvd":{"published":"2025-12-30T13:15:59.243","modified":"2026-06-17T05:24:17.267","status":"Deferred","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nmmc: via-sdmmc: 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 which\nwill call mmc_free_host().","cvss_v4":null,"cvss_v3":null,"cwes":[],"references":["https://git.kernel.org/stable/c/076bcd2c93e16b05c10564e299d6e5d26a766d00","https://git.kernel.org/stable/c/0959cc1685eb19774300d43ef25e318b457b156b","https://git.kernel.org/stable/c/0ec94795114edc7e24ec71849dce42bfa61dafa3","https://git.kernel.org/stable/c/12b8e81b77c05c658efd9cde3585bbd65ae39b59","https://git.kernel.org/stable/c/63400da6cd37a9793c19bb6aed7131b58b975a04"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:18:08.089039631+00:00"},"epss":{"cve":"CVE-2022-50846","score":0.00284,"percentile":0.20956,"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."]}