CVE-2026-23284: net: ethernet: mtk_eth_soc: Reset prog ptr to old_prog in case of error in mtk_xdp_setup()
In the Linux kernel, the following vulnerability has been resolved:
net: ethernet: mtkethsoc: Reset prog ptr to oldprog in case of error in mtkxdpsetup()
Reset eBPF program pointer to oldprog and do not decrease its ref-count if mtkopen routine in mtkxdpsetup() fails.
Affected Software
Event History
Frequently Asked Questions
Which systems are realistically exposed to this issue?
Exposure is limited to systems using the Linux kernel MediaTek Ethernet SoC driver (mtk_eth_soc). The affected error path is reached when configuring an eBPF/XDP program and the driver's mtk_open routine fails.
What level of access is needed to exploit the vulnerability?
An attacker would need local access, high privileges, and the ability to trigger the relevant eBPF/XDP configuration failure path. The supplied CVSS vector indicates no user interaction is required, but exploitation has high attack complexity.
Are default configurations affected?
The provided data does not establish that a default installation is affected. It specifically involves use of the mtk_eth_soc driver together with eBPF/XDP setup and an mtk_open failure.
What mitigation is available before applying a fix?
If patching cannot happen immediately, reduce exposure by preventing untrusted users or workloads from obtaining the high privileges needed to configure eBPF/XDP programs, and avoid XDP program changes on interfaces using the mtk_eth_soc driver. Monitor such configuration attempts and failures on affected systems.
How can I determine whether a host may be affected?
Review whether the running kernel uses the mtk_eth_soc Ethernet driver and whether XDP/eBPF programs are configured or changed on its interfaces. Systems that do not use this driver are not indicated as affected by the provided information.