LiveActive security incident?Get immediate response
CVE Record

CVE-2022-50347: mmc: rtsx_usb_sdmmc: fix return value check of mmc_add_host()

In the Linux kernel, the following vulnerability has been resolved: mmc: rtsx_usb_sdmmc: 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, besides, led_classdev_unregister() and pm_runtime_disable() also need be called.

MediumCVSS 5.5Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

CVE-2022-50347 is a Linux kernel availability flaw in the Realtek USB SD/MMC driver path. If an internal host-add operation fails and is ignored, cleanup can leak memory and later crash the kernel. The published severity is medium because impact is denial of service, not data theft or code execution.

Executive priority

Treat as routine but real kernel availability risk. It is not currently supported by the provided sources as actively exploited or remote. Patch through normal Linux maintenance, with faster handling for shared workstations, kiosks, or systems where local users can interact with removable media hardware.

Technical view

The rtsx_usb_sdmmc driver did not check mmc_add_host() failure. The fix adds error handling, frees the MMC host, unregisters the LED class device, and disables runtime power management on the error path. CVSS 3.1 is 5.5: local attack vector, low complexity, low privileges, no user interaction, availability high.

Likely exposure

Exposure is most relevant to Linux systems running affected kernel versions with the rtsx_usb_sdmmc driver code present or in use. The bundle lists Linux versions including 3.16, 4.9.337, 4.14.303, 4.19.270, 5.4.229, 5.10.163, 5.15.86, 6.0.16, 6.1.2, and 6.2 as affected.

Exploitation context

The source bundle does not show CISA KEV listing or any cited active exploitation. The CVSS vector indicates local, low-privilege exploitation with no user interaction and availability-only impact. Public sources provided do not describe exploit code, weaponization, or remote reachability.

Researcher notes

Evidence is limited to CVE metadata and Linux stable commits. The provided description identifies incorrect error handling after mmc_add_host() failure and cleanup defects. Exact trigger conditions, distribution package status, and practical exploitability are not detailed in the source bundle.

Mitigation direction

  • Apply the relevant Linux stable update containing the referenced kernel fix.
  • Check your distribution vendor advisory for backported fixes and package names.
  • Prioritize systems using Realtek USB SD/MMC reader functionality.
  • Reboot into the fixed kernel after applying updates.
  • Avoid treating this as fixed solely because the upstream commit exists.

Validation and detection

  • Inventory running kernel versions across Linux endpoints and servers.
  • Check whether the rtsx_usb_sdmmc module is present or loaded.
  • Compare vendor kernel build changelogs against the referenced stable commits.
  • Confirm patched systems booted into the updated kernel.
  • Monitor kernel logs for MMC driver errors or related crashes.
Prepared
Confidence
medium
Sources
11

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.

cwe · low confidence lookup

CWE-476: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2022-50347 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
5.5 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

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.

1CVSS vectors
3Timeline events
1ADP providers
10Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: partial

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
5.5CVSS 3.1MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H1.83.6CISA-ADP

Vulnerability scoring details

Base CVSS 3.1 score

5.5Medium
CVSS 3.1 vector shape for CVE-2022-50347Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
cvssV3_1other:ssvc
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinuxc7f6558d84afe60016b8103c0737df6e376a1c2d, c7f6558d84afe60016b8103c0737df6e376a1c2d, c7f6558d84afe60016b8103c0737df6e376a1c2d, c7f6558d84afe60016b8103c0737df6e376a1c2d, c7f6558d84afe60016b8103c0737df6e376a1c2d, c7f6558d84afe60016b8103c0737df6e376a1c2d, c7f6558d84afe60016b8103c0737df6e376a1c2d, c7f6558d84afe60016b8103c0737df6e376a1c2d, c7f6558d84afe60016b8103c0737df6e376a1c2dunaffected
LinuxLinux3.16, 0, 4.9.337, 4.14.303, 4.19.270, 5.4.229, 5.10.163, 5.15.86, 6.0.16, 6.1.2, 6.2affected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.