CVE-2021-3564 Use after free in kernel

Medium 5.5 Published Updated

A local attacker can crash the Linux kernel via a double-free vulnerability in the Bluetooth HCI subsystem.

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-2021-3564?

CVE-2021-3564 is a medium-severity use after free vulnerability in Debian Debian Linux, published on 8 Jun 2021. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A flaw double-free memory corruption in the Linux kernel HCI device initialization subsystem was found in the way user attach malicious HCI TTY Bluetooth device. A local user could use this flaw to crash the system. This flaw affects all the Linux kernel versions starting from 3.13.

Weakness: CWE-415

Which versions are affected by CVE-2021-3564?

It affects 3 products.

Products include Debian Debian Linux, Fedoraproject Fedora, Linux kernel.

How do I fix CVE-2021-3564?

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-2021-3564 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as AZL-34858, AZL-6573, DEBIAN-CVE-2021-3564, GHSA-x4rf-jx7j-r49m, UBUNTU-CVE-2021-3564.

Is CVE-2021-3564 in your software?

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

Check your SBOMs for free