LiveActive security incident?Get immediate response
CVE Record

CVE-2022-50618: mmc: meson-gx: fix return value check of mmc_add_host()

In the Linux kernel, the following vulnerability has been resolved: mmc: meson-gx: fix return value check of mmc_add_host() mmc_add_host() may return error, if we ignore its return value, it will lead two issues: 1. The memory that allocated in mmc_alloc_host() is leaked. 2. In the remove() path, mmc_remove_host() will be called to delete device, but it's not added yet, it will lead a kernel crash because of null-ptr-deref in device_del(). Fix this by checking the return value and goto error path which will call mmc_free_host().

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

CVE-2022-50618 is a Linux kernel bug in the Meson GX MMC driver. If adding an MMC host fails, the driver may leak memory and later crash the kernel during device removal. Business impact is likely system instability or denial of service on affected Linux systems using this hardware path, not confirmed remote compromise.

Executive priority

Treat as a targeted stability risk for affected Linux embedded or appliance systems. Patch through normal kernel maintenance, prioritizing devices where unexpected reboot or storage-controller instability would affect operations. Escalate if vendor confirms exposed production hardware and no update path.

Technical view

The driver ignored the return value from mmc_add_host(). On failure, memory allocated by mmc_alloc_host() was not freed, and remove() could call mmc_remove_host() for a host that was never added, causing a null-pointer dereference in device_del(). Stable kernel commits add error handling and call the cleanup path.

Likely exposure

Exposure appears limited to Linux kernels with the meson-gx MMC driver on relevant Meson GX/Amlogic-style hardware. The CVE record lists Linux kernel versions as affected, but no CVSS score, CWE, or distribution-specific package status is provided in the source bundle.

Exploitation context

No active exploitation is stated in the provided sources, and the CVE is not marked KEV. The described impact requires triggering an mmc_add_host() failure and subsequent remove path behavior. Sources do not describe a remote attack vector or public exploit.

Researcher notes

The source bundle supports a local kernel reliability issue in a specific driver path. Evidence does not establish exploitability beyond crash conditions, privilege requirements, or remote reachability. Affected-version data is sparse and should be validated against kernel trees and downstream vendor backports.

Mitigation direction

  • Update to a kernel containing the referenced stable commits, or a vendor kernel that backports them.
  • Check Linux distribution advisories for package-specific fixed versions.
  • Prioritize systems using the meson-gx MMC driver or affected embedded hardware.
  • If patch status is unclear, ask the vendor whether the fix is included.

Validation and detection

  • Inventory Linux systems using the meson-gx MMC driver.
  • Compare running kernel source or changelog against the referenced stable commits.
  • Confirm distribution kernel packages include the mmc_add_host() return-value fix.
  • Review kernel logs for MMC probe/remove errors or related null-pointer crashes.
Prepared
Confidence
medium
Sources
9

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-50618 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
Unknown
CVSS
Not scored
Known Exploited
No
Published
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.

0CVSS vectors
0Timeline events
0ADP providers
8Source links

CVSS and timeline data

No CVSS vectors or timeline events were available in the normalized CVE source material.

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinux51c5d8447bd71b7e539c19c46a03b73c0e91fa66, 51c5d8447bd71b7e539c19c46a03b73c0e91fa66, 51c5d8447bd71b7e539c19c46a03b73c0e91fa66, 51c5d8447bd71b7e539c19c46a03b73c0e91fa66, 51c5d8447bd71b7e539c19c46a03b73c0e91fa66, 51c5d8447bd71b7e539c19c46a03b73c0e91fa66, 51c5d8447bd71b7e539c19c46a03b73c0e91fa66unaffected
LinuxLinux4.10, 0, 4.19.270, 5.4.229, 5.10.163, 5.15.86, 6.0.16, 6.1.2, 6.2affected
Weakness

CWE details

No CWE listed

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