CVE-2022-50267: mmc: rtsx_pci: fix return value check of mmc_add_host()
In the Linux kernel, the following vulnerability has been resolved:
mmc: rtsx_pci: fix return value check of mmc_add_host()
mmc_add_host() may return error, if we ignore its return value, the memory
that allocated in mmc_alloc_host() will be leaked and it will lead a kernel
crash because of deleting not added device in the remove path.
So fix this by checking the return value and calling mmc_free_host() in the
error path, beside, runtime PM also needs be disabled.
Security readout for executives and security teams
Plain-English summary
This is a Linux kernel driver cleanup bug. If adding an MMC host fails in the rtsx_pci path, the kernel can leak memory and later crash while removing a device that was never successfully added. The provided sources do not show active exploitation or a CVSS score.
Executive priority
Treat this as a targeted kernel reliability risk, not a confirmed widespread exploitation emergency. Prioritize routine kernel patching, especially for Linux endpoints or servers where the affected driver path is present.
Technical view
The rtsx_pci MMC driver ignored the return value from mmc_add_host(). On failure, the host allocated by mmc_alloc_host() was not freed, and the remove path could delete a non-added device. The documented fix checks the return, frees the host, and disables runtime PM on that error path.
Likely exposure
Exposure appears limited to Linux systems using the affected rtsx_pci MMC driver path. Systems without this driver, hardware path, or affected kernel versions are less likely exposed. The source bundle does not provide distribution-specific package mappings.
Exploitation context
The source bundle marks CISA KEV as false and provides no evidence of public exploitation. Based on the description, exploitation depends on reaching an mmc_add_host() failure path and triggering removal behavior; the sources do not document an attacker-controlled path.
Researcher notes
Evidence is limited to the CVE description and upstream stable commit references. There is no CVSS, CWE, exploit evidence, or distribution-specific fixed package list in the provided bundle. Validate exposure through kernel configuration, loaded modules, and vendor backport data.
Mitigation direction
Review vendor kernel advisories for CVE-2022-50267 applicability.
Update to a kernel containing the referenced stable fixes.
Prioritize systems using the rtsx_pci MMC driver path.
Track distribution package backports rather than relying only on upstream version strings.
Validation and detection
Inventory Linux kernel versions across managed systems.
Check whether the rtsx_pci driver is present or loaded.
Compare installed kernels with vendor advisories for this CVE.
Confirm kernel changelogs include the referenced mmc rtsx_pci fix.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2022-50267 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
0CVSS vectors
3Timeline events
0ADP providers
5Source links
Vulnerability timeline
Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.
CVE reservedCVE Program
The CVE ID was reserved by the assigning CNA.
CVE publishedCVE Program
The CVE record was published.
Sep 15, 2025, 14:21 UTC (UTC+00:00)
CVE updatedCVE Program
The CVE record metadata indicates this as the latest update time.