CVE-2022-48928

iio: adc: men_z188_adc: Fix a resource leak in an error handling path

State
Published
Severity
Not scored
Published
Aug 22, 2024
Updated
May 11, 2026
Reserved
Aug 21, 2024

Read the record on cve.org

Description

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 74aeac4da66fbfa246edbfc849002eac9b5af9ca to before 0f88722313645a903f4d420ba61ddc690ec2481dAffected
  • 74aeac4da66fbfa246edbfc849002eac9b5af9ca to before c5723b422f564af15f2e3bc0592fd6376a0a6c45Affected
  • 74aeac4da66fbfa246edbfc849002eac9b5af9ca to before 53d43a9c8dd224e66559fe86af1e473802c7130eAffected
  • 74aeac4da66fbfa246edbfc849002eac9b5af9ca to before ce1076b33e299dc8d270e4450a420a18bfb3e190Affected
  • 74aeac4da66fbfa246edbfc849002eac9b5af9ca to before 1aa12ecfdcbafebc218910ec47acf6262e600cf5Affected
  • 74aeac4da66fbfa246edbfc849002eac9b5af9ca to before fe73477802981bd0d0d70f2b22f109bcca801bdbAffected
  • 74aeac4da66fbfa246edbfc849002eac9b5af9ca to before d6ed5426a7fad36cf928c244483ba24e72359638Affected
  • 74aeac4da66fbfa246edbfc849002eac9b5af9ca to before e0a2e37f303828d030a83f33ffe14b36cb88d563Affected
LinuxLinux
  • 3.15Affected
  • before 3.15Not affected
  • 4.9.304 through 4.9.*Not affected
  • 4.14.269 through 4.14.*Not affected
  • 4.19.232 through 4.19.*Not affected
  • 5.4.182 through 5.4.*Not affected
  • 5.10.103 through 5.10.*Not affected
  • 5.15.26 through 5.15.*Not affected
  • 5.16.12 through 5.16.*Not affected
  • 5.17 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.