CVE-2024-35850 Bluetooth: qca: fix NULL-deref on non-serdev setup

Medium 5.5 Published Updated

A missing sanity check in the Linux kernel Bluetooth driver causes a null pointer dereference, leading to a 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-2024-35850?

CVE-2024-35850 is a medium-severity vulnerability in Linux kernel, published on 17 May 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: qca: fix NULL-deref on non-serdev setup

Qualcomm ROME controllers can be registered from the Bluetooth line discipline and in this case the HCI UART serdev pointer is NULL.

Add the missing sanity check to prevent a NULL-pointer dereference when setup() is called for a non-serdev controller.

Weakness: CWE-476

Which versions are affected by CVE-2024-35850?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-35850?

Apply the vendor's patch.

Is CVE-2024-35850 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2024-35850, DEBIAN-CVE-2024-35850, GHSA-6x8f-vpgx-h5h9, UBUNTU-CVE-2024-35850.

Is CVE-2024-35850 in your software?

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

Check your SBOMs for free