CVE-2021-47028·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: mt76: mt7915: fix txrate reporting Properly check rate_info to fix unexpected reporting. [ 1215.161863] Call trace: [ 1215.164307] cfg80211_calculate_bitrate+0x124/0x200 [cfg80211] [ 1215.170139] ieee80211s_update_metric+0x80/0xc0 [mac80211] [ 1215.175624] ieee80211_tx_status_ext+0x508/0x838 [mac80211] [ 1215.181190] mt7915_mcu_get_rx_rate+0x28c/0x8d0 [mt7915e] [ 1215.186580] mt7915_mac_tx_free+0x324/0x7c0 [mt7915e] [ 1215.191623] mt7915_queue_rx_skb+0xa8/0xd0 [mt7915e] [ 1215.196582] mt76_dma_cleanup+0x7b0/0x11d0 [mt76] [ 1215.201276] __napi_poll+0x38/0xf8 [ 1215.204668] napi_workfn+0x40/0x80 [ 1215.208062] process_one_work+0x1fc/0x390 [ 1215.212062] worker_thread+0x48/0x4d0 [ 1215.215715] kthread+0x120/0x128 [ 1215.218935] ret_from_fork+0x10/0x1c
- Severity
- high
- Software
- Kernel
- Fixed in
- 5.12.4
- Published
- 2024-02-28
Affected versions
From: 5.12
Until: 5.12.4
Fixed in: 5.12.4
How to fix this CVE
Update your Linux kernel to version 5.12.4 or later to resolve a critical wireless driver reporting issue in the mt7915 module. This vulnerability affects transmission rate information handling in the mt76 driver, which can cause kernel panics and system instability when processing network traffic metrics. Apply the kernel update immediately and reboot your system to activate the patched version.
sudo dnf update kernel kernel-devel && sudo rebootDefensia detects this vulnerability
How to check if you are affected
- Check installed kernel version: uname -r
- Verify if mt7915 driver is loaded: lsmod | grep mt7915
- Search system logs for rate reporting errors: grep -i 'cfg80211_calculate_bitrate\|mt7915_mcu_get_rx_rate' /var/log/kern.log
- Confirm fix by upgrading and verifying new kernel version with: uname -r (should show 5.12.4 or later)
- Check mt76 driver module info: modinfo mt76 | grep version
FAQ
What is CVE-2021-47028?
CVE-2021-47028 is a kernel vulnerability in the mt7915 wireless driver's transmission rate reporting mechanism. Improper validation of rate information structures can cause kernel panics and potential privilege escalation when the driver processes network traffic statistics.
Is CVE-2021-47028 being actively exploited?
No, this vulnerability is not currently listed in the CISA Known Exploited Vulnerabilities catalog and no public exploits are available. However, the high CVSS score (7.8) indicates it should still be prioritized for patching.
What versions of Kernel are affected by CVE-2021-47028?
Linux kernel versions 5.12.0 through 5.12.3 are vulnerable. The fix was integrated in kernel 5.12.4 and all subsequent releases.
How do I check if my server is vulnerable to CVE-2021-47028?
Run 'uname -r' to check your kernel version. If it shows 5.12.0 through 5.12.3, you are vulnerable. Also verify if mt7915 driver is in use with 'lsmod | grep mt7915'.
Does Defensia detect CVE-2021-47028?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2021-47028 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/4bd926e5ca88eac4d95eacb806b229f8729bc62e
- https://git.kernel.org/stable/c/dfc8a71448c7d4fec38fb22bdc8a76d79c14b6da
- https://git.kernel.org/stable/c/f43b941fd61003659a3f0e039595e5e525917aa8
- https://git.kernel.org/stable/c/4bd926e5ca88eac4d95eacb806b229f8729bc62e
- https://git.kernel.org/stable/c/dfc8a71448c7d4fec38fb22bdc8a76d79c14b6da
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2021-47028. Free for 1 server.
Get started free