Skip to content
OpenAdvisories
Medium · 4.3 CVE-2021-41229 EUVD-2021-28288

Memory leak in BlueZ

Published Nov 12, 2021 · Updated Nov 4, 2025 · Assigned by GitHub_M

Description

BlueZ is a Bluetooth protocol stack for Linux. In affected versions a vulnerability exists in sdp_cstate_alloc_buf which allocates memory which will always be hung in the singly linked list of cstates and will not be freed. This will cause a memory leak over time. The data can be a very large object, which can be caused by an attacker continuously sending sdp packets and this may cause the service of the target device to crash.

Affected products

VendorProductAffectedFixed
bluez bluez = 5.58 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 bluez 5.62-2 —
Debian 13 bluez 5.62-2 —
Debian 12 bluez 5.62-2 —
Debian 11 bluez 5.55-3.1+deb11u2 DLA-3879-1
Debian 10 bluez 5.50-1.2~deb10u3 DLA-3157-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Debian 9 bluez 5.43-2+deb9u5 DLA-2827-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS bluez 5.62-0ubuntu2 —
Ubuntu 20.04 LTS bluez 5.53-0ubuntu3.4 USN-5155-1
Ubuntu 18.04 LTS bluez 5.48-0ubuntu3.6 USN-5155-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS bluez No fix yet —
ReleasePackageFixed inAdvisory
RHEL 8 bluez +5 5.56-3.el8 RHSA-2022:2081

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 8 bluez +5 5.56-3.el8 ALSA-2022:2081

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 bluez 5.56-3.el8 RLSA-2022:2081
ReleasePackageFixed inAdvisory
SLES 15 SP4 bluez 5.62-150400.4.16.1 SUSE-SU-2023:3238-1
SLES 15 SP2 bluez 5.48-150200.13.30.1 SUSE-SU-2024:0167-1
SLES 15 SP1 bluez 5.48-150000.5.54.1 SUSE-SU-2024:0166-1
SLES 12 SP5 bluez 5.13-5.42.2 SUSE-SU-2023:3689-1
Show 9 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP2 bluez 5.48-150200.13.30.1 SUSE-SU-2024:0167-1
SLES for SAP 15 SP1 bluez 5.48-150000.5.54.1 SUSE-SU-2024:0166-1
SLES for SAP 12 SP5 bluez 5.13-5.42.2 SUSE-SU-2023:3689-1
SLE Micro 5.4 bluez 5.62-150400.4.16.1 SUSE-SU-2023:3238-1
SLE Micro 5.3 bluez 5.62-150400.4.16.1 SUSE-SU-2023:3238-1
SLE HPC 15 SP2 bluez 5.48-150200.13.30.1 SUSE-SU-2024:0167-1
SLE HPC 15 SP1 bluez 5.48-150000.5.54.1 SUSE-SU-2024:0166-1
SUSE Manager Server 4.2 bluez 5.55-150300.3.25.1 SUSE-SU-2023:3240-1
SUSE Manager Proxy 4.2 bluez 5.55-150300.3.25.1 SUSE-SU-2023:3240-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.4 bluez 5.62-150400.4.16.1 SUSE-SU-2023:3238-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
openSUSE Leap Micro 5.4 bluez 5.62-150400.4.16.1 SUSE-SU-2023:3238-1
openSUSE Leap Micro 5.3 bluez 5.62-150400.4.16.1 SUSE-SU-2023:3238-1

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 bluez +5 5.56-3.el8 ELSA-2022-2081

Advisories 14

References