CVE-2023-53145 Bluetooth: btsdio: fix use after free bug in btsdio_remove due to race condition

High 7.8 Published Updated

A race condition in the Linux kernel Bluetooth driver allows a use-after-free, potentially leading to code execution or system crash.

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-53145?

CVE-2023-53145 is a high-severity use after free vulnerability in Linux kernel, published on 10 May 2025. 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: btsdio: fix use after free bug in btsdio_remove due to race condition

In btsdio_probe, the data->work is bound with btsdio_work. It will be started in btsdio_send_frame.

If the btsdio_remove runs with a unfinished work, there may be a race condition that hdev is freed but used in btsdio_work. Fix it by canceling the work before do cleanup in btsdio_remove.

Weakness: CWE-416

Which versions are affected by CVE-2023-53145?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2023-53145?

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-53145 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2023-53145, DEBIAN-CVE-2023-53145, GHSA-x63c-5qg7-5jgc, UBUNTU-CVE-2023-53145.

Is CVE-2023-53145 in your software?

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

Check your SBOMs for free