LiveActive security incident?Get immediate response
CVE Record

CVE-2022-50670: mmc: omap_hsmmc: fix return value check of mmc_add_host()

In the Linux kernel, the following vulnerability has been resolved: mmc: omap_hsmmc: 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 wihch 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-50670 is a Linux kernel bug in the OMAP HSMMC memory-card driver. If adding a host device fails, the driver mishandles the failure, causing a memory leak and possible kernel crash during removal. Business impact is mainly availability risk on systems using this driver, not confirmed data theft or remote compromise.

Executive priority

Treat as a targeted availability issue for Linux-based embedded or hardware-specific systems, not a broad emergency. Patch during the next appropriate kernel maintenance cycle, faster for critical devices that rely on OMAP HSMMC storage paths.

Technical view

The omap_hsmmc driver failed to check mmc_add_host() return values. On error, mmc_alloc_host() memory could leak, and later remove() could call mmc_remove_host() for a host never added, triggering a null pointer dereference in device_del(). The fix checks the return value and follows the error path to mmc_free_host().

Likely exposure

Exposure appears limited to Linux systems running affected kernel versions with the OMAP HSMMC driver in use. The provided record lists Linux as affected and references stable kernel fixes, but does not provide distribution-specific package versions or deployment prevalence.

Exploitation context

No active exploitation is indicated in the provided sources, and the CVE is not marked KEV. The described impact is a kernel crash under a driver error/removal path, suggesting denial-of-service potential where the vulnerable hardware and driver path are reachable.

Researcher notes

The public record lacks CVSS, CWE, exploitability analysis, and distro mappings. Analysis should focus on affected kernel lineage, driver configuration, and whether the mmc_add_host() failure path can be reached in production hardware conditions.

Mitigation direction

  • Apply a vendor-supported kernel update containing the referenced stable fixes.
  • Prioritize systems using OMAP HSMMC or related embedded MMC/SD controller hardware.
  • If no vendor package is available, consult kernel maintainer or device vendor guidance.
  • Track distribution advisories for backported fixes matching this CVE.

Validation and detection

  • Inventory Linux kernel versions across affected embedded or hardware-specific fleets.
  • Check whether the omap_hsmmc driver is built, loaded, or required.
  • Compare kernel source or packages against the referenced stable commits.
  • Confirm vendor advisories identify the CVE as fixed in installed builds.
  • Monitor crash logs for null pointer dereferences during MMC host removal.
Prepared
Confidence
medium
Sources
8

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-50670 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
7Source 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
LinuxLinuxa45c6cb816474cefe56059fce422a9bdcd77e0dc, a45c6cb816474cefe56059fce422a9bdcd77e0dc, a45c6cb816474cefe56059fce422a9bdcd77e0dc, a45c6cb816474cefe56059fce422a9bdcd77e0dc, a45c6cb816474cefe56059fce422a9bdcd77e0dc, a45c6cb816474cefe56059fce422a9bdcd77e0dcunaffected
LinuxLinux2.6.29, 0, 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.