{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-50267","id":"CVE-2022-50267","title":"mmc: rtsx_pci: fix return value check of mmc_add_host()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nmmc: rtsx_pci: 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 calling mmc_fr","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nmmc: rtsx_pci: 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 calling mmc_free_host() in the\nerror path, beside, runtime PM also needs be disabled.","published":"2025-09-15T14:21:03.372Z","updated":"2026-11-07T02:30:27.732571031Z","reserved":"2025-09-15T13:58:00.975Z","status":"Analyzed","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"ff984e57d36e8ac468849a144a36f1c11f88b61c","lessThan":"30dc645461dfc63e52b3af8ee4a98e17bf14bacf","status":"affected","versionType":"git"},{"version":"ff984e57d36e8ac468849a144a36f1c11f88b61c","lessThan":"5cd4e04eccaec140da6fa04db056a76282ee6852","status":"affected","versionType":"git"},{"version":"ff984e57d36e8ac468849a144a36f1c11f88b61c","lessThan":"ffa9b2a79e3e959683efbad3f6db937eca9d38f5","status":"affected","versionType":"git"},{"version":"ff984e57d36e8ac468849a144a36f1c11f88b61c","lessThan":"0c87db77423a282b3b38b8a6daf057b822680516","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.8","status":"affected"},{"version":"0","lessThan":"3.8","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":["CWE-476"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/30dc645461dfc63e52b3af8ee4a98e17bf14bacf","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/5cd4e04eccaec140da6fa04db056a76282ee6852","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/ffa9b2a79e3e959683efbad3f6db937eca9d38f5","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/0c87db77423a282b3b38b8a6daf057b822680516","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50267.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50267","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00167,"epssPercentile":0.06046,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-50267","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50267","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-50267","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-50267","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}