CVE-2023-52643Published Apr 17, 2024 · Apr 17Updated Oct 28
iio: core: fix memleak in iio_device_register_sysfs
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's IIO core can leak memory if iio_device_register_sysfs_group() fails during sysfs registration. The input does not describe how an attacker could trigger the failure or specify access, authentication, or user-interaction requirements.
Engineers running the Linux kernel should check their installations; affected versions were not provided.