{"id":"CVE-2023-52643","summary":"iio: core: fix memleak in iio_device_register_sysfs","details":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: core: fix memleak in iio_device_register_sysfs\n\nWhen iio_device_register_sysfs_group() fails, we should\nfree iio_dev_opaque-\u003echan_attr_group.attrs to prevent\npotential memleak.","modified":"2026-04-02T09:43:10.681038Z","published":"2024-04-17T09:43:45.813Z","related":["SUSE-SU-2024:2008-1","SUSE-SU-2024:2019-1","SUSE-SU-2024:2190-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52643.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1c6d19c8cbf6abcea2c8fca2db26abca2cbf0363"},{"type":"WEB","url":"https://git.kernel.org/stable/c/359f220d0e753bba840eac19ffedcdc816b532f2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3db312e06851996e7fb27cb5a8ccab4c0f9cdb93"},{"type":"WEB","url":"https://git.kernel.org/stable/c/95a0d596bbd0552a78e13ced43f2be1038883c81"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b90126c86d83912688501826643ea698f0df1728"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52643.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52643"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"32f171724e5cbecc80594fb6eced057cfdd6eb6f"},{"fixed":"1c6d19c8cbf6abcea2c8fca2db26abca2cbf0363"},{"fixed":"359f220d0e753bba840eac19ffedcdc816b532f2"},{"fixed":"b90126c86d83912688501826643ea698f0df1728"},{"fixed":"3db312e06851996e7fb27cb5a8ccab4c0f9cdb93"},{"fixed":"95a0d596bbd0552a78e13ced43f2be1038883c81"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-52643.json"}}],"schema_version":"1.7.5"}