PT-2025-38016 · Linux+2 · Linux Kernel+2
Published
2022-12-07
·
Updated
2026-02-12
·
CVE-2022-50347
CVSS v3.1
5.5
Medium
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
A flaw exists in the Linux kernel where the
mmc add host() function’s return value was not properly checked. Failing to check the return value could lead to a memory leak within the mmc alloc host() function, potentially causing a kernel crash during device removal. The issue occurs because memory allocated during host addition is not freed when mmc add host() fails. The fix involves verifying the return value of mmc add host() and calling mmc free host() in the error path, along with led classdev unregister() and pm runtime disable().Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Unchecked Return Value
NULL Pointer Dereference
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Astra Linux
Linux Kernel
Suse