{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-50769","id":"CVE-2022-50769","title":"mmc: mxcmmc: fix return value check of mmc_add_host()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nmmc: mxcmmc: 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 ","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nmmc: mxcmmc: 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().","published":"2025-12-24T13:05:58.994Z","updated":"2026-11-12T02:30:27.514910597Z","reserved":"2025-12-24T13:02:21.546Z","status":"Deferred","rejected":false,"assigner":"Linux","metric":null,"metrics":[],"rating":"unrated","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"d96be879ff469759af6d7fcebdb66237c18da6f8","lessThan":"5f35c038c9f4d258b3cf77885a2730f1417d63e7","status":"affected","versionType":"git"},{"version":"d96be879ff469759af6d7fcebdb66237c18da6f8","lessThan":"1cf0c1e58738b97e2de207846105b6a5d46622ee","status":"affected","versionType":"git"},{"version":"d96be879ff469759af6d7fcebdb66237c18da6f8","lessThan":"b8bdb3fd13d5cd1e86d22fd3f803a742fd88af89","status":"affected","versionType":"git"},{"version":"d96be879ff469759af6d7fcebdb66237c18da6f8","lessThan":"32eb502c972dfc34413c9147418b3d94d870c2b8","status":"affected","versionType":"git"},{"version":"d96be879ff469759af6d7fcebdb66237c18da6f8","lessThan":"3904eb97bb78fdca3e16d30a38ce5697b9686110","status":"affected","versionType":"git"},{"version":"d96be879ff469759af6d7fcebdb66237c18da6f8","lessThan":"2d496050ded83b13b16f05e1fc0329b0210d2493","status":"affected","versionType":"git"},{"version":"d96be879ff469759af6d7fcebdb66237c18da6f8","lessThan":"d37474ab9a79149075f0823315c6d45dd983a78c","status":"affected","versionType":"git"},{"version":"d96be879ff469759af6d7fcebdb66237c18da6f8","lessThan":"d2ead18bc7cc166220cab5a744a05c5b69431a12","status":"affected","versionType":"git"},{"version":"d96be879ff469759af6d7fcebdb66237c18da6f8","lessThan":"cde600af7b413c9fe03e85c58c4279df90e91d13","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.29","status":"affected"},{"version":"0","lessThan":"2.6.29","status":"unaffected","versionType":"semver"},{"version":"4.9.337","lessThanOrEqual":"4.9.*","status":"unaffected","versionType":"semver"},{"version":"4.14.303","lessThanOrEqual":"4.14.*","status":"unaffected","versionType":"semver"},{"version":"4.19.270","lessThanOrEqual":"4.19.*","status":"unaffected","versionType":"semver"},{"version":"5.4.229","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.163","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.86","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.0.16","lessThanOrEqual":"6.0.*","status":"unaffected","versionType":"semver"},{"version":"6.1.2","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/5f35c038c9f4d258b3cf77885a2730f1417d63e7","tags":["web"]},{"url":"https://git.kernel.org/stable/c/1cf0c1e58738b97e2de207846105b6a5d46622ee","tags":["web"]},{"url":"https://git.kernel.org/stable/c/b8bdb3fd13d5cd1e86d22fd3f803a742fd88af89","tags":["web"]},{"url":"https://git.kernel.org/stable/c/32eb502c972dfc34413c9147418b3d94d870c2b8","tags":["web"]},{"url":"https://git.kernel.org/stable/c/3904eb97bb78fdca3e16d30a38ce5697b9686110","tags":["web"]},{"url":"https://git.kernel.org/stable/c/2d496050ded83b13b16f05e1fc0329b0210d2493","tags":["web"]},{"url":"https://git.kernel.org/stable/c/d37474ab9a79149075f0823315c6d45dd983a78c","tags":["web"]},{"url":"https://git.kernel.org/stable/c/d2ead18bc7cc166220cab5a744a05c5b69431a12","tags":["web"]},{"url":"https://git.kernel.org/stable/c/cde600af7b413c9fe03e85c58c4279df90e91d13","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50769.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50769","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00276,"epssPercentile":0.20398,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-50769","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50769","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-50769","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-50769","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}