CVE-2022-48928
kernel: iio: adc: men_z188_adc: Fix a resource leak in an error handling path
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · August 22, 2024
Updated · February 2, 2026
Description
A vulnerability was found in the Linux kernel's IIO men_z188_adc.c driver, where a resource leak is present in the error handling path caused by improper cleanup management. This occurs because the function men_z188_probe() uses the function ioremap() to allocate memory, but if the function iio_device_register() fails, the function does not clean up (free) the previously mapped space, resulting in a resource leak. This vulnerability could lead to resource exhaustion over time and system instability.
Statement
Red Hat Enterprise Linux is not impacted by this CVE, as the vulnerability in question does not affect the specific versions or configurations of the Linux kernel used in its distributions. This ensures that users of Red Hat Enterprise Linux are not exposed to the potential risks associated with this issue, and no further action or mitigation is necessary for systems running this operating system.
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 · 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-402 · Transmission of Private Resources into a New Sphere ('Resource Leak')