CVE-2022-49479·Kernel vulnerability
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
- Severity
- high
- Software
- Kernel
- Fixed in
- 5.18.3
- Published
- 2025-02-26
Affected versions
From: 5.18
Until: 5.18.3
Fixed in: 5.18.3
How to fix this CVE
Update your Linux kernel to version 5.18.3 or later to resolve a race condition in the mt76 wireless driver that can cause memory corruption during station removal. This vulnerability affects kernel versions 5.18 through 5.18.2 and allows a use-after-free condition when transmit status operations occur concurrently with wireless device disconnections. Promptly apply kernel updates to eliminate this high-severity memory safety issue.
sudo dnf update kernel && sudo rebootDefensia detects this vulnerability
How to check if you are affected
- Check your kernel version with: uname -r — look for 5.18.0 through 5.18.2 as vulnerable versions
- Verify mt76 wireless driver is loaded by running: lsmod | grep mt76 — if present, the vulnerability path is active
- Search system logs for station removal errors: sudo dmesg | grep -i 'mt76\|wcid\|use-after-free' — exploitation may leave memory error traces
- After patching, confirm kernel upgrade with: uname -r and verify output shows 5.18.3 or later, then check driver still loads: modprobe mt76
FAQ
What is CVE-2022-49479?
CVE-2022-49479 is a use-after-free vulnerability in the Linux kernel's mt76 wireless driver that occurs when transmit status tracking operations race with wireless station removal, potentially allowing memory corruption and system instability.
Is CVE-2022-49479 being actively exploited?
No, this vulnerability is not listed in CISA's Known Exploited Vulnerabilities (KEV) catalog and no public exploits are known to exist, though the memory safety risk warrants prompt patching.
What versions of Kernel are affected by CVE-2022-49479?
Kernel versions 5.18.0 through 5.18.2 are vulnerable; the fix is available in kernel 5.18.3 and all subsequent releases.
How do I check if my server is vulnerable to CVE-2022-49479?
Run uname -r and check if the output is 5.18.0, 5.18.1, or 5.18.2; if so, your system is vulnerable. Also verify mt76 is in use with lsmod | grep mt76.
Does Defensia detect CVE-2022-49479?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2022-49479 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2022-49479. Free for 1 server.
Get started free