CVE-2023-1989 Kernel: use after free bug in btsdio_remove due to race condition

High 7.0 Published Updated

A use-after-free race condition in the Linux Kernel Bluetooth driver allows local attackers to potentially execute code or escalate privileges.

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-2023-1989?

CVE-2023-1989 is a high-severity use after free vulnerability in Debian Debian Linux, published on 11 Apr 2023. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A use-after-free flaw was found in btsdio_remove in drivers\bluetooth\btsdio.c in the Linux Kernel. A call to btsdio_remove with an unfinished job may cause a race problem which leads to a UAF on hdev devices.

Weakness: CWE-416

Which versions are affected by CVE-2023-1989?

It affects 7 products.

Products include Debian Debian Linux, Linux kernel, Netapp H300s, Netapp H410c, Netapp H410s, Netapp H500s and 1 more.

How do I fix CVE-2023-1989?

Apply the vendor's patch.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2023-1989 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as AZL-26168, AZL-26983, BELL-CVE-2023-1989, DEBIAN-CVE-2023-1989, GHSA-99cc-3w6r-wwmv, UBUNTU-CVE-2023-1989.

Is CVE-2023-1989 in your software?

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

Check your SBOMs for free