net: ethernet: mtk_eth_soc: pass eth to mtk_handle_irq_rx in poll_controller
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 8186f6e382d8719d0a4bc0ef218c4dd7cf55b496 · < e095f249e2209674f6366f6db0383a2b96e19239| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's mtk_eth_soc driver passes the wrong pointer to its receive interrupt handler from the poll controller. Calling ndo_poll_controller when CONFIG_NET_POLL_CONTROLLER is enabled causes a crash. The input does not specify whether an attacker can trigger the call remotely or whether authentication or user interaction is required.
Engineers running Linux kernels with the mtk_eth_soc driver and CONFIG_NET_POLL_CONTROLLER enabled should check their systems; affected versions were not provided.