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

Medium 6.4 Published Updated

A use-after-free vulnerability in the Linux kernel's HSO driver allows local attackers to potentially execute arbitrary code or escalate privileges.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2021-37159?

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

Official description

hso_free_net_device in drivers/net/usb/hso.c in the Linux kernel through 5.13.4 calls unregister_netdev without checking for the NETREG_REGISTERED state, leading to a use-after-free and a double free.

Weakness: CWE-416, CWE-415

Which versions are affected by CVE-2021-37159?

It affects 5 products.

Products include Debian Debian Linux, Linux kernel, Oracle Communications Cloud Native Core Binding Support Function, Oracle Communications Cloud Native Core Network Exposure Function, Oracle Communications Cloud Native Core Policy.

How do I fix CVE-2021-37159?

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

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

All Debian Debian Linux vulnerabilities

Sources

Also known as A-195082947, AZL-6578, DEBIAN-CVE-2021-37159, GHSA-jh5h-88qq-m547, PUB-A-195082947, UBUNTU-CVE-2021-37159.

Is CVE-2021-37159 in your software?

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

Check your SBOMs for free