Linux
net: ethernet: mtk_eth_soc: pass eth to mtk_handle_irq_rx in poll_controller
In the Linux kernel, the following vulnerability has been resolved: net: ethernet: mtk_eth_soc: pass eth to mtk_handle_irq_rx in poll_controller mtk_handle_irq_rx expects a struct mtk_eth * (matching the request_irq cookie), but mtk_poll_controller incorrectly passed the net_device *. Calling ndo_poll_controller with CONFIG_NET_POLL_CONTROLLER enabled would then crash.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 8186f6e382d8719d0a4bc0ef218c4dd7cf55b496, < 979a736fcac2ee32b55dafa6766188aa8b6927a4
- >= 8186f6e382d8719d0a4bc0ef218c4dd7cf55b496, < a9133c4d335e48ba92f4daed10c506378924f976
- >= 8186f6e382d8719d0a4bc0ef218c4dd7cf55b496, < 3bd58ac9ca0c552651f533c1bd280dd19ae7d4e8
- >= 8186f6e382d8719d0a4bc0ef218c4dd7cf55b496, < 276f1f180f55d56cf5992a581e20ed2b3dfa6ced
- >= 8186f6e382d8719d0a4bc0ef218c4dd7cf55b496, < 7eb46318d53940dab63dea7130e720b67a656104
- >= 8186f6e382d8719d0a4bc0ef218c4dd7cf55b496, < e095f249e2209674f6366f6db0383a2b96e19239
Fixed in 979a736fcac2ee32b55dafa6766188aa8b6927a4, a9133c4d335e48ba92f4daed10c506378924f976, 3bd58ac9ca0c552651f533c1bd280dd19ae7d4e8, 276f1f180f55d56cf5992a581e20ed2b3dfa6ced, 7eb46318d53940dab63dea7130e720b67a656104, e095f249e2209674f6366f6db0383a2b96e19239
- 4.8
Fixed in 0, 6.1.191, 6.6.160, 6.12.103, 6.18.44, 7.1.8, 7.2
Mitigation
Upgrade Linux to 979a736fcac2ee32b55dafa6766188aa8b6927a4 or a9133c4d335e48ba92f4daed10c506378924f976 or 3bd58ac9ca0c552651f533c1bd280dd19ae7d4e8 or 276f1f180f55d56cf5992a581e20ed2b3dfa6ced or 7eb46318d53940dab63dea7130e720b67a656104 or e095f249e2209674f6366f6db0383a2b96e19239 or later.
Upgrade Linux to 0 or 6.1.191 or 6.6.160 or 6.12.103 or 6.18.44 or 7.1.8 or 7.2 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.