CVE-2023-52643

iio: core: fix memleak in iio_device_register_sysfs

State
Published
Severity
Not scored
Published
Apr 17, 2024
Updated
May 11, 2026
Reserved
Mar 6, 2024

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

iio: core: fix memleak in iio_device_register_sysfs

When iio_device_register_sysfs_group() fails, we should free iio_dev_opaque->chan_attr_group.attrs to prevent potential memleak.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 32f171724e5cbecc80594fb6eced057cfdd6eb6f to before 1c6d19c8cbf6abcea2c8fca2db26abca2cbf0363Affected
  • 32f171724e5cbecc80594fb6eced057cfdd6eb6f to before 359f220d0e753bba840eac19ffedcdc816b532f2Affected
  • 32f171724e5cbecc80594fb6eced057cfdd6eb6f to before b90126c86d83912688501826643ea698f0df1728Affected
  • 32f171724e5cbecc80594fb6eced057cfdd6eb6f to before 3db312e06851996e7fb27cb5a8ccab4c0f9cdb93Affected
  • 32f171724e5cbecc80594fb6eced057cfdd6eb6f to before 95a0d596bbd0552a78e13ced43f2be1038883c81Affected
LinuxLinux
  • 5.13Affected
  • before 5.13Not affected
  • 5.15.149 through 5.15.*Not affected
  • 6.1.79 through 6.1.*Not affected
  • 6.6.18 through 6.6.*Not affected
  • 6.7.6 through 6.7.*Not affected
  • 6.8 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.