CVE-2024-57989 wifi: mt76: mt7925: fix NULL deref check in mt7925_change_vif_links
A missing NULL check in the mt7925 WiFi driver can cause a kernel crash, leading to denial of service.
- 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-57989?
CVE-2024-57989 is a medium-severity vulnerability in Linux kernel, published on 27 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:
wifi: mt76: mt7925: fix NULL deref check in mt7925_change_vif_links
In mt7925_change_vif_links() devm_kzalloc() may return NULL but this returned value is not checked.
Weakness: CWE-476
Which versions are affected by CVE-2024-57989?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-57989?
Apply the vendor's patch.
Is CVE-2024-57989 being exploited?
There is no known exploitation of CVE-2024-57989 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2024-57989, DEBIAN-CVE-2024-57989, GHSA-fv27-wq4x-75p3, UBUNTU-CVE-2024-57989.