CVE-2022-49479 mt76: fix tx status related use-after-free race on station removal

High 8.8 Published Updated

A race condition in the mt76 driver allows a use-after-free during station removal, potentially leading to code execution or denial of service.

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-2022-49479?

CVE-2022-49479 is a high-severity use after free vulnerability in Linux kernel, published on 26 Feb 2025. 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: fix tx status related use-after-free race on station removal

There is a small race window where ongoing tx activity can lead to a skb getting added to the status tracking idr after that idr has already been cleaned up, which will keep the wcid linked in the status poll list. Fix this by only adding status skbs if the wcid pointer is still assigned in dev->wcid, which gets cleared early by mt76_sta_pre_rcu_remove

Weakness: CWE-416

Which versions are affected by CVE-2022-49479?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2022-49479?

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-2022-49479 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as DEBIAN-CVE-2022-49479, GHSA-jgc9-w6v9-w8rc, UBUNTU-CVE-2022-49479.

Is CVE-2022-49479 in your software?

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

Check your SBOMs for free