PT-2025-37505
CVE-2022-50251
·
Published
2022-12-07
·
Updated
2026-10-19
Description by
CVSS 3.1
5.5
MediumMetricsAV: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
The
mmc add host() function may return an error, and ignoring this return value can lead to a memory leak. This memory leak occurs because memory allocated in mmc alloc host() is not freed, potentially causing a kernel crash during device removal. The patch resolves this by checking the return value of mmc add host() and including a call to mmc free host() if usb control msg() fails.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Found an issue in the description? Have something to add? Feel free to write us 👾