PT-2025-53964 · Linux · Linux Kernel
Published
2022-12-07
·
Updated
2026-02-24
·
CVE-2022-50846
CVSS v2.0
4.6
Medium
| Vector | AV:L/AC:L/Au:S/C:N/I:N/A:C |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
A flaw exists in the Linux kernel’s mmc subsystem, specifically within the via-sdmmc driver. The
mmc add host() function may return an error, and failure to check this return value can lead to two issues. First, memory allocated by mmc alloc host() may be leaked. Second, in the removal process, mmc remove host() could be called on a device that was not properly added, resulting in a kernel crash due to a null pointer dereference in device del(). The issue stems from an improper return value check after calling mmc add host().Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Unchecked Return Value
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Linux Kernel