CVE-2025-37935
NoneCVSS
—
EPSS
0.5%
Published
May 20, 2025
CISA due date
—
Cloudanix analysis
A flaw in certain Linux network drivers can make systems using more than 4 GB of memory crash unexpectedly during network resets.
- Exploitation
- Local Privilege
- Attacker needs
- Low Privilege
- Complexity
- Moderate
- Impact
- Denial Of Service
- Component
- OS kernel
- Class
- Race Condition
- Remediation
- Patch
- Effort
- Low
- Patch risk
- Low
What it actually does
Race condition in mtk_poll_rx() causes incorrect high-word SDP refill on 4GB+ RFB descriptors when MTK_RESETTING is set, leading mtk_rx_clean to process invalid pointers and trigger kernel panic.
Why it matters to the business
Unexpected system crashes and reboots on affected Ubuntu 20.04 AWS instances using MediaTek Ethernet, resulting in service disruption and potential data loss until the kernel is updated.
How an attack unfolds
An attacker or workload triggers concurrent RX polling and device reset on a 4GB+ RAM system; the flawed flag check allows descriptor corruption that panics the kernel during cleanup.
How to fix it
Upgrade linux-aws-5.15 on Ubuntu 20.04 LTS to version 5.15.0-1073.79~20.04.1 or later; apply the MediaTek SDK patch if building custom kernels.
How to confirm the fix worked
Confirm kernel version is at or above the fixed release; test RX traffic with device resets on systems with 4GB+ RAM to ensure no panic occurs.
Typical attack path
- Gain local execution or trigger network activity on affected MediaTek SoC hardware
- Force or wait for MTK_RESETTING flag during mtk_poll_rx() execution
- Observe kernel panic from invalid SDP processing in mtk_rx_clean
How to detect it
Search kernel logs for panic traces mentioning mtk_poll_rx, MTK_RESETTING, or mtk_rx_clean; correlate with network reset events on MediaTek Ethernet devices.
What your security team should do
- Prioritize kernel package upgrade on all linux-aws-5.15 Ubuntu 20.04 instances within the next maintenance window
- Monitor for kernel panics referencing mtk_eth_soc or mtk_poll_rx in system logs
- Restrict untrusted local access on affected systems until patched
The record
In the Linux kernel, the following vulnerability has been resolved: net: ethernet: mtk_eth_soc: fix SER panic with 4GB+ RAM If the mtk_poll_rx() function detects the MTK_RESETTING flag, it will jump to release_desc and refill the high word of the SDP on the 4GB RFB. Subsequently, mtk_rx_clean will process an incorrect SDP, leading to a panic. Add patch from MediaTek's SDK to resolve this.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:13 | linux | 0 | No fix |
| Debian:13 | linux | 0 | 6.12.29-1 |
| Linux | Kernel | 6.6.0 | 6.6.90 |
| Mageia:9 | dwarves | 0 | 1.30-1.mga9 |
| Mageia:9 | kernel | 0 | 6.6.93-1.mga9 |
| Mageia:9 | kernel-firmware | 0 | 20250509-1.mga9 |
| Mageia:9 | kernel-firmware-nonfree | 0 | 20250509-1.mga9.nonfree |
| Mageia:9 | kernel-linus | 0 | 6.6.93-1.mga9 |
| Mageia:9 | kmod-virtualbox | 0 | 7.1.8-3.mga9 |
| Mageia:9 | kmod-xtables-addons | 0 | 3.24-80.mga9 |
| Mageia:9 | libtraceevent | 0 | 1.8.4-1.mga9 |
| Mageia:9 | libtracefs | 0 | 1.8.2-1.mga9 |
| Mageia:9 | radeon-firmware | 0 | 20250509-1.mga9.nonfree |
| Mageia:9 | wireless-regdb | 0 | 20250220-1.mga9 |
Related vulnerabilities
- CVE-2025-39885 In the Linux kernel, the following vulnerability has been resolved: ocfs2: fix recursive… Also affects linux
- CVE-2025-39883 In the Linux kernel, the following vulnerability has been resolved: mm/memory-failure… Also affects linux
- CVE-2025-39884 In the Linux kernel, the following vulnerability has been resolved: btrfs: fix subvolume… Also affects linux
- CVE-2025-39886 In the Linux kernel, the following vulnerability has been resolved: bpf: Tell memcg to… Also affects linux
- CVE-2025-39876 In the Linux kernel, the following vulnerability has been resolved: net: fec: Fix… Also affects linux
- CVE-2025-39880 In the Linux kernel, the following vulnerability has been resolved: libceph: fix invalid… Also affects linux
- CVE-2025-39881 In the Linux kernel, the following vulnerability has been resolved: kernfs: Fix UAF in… Also affects linux
- CVE-2025-39882 In the Linux kernel, the following vulnerability has been resolved: drm/mediatek: fix… Also affects linux