CVE-2021-33034 Use after free in n/a

High 7.8 Published Updated

A use-after-free in the Linux kernel Bluetooth subsystem allows attackers to write arbitrary values, potentially leading to code execution or privilege escalation.

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

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

Official description

In the Linux kernel before 5.12.4, net/bluetooth/hci_event.c has a use-after-free when destroying an hci_chan, aka CID-5c4c8c954409. This leads to writing an arbitrary value.

Weakness: CWE-416

Which versions are affected by CVE-2021-33034?

It affects 3 products.

Linux distribution packages (30)
kpatch-patch-4_18_0-305 Red Hat:enterprise_linux:8::baseosAll versions0:1-2.el8
kpatch-patch-4_18_0-305-debuginfo Red Hat:enterprise_linux:8::baseosAll versions0:1-2.el8
kpatch-patch-4_18_0-305-debugsource Red Hat:enterprise_linux:8::baseosAll versions0:1-2.el8
kpatch-patch-4_18_0-305_3_1 Red Hat:enterprise_linux:8::baseosAll versions0:1-1.el8_4
kpatch-patch-4_18_0-305_3_1-debuginfo Red Hat:enterprise_linux:8::baseosAll versions0:1-1.el8_4
kpatch-patch-4_18_0-305_3_1-debugsource Red Hat:enterprise_linux:8::baseosAll versions0:1-1.el8_4
kpatch-patch-4_18_0-147_24_2 Red Hat:rhel_eus:8.1::baseosAll versions0:1-10.el8_1
kpatch-patch-4_18_0-147_24_2-debuginfo Red Hat:rhel_eus:8.1::baseosAll versions0:1-10.el8_1
kpatch-patch-4_18_0-147_24_2-debugsource Red Hat:rhel_eus:8.1::baseosAll versions0:1-10.el8_1
kpatch-patch-4_18_0-147_27_1 Red Hat:rhel_eus:8.1::baseosAll versions0:1-10.el8_1
kpatch-patch-4_18_0-147_27_1-debuginfo Red Hat:rhel_eus:8.1::baseosAll versions0:1-10.el8_1
kpatch-patch-4_18_0-147_27_1-debugsource Red Hat:rhel_eus:8.1::baseosAll versions0:1-10.el8_1
kpatch-patch-4_18_0-147_32_1 Red Hat:rhel_eus:8.1::baseosAll versions0:1-8.el8_1
kpatch-patch-4_18_0-147_32_1-debuginfo Red Hat:rhel_eus:8.1::baseosAll versions0:1-8.el8_1
kpatch-patch-4_18_0-147_32_1-debugsource Red Hat:rhel_eus:8.1::baseosAll versions0:1-8.el8_1
kpatch-patch-4_18_0-147_34_1 Red Hat:rhel_eus:8.1::baseosAll versions0:1-8.el8_1
kpatch-patch-4_18_0-147_34_1-debuginfo Red Hat:rhel_eus:8.1::baseosAll versions0:1-8.el8_1
kpatch-patch-4_18_0-147_34_1-debugsource Red Hat:rhel_eus:8.1::baseosAll versions0:1-8.el8_1
kpatch-patch-4_18_0-147_38_1 Red Hat:rhel_eus:8.1::baseosAll versions0:1-7.el8_1
kpatch-patch-4_18_0-147_38_1-debuginfo Red Hat:rhel_eus:8.1::baseosAll versions0:1-7.el8_1
kpatch-patch-4_18_0-147_38_1-debugsource Red Hat:rhel_eus:8.1::baseosAll versions0:1-7.el8_1
kpatch-patch-4_18_0-147_43_1 Red Hat:rhel_eus:8.1::baseosAll versions0:1-5.el8_1
kpatch-patch-4_18_0-147_43_1-debuginfo Red Hat:rhel_eus:8.1::baseosAll versions0:1-5.el8_1
kpatch-patch-4_18_0-147_43_1-debugsource Red Hat:rhel_eus:8.1::baseosAll versions0:1-5.el8_1
kpatch-patch-4_18_0-147_44_1 Red Hat:rhel_eus:8.1::baseosAll versions0:1-4.el8_1
kpatch-patch-4_18_0-147_44_1-debuginfo Red Hat:rhel_eus:8.1::baseosAll versions0:1-4.el8_1
kpatch-patch-4_18_0-147_44_1-debugsource Red Hat:rhel_eus:8.1::baseosAll versions0:1-4.el8_1
kpatch-patch-4_18_0-147_48_1 Red Hat:rhel_eus:8.1::baseosAll versions0:1-1.el8_1
kpatch-patch-4_18_0-147_48_1-debuginfo Red Hat:rhel_eus:8.1::baseosAll versions0:1-1.el8_1
kpatch-patch-4_18_0-147_48_1-debugsource Red Hat:rhel_eus:8.1::baseosAll versions0:1-1.el8_1

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

How do I fix CVE-2021-33034?

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

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

Public exploit code: 1 proofs of concept on GitHub.

All Debian Debian Linux vulnerabilities

Sources

Also known as A-194694600, AZL-6562, DEBIAN-CVE-2021-33034, GHSA-3qpw-8jg3-xjrh, PUB-A-194694600, RHSA-2021:2563 and 2 more.

Is CVE-2021-33034 in your software?

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

Check your SBOMs for free