{"schema_version":"1.9.0","id":"CVE-2022-50267","published":"2025-09-15T14:21:03.372Z","modified":"2026-08-12T03:51:12.582736448Z","related":["SUSE-SU-2025:03615-1","SUSE-SU-2025:03628-1","SUSE-SU-2025:3716-1","SUSE-SU-2025:3761-1"],"summary":"mmc: rtsx_pci: fix return value check of mmc_add_host()","details":"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.","affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"ff984e57d36e8ac468849a144a36f1c11f88b61c"},{"fixed":"30dc645461dfc63e52b3af8ee4a98e17bf14bacf"},{"fixed":"5cd4e04eccaec140da6fa04db056a76282ee6852"},{"fixed":"ffa9b2a79e3e959683efbad3f6db937eca9d38f5"},{"fixed":"0c87db77423a282b3b38b8a6daf057b822680516"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50267.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.8.0"},{"fixed":"5.15.86"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.0.16"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.1.0"},{"fixed":"6.1.2"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50267.json"}}],"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0c87db77423a282b3b38b8a6daf057b822680516"},{"type":"WEB","url":"https://git.kernel.org/stable/c/30dc645461dfc63e52b3af8ee4a98e17bf14bacf"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5cd4e04eccaec140da6fa04db056a76282ee6852"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ffa9b2a79e3e959683efbad3f6db937eca9d38f5"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50267.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50267"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50267.json"}}