CVE-2024-40921 net: bridge: mst: pass vlan group directly to br_mst_vlan_set_state

Medium 5.5 Published Updated

A suspicious RCU dereference in the Linux kernel bridge MST code could lead to race conditions and potential system instability or crashes.

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

CVE-2024-40921 is a medium-severity vulnerability in Linux kernel, published on 12 Jul 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:

net: bridge: mst: pass vlan group directly to br_mst_vlan_set_state

Pass the already obtained vlan group pointer to br_mst_vlan_set_state() instead of dereferencing it again. Each caller has already correctly dereferenced it for their context. This change is required for the following suspicious RCU dereference fix. No functional changes intended.

Which versions are affected by CVE-2024-40921?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-40921?

Apply the vendor's patch.

Is CVE-2024-40921 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2024-40921, DEBIAN-CVE-2024-40921, GHSA-whmg-cwg5-87xp, UBUNTU-CVE-2024-40921.

Is CVE-2024-40921 in your software?

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

Check your SBOMs for free