CVE-2022-48928Published Aug 22, 2024 · Aug 22Updated Oct 28
iio: adc: men_z188_adc: Fix a resource leak in an error handling path
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 74aeac4da66fbfa246edbfc849002eac9b5af9ca · < fe73477802981bd0d0d70f2b22f109bcca801bdb| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's men_z188_adc driver leaves an ioremap() mapping unbalanced if iio_device_register() fails. This causes a resource leak; the input does not specify an attacker path, authentication requirements, or user interaction.
Engineers running Linux kernels with the men_z188_adc driver should check their versions; affected versions were not provided.