What’s Vulnerable › Vulnerabilities

CVE-2023-52643: iio: core: fix memleak in iio_device_register_sysfs

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 products

How to fix

Upgrade to a fixed version: Linux kernel 5.15.149, 6.1.79, 6.6.18, 6.7.6. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-52643 or the next vulnerability affects your stack