CVE-2023-52643

iio: core: fix memleak in iio_device_register_sysfs

MEDIUM
5.5
CVSS Score
Published: April 17, 2024 at 09:43 AM UTC
Updated: June 17, 2026 at 06:43 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.13 ≤ v < 5.15.1495.13 ≤ v < 6.1.795.13 ≤ v < 6.6.185.13 ≤ v < 6.7.65.13 ≤ v < 6.85.16 ≤ v < 6.1.796.2 ≤ v < 6.6.186.7 ≤ v < 6.7.632f171724e5cbecc80594fb6eced057cfdd6eb6f6.8 rc16.8 rc26.8 rc36.8 rc4
Vendor states this is fixed in 1c6d19c8cbf6abcea2c8fca2db26abca2cbf0363 (fixed)
Vendor states this is fixed in 359f220d0e753bba840eac19ffedcdc816b532f2 (fixed)
Vendor states this is fixed in 3db312e06851996e7fb27cb5a8ccab4c0f9cdb93 (fixed)
Vendor states this is fixed in 95a0d596bbd0552a78e13ced43f2be1038883c81 (fixed)
Vendor states this is fixed in b90126c86d83912688501826643ea698f0df1728 (fixed)
Vendor states this is fixed in 5.13 (unaffected)
Vendor states this is fixed in 5.15.149 (unaffected)
Vendor states this is fixed in 6.1.79 (unaffected)
Vendor states this is fixed in 6.6.18 (unaffected)
Vendor states this is fixed in 6.7.6 (unaffected)
Vendor states this is fixed in 6.8 (unaffected)

References (5)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/1c6d19c8cbf6abcea2c8fca2db26abca2cbf0363
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/359f220d0e753bba840eac19ffedcdc816b532f2
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3db312e06851996e7fb27cb5a8ccab4c0f9cdb93
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/95a0d596bbd0552a78e13ced43f2be1038883c81
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b90126c86d83912688501826643ea698f0df1728

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card