CVE-2021-47021 mt76: mt7915: fix memleak when mt7915_unregister_device()

Medium 5.5 Published Updated

A memory leak in the mt7915 Wi-Fi driver can lead to resource exhaustion and denial of service when the device is unregistered.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-47021?

CVE-2021-47021 is a medium-severity denial of service vulnerability in Linux kernel, published on 28 Feb 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:

mt76: mt7915: fix memleak when mt7915_unregister_device()

mt7915_tx_token_put() should get call before mt76_free_pending_txwi().

Weakness: CWE-401

Which versions are affected by CVE-2021-47021?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2021-47021?

No fix has been published for CVE-2021-47021 yet. Limit exposure of the affected software until one is available.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2021-47021 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as GHSA-88w2-c8v7-h7p6, UBUNTU-CVE-2021-47021.

Is CVE-2021-47021 in your software?

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

Check your SBOMs for free