CVE-2018-21008 Use after free in n/a

Medium 5.5 Published Updated

A use-after-free in the Linux kernel RSI wireless driver allows attackers to execute arbitrary code or escalate privileges.

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-2018-21008?

CVE-2018-21008 is a medium-severity use after free vulnerability in Linux kernel, published on 4 Sep 2019. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

An issue was discovered in the Linux kernel before 4.16.7. A use-after-free can be caused by the function rsi_mac80211_detach in the file drivers/net/wireless/rsi/rsi_91x_mac80211.c.

Weakness: CWE-416

Which versions are affected by CVE-2018-21008?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2018-21008?

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-2018-21008 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as DEBIAN-CVE-2018-21008, GHSA-37vj-3f2g-f852, UBUNTU-CVE-2018-21008.

Is CVE-2018-21008 in your software?

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

Check your SBOMs for free