CVE-2024-35789 wifi: mac80211: check/clear fast rx for non-4addr sta VLAN changes

High 8.0 Published Updated

A use-after-free vulnerability in the Linux kernel's mac80211 Wi-Fi subsystem allows attackers to cause crashes or potentially execute code via VLAN changes.

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-2024-35789?

CVE-2024-35789 is a high-severity use after free vulnerability in Debian Debian Linux, published on 17 May 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:

wifi: mac80211: check/clear fast rx for non-4addr sta VLAN changes

When moving a station out of a VLAN and deleting the VLAN afterwards, the fast_rx entry still holds a pointer to the VLAN's netdev, which can cause use-after-free bugs. Fix this by immediately calling ieee80211_check_fast_rx after the VLAN change.

Weakness: CWE-416

Which versions are affected by CVE-2024-35789?

It affects 2 products.

Products include Debian Debian Linux, Linux kernel.

How do I fix CVE-2024-35789?

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-2024-35789 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as BELL-CVE-2024-35789, DEBIAN-CVE-2024-35789, GHSA-v4h4-wp66-6q5x, UBUNTU-CVE-2024-35789.

Is CVE-2024-35789 in your software?

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

Check your SBOMs for free