5.5medium
iio: core: fix memleak in iio_device_register_sysfs
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.22% (higher than 14% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 32f171724e5cbecc80594fb6eced057cfdd6eb6f before 1c6d19c8cbf6abcea2c8fca2db26abca2cbf0363, from 32f171724e5cbecc80594fb6eced057cfdd6eb6f before 359f220d0e753bba840eac19ffedcdc816b532f2, from 32f171724e5cbecc80594fb6eced057cfdd6eb6f before b90126c86d83912688501826643ea698f0df1728, from 32f171724e5cbecc80594fb6eced057cfdd6eb6f before 3db312e06851996e7fb27cb5a8ccab4c0f9cdb93, from 32f171724e5cbecc80594fb6eced057cfdd6eb6f before 95a0d596bbd0552a78e13ced43f2be1038883c81, 5.13 Not affected: before 5.13, from 5.15.149 up to 5.15.*, from 6.1.79 up to 6.1.*, from 6.6.18 up to 6.6.*, from 6.7.6 up to 6.7.*, from 6.8 up to * | CVE List |
| linux linux_kernel | from 5.13 before 5.15.149, from 5.16 before 6.1.79, from 6.2 before 6.6.18, from 6.7 before 6.7.6, 6.8 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: iio: core: corrige memleak en iio_device_register_sysfs Cuando falla iio_device_register_sysfs_group(), debemos liberar iio_dev_opaque->chan_attr_group.attrs para evitar posibles fugas de mem.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-52643 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2023-52643 changed 2026-06-17 | Public domain |