CVE-2024-26889 Bluetooth: hci_core: Fix possible buffer overflow

Medium 5.5 Published Updated

A buffer overflow in the Linux kernel Bluetooth subsystem allows attackers to potentially execute code or cause a denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-26889?

CVE-2024-26889 is a medium-severity memory corruption vulnerability in Debian Debian Linux, published on 17 Apr 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In the Linux kernel, the following vulnerability has been resolved:

Bluetooth: hci_core: Fix possible buffer overflow

struct hci_dev_info has a fixed size name[8] field so in the event that hdev->name is bigger than that strcpy would attempt to write past its size, so this fixes this problem by switching to use strscpy.

Weakness: CWE-120

Which versions are affected by CVE-2024-26889?

It affects 2 products.

Products include Debian Debian Linux, Linux kernel.

How do I fix CVE-2024-26889?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2024-26889 being exploited?

There is no known exploitation of CVE-2024-26889 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as BELL-CVE-2024-26889, DEBIAN-CVE-2024-26889, GHSA-3x8x-qmm7-6f56, UBUNTU-CVE-2024-26889.

Is CVE-2024-26889 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free