UnratedFix available
iio: core: fix memleak in iio_device_register_sysfs
Type: advisorySources: OSV
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.15.149, 6.1.79, 6.6.18, 6.7.6
- CVEs
- CVE-2023-52643
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 02:51 UTC · Revision 1
Source evidence
iio: core: fix memleak in iio_device_register_sysfs
core-osv · Original sourcePublished 17 Apr 2024, 09:43 UTC
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.
osv:CVE-2023-52643
Kernel
Fixed versions: 5.15.149, 6.1.79, 6.6.18, 6.7.6
Complete source record
{
"id": "46f1a97625f9da5f25915d6d41e8f5206daa5d9e3f4a78fd90b8463455dc047c",
"url": "https://osv.dev/vulnerability/CVE-2023-52643",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "iio: core: fix memleak in iio_device_register_sysfs",
"summary": "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.",
"evidence": "osv:CVE-2023-52643",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.15.149",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.79",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.18",
"evidence": "/affected/1/ranges"
},
{
"value": "6.7.6",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2023-52643",
"aliases": [
"CVE-2023-52643"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "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"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.13.0"
},
{
"fixed": "5.15.149"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.1.79"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.18"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.7.6"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-52643.json"
}
}
],
"modified": "2026-10-28T02:30:32.892299916Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/1c6d19c8cbf6abcea2c8fca2db26abca2cbf0363",
"https://git.kernel.org/stable/c/359f220d0e753bba840eac19ffedcdc816b532f2",
"https://git.kernel.org/stable/c/3db312e06851996e7fb27cb5a8ccab4c0f9cdb93",
"https://git.kernel.org/stable/c/95a0d596bbd0552a78e13ced43f2be1038883c81",
"https://git.kernel.org/stable/c/b90126c86d83912688501826643ea698f0df1728",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52643.json",
"https://nvd.nist.gov/vuln/detail/CVE-2023-52643",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52643.json"
}
},
"related_cves": [
{
"value": "CVE-2023-52643",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 499807,
"published_at": "2024-04-17T09:43:45.813+00:00"
}