CVE Database›CVE-2022-50846

CVE-2022-50846

kernel: mmc: via-sdmmc: fix return value check of mmc_add_host()

Loading…

Severity

Low

Red Hat Product Security

3.3

CVSS 3.1

Review impact separately from score.

Published · December 30, 2025

Updated · June 30, 2026

Description

A flaw was found in the VIA SD/MMC host controller driver. When mmc_add_host() fails, the error is not checked, leading to memory leaks and potential null pointer dereference during driver removal.

Statement

This affects systems with VIA SD/MMC controllers only. The crash can occur during module unload if mmc_add_host() failed during probe, which is an uncommon error scenario requiring hardware or resource issues.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 3.3
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L

CWE-390 · Detection of Error Condition Without Action