{"id":"CVE-2022-50267","aliases":["CVE-2022-50267"],"related":[],"kind":"vulnerability","state":"published","title":"mmc: rtsx_pci: fix return value check of mmc_add_host()","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2025-09-15T14:21:03.372Z","modified":"2026-11-05T20:17:30.873Z","severity":{"scorer":"NVD","scheme":"CVSS: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,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS: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,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"ff984e57d36e8ac468849a144a36f1c11f88b61c","fixed":"30dc645461dfc63e52b3af8ee4a98e17bf14bacf","status":"affected"},{"type":"git","introduced":"ff984e57d36e8ac468849a144a36f1c11f88b61c","fixed":"5cd4e04eccaec140da6fa04db056a76282ee6852","status":"affected"},{"type":"git","introduced":"ff984e57d36e8ac468849a144a36f1c11f88b61c","fixed":"ffa9b2a79e3e959683efbad3f6db937eca9d38f5","status":"affected"},{"type":"git","introduced":"ff984e57d36e8ac468849a144a36f1c11f88b61c","fixed":"0c87db77423a282b3b38b8a6daf057b822680516","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.8","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.8","status":"unaffected"},{"type":"semver","introduced":"5.15.86","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.0.16","lastAffected":"6.0.*","status":"unaffected"},{"type":"semver","introduced":"6.1.2","lastAffected":"6.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"3.8","fixed":"5.15.86"},{"status":"affected","introduced":"5.16","fixed":"6.0.16"},{"status":"affected","introduced":"6.1","fixed":"6.1.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/30dc645461dfc63e52b3af8ee4a98e17bf14bacf","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5cd4e04eccaec140da6fa04db056a76282ee6852","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ffa9b2a79e3e959683efbad3f6db937eca9d38f5","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0c87db77423a282b3b38b8a6daf057b822680516","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-05T20:08:12.355Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-50267","url":"https://www.cve.org/CVERecord?id=CVE-2022-50267","licence":"CVE Terms of Use","modified":"2026-11-05T20:10:31.858Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-50267","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50267","licence":"Public domain","modified":"2026-11-05T20:17:30.873Z"}],"updatedAt":"2026-11-25T22:58:21.137Z","epss":{"score":0.00167,"percentile":0.06296,"date":"2026-12-01T12:00:22.000Z"}}