CVE-2021-47141 gve: Add NULL pointer checks when freeing irqs.

Medium 5.5 Published Updated

A NULL pointer dereference in the gve driver can cause a denial of service when unloading the driver after failed vector allocation.

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

CVE-2021-47141 is a medium-severity vulnerability in Linux kernel, published on 25 Mar 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:

gve: Add NULL pointer checks when freeing irqs.

When freeing notification blocks, we index priv->msix_vectors. If we failed to allocate priv->msix_vectors (see abort_with_msix_vectors) this could lead to a NULL pointer dereference if the driver is unloaded.

Weakness: CWE-476

Which versions are affected by CVE-2021-47141?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2021-47141?

Apply the vendor's patch.

Is CVE-2021-47141 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as DEBIAN-CVE-2021-47141, GHSA-xv6v-85pc-qw3p, UBUNTU-CVE-2021-47141.

Is CVE-2021-47141 in your software?

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

Check your SBOMs for free