NetSight
medium5.5

CVE-2022-48928

In the Linux kernel, the following vulnerability has been resolved: iio: adc: men_z188_adc: Fix a resource leak in an error handling path If iio_device_registe…

Impact

In the Linux kernel, the following vulnerability has been resolved: iio: adc: men_z188_adc: Fix a resource leak in an error handling path If iio_device_register() fails, a previous ioremap() is left unbalanced. Update the error handling path and add the missing iounmap() call, as already done in the remove function.

Affected products

VendorProductAffected versions
LinuxLinux Kernel
from 3.15 before 4.9.304
from 4.10 before 4.14.269
from 4.15 before 4.19.232
from 4.20 before 5.4.182
from 5.5 before 5.10.103
from 5.11 before 5.15.26

Weakness classification

References