CVE-2026-23284

net: ethernet: mtk_eth_soc: Reset prog ptr to old_prog in case of error in mtk_xdp_setup()

Published Mar 25, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

net: ethernet: mtk_eth_soc: Reset prog ptr to old_prog in case of error in mtk_xdp_setup()

Reset eBPF program pointer to old_prog and do not decrease its ref-count
if mtk_open routine in mtk_xdp_setup() fails.

Analysis

AI-generated

Technical impact

A flaw in the MediaTek Ethernet driver’s XDP setup routine causes the pointer to an eBPF program to be reset to its previous value when mtk_open fails, but the reference count of the old program is not decreased. This results in a kernel memory leak that can grow over time and lead to out‑of‑memory conditions or instability. The vulnerability does not grant arbitrary code execution or data exfiltration, but it can impact confidentiality, integrity, or availability through resource exhaustion.

Affected Systems

The issue affects Linux kernel builds that include the MediaTek Ethernet driver (mtk_eth_soc) and support XDP eBPF program loading. All distributions shipping an unmodified driver before the patch commit are vulnerable; no specific kernel versions are listed, and version details from the CNA are absent.

Risk and Exploitability

The EPSS score is below 1% and the vulnerability is not listed in the CISA KEV catalog, indicating a low likelihood of exploitation. Attackers would need the ability to load XDP programs onto a MediaTek Ethernet interface, which typically requires privileged (root) access or capabilities such as CAP_NET_ADMIN. Given a CVSS score of 5.5, the risk is considered moderate, mainly limited to memory exhaustion that could be mitigated by disabling the affected driver or XDP programs.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the kernel to a version that includes the mtk_eth_soc driver patch for CVE-2026-23284.
  • If an upgrade is not immediately possible, disable XDP program usage on MediaTek Ethernet interfaces to prevent triggering the error path.
  • Monitor kernel logs for mtk_xdp_setup errors and watch for abnormal kernel memory growth.
  • If kernel memory usage climbs, consider restarting affected services or performing a system reboot to clear leaked references.

Generated by OpenCVE AI on May 22, 2026 at 01:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4561-1 linux-6.1 security update
Debian DSA Debian DSA DSA-6238-1 linux security update
Debian DSA Debian DSA DSA-6243-1 linux security update
Ubuntu USN Ubuntu USN USN-8567-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8574-1 Linux kernel (GCP FIPS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8574-2 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8595-1 Linux kernel (Oracle) vulnerabilities
Ubuntu USN Ubuntu USN USN-8596-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-8595-2 Linux kernel (AWS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8606-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8607-1 Linux kernel (Azure CVM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8608-1 Linux kernel (Azure FIPS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8609-1 Linux kernel (Azure CVM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8574-3 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8595-3 Linux kernel (AWS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8619-1 Linux kernel (HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-8665-1 Linux kernel (Raspberry Pi) vulnerabilities
History
Type Values Removed Values Added
Weaknesses NVD-CWE-noinfo
CPEs cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

Type Values Removed Values Added
Weaknesses CWE-398
CWE-401
Type Values Removed Values Added
Weaknesses CWE-398
CWE-401
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: net: ethernet: mtk_eth_soc: Reset prog ptr to old_prog in case of error in mtk_xdp_setup() Reset eBPF program pointer to old_prog and do not decrease its ref-count if mtk_open routine in mtk_xdp_setup() fails.
Title net: ethernet: mtk_eth_soc: Reset prog ptr to old_prog in case of error in mtk_xdp_setup()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 10, 2026, 12:42 PM
Reserved
Jan 13, 2026, 3:37 PM
Status
Modified
Published
Mar 25, 2026, 11:16 AM
Modified
Nov 10, 2026, 1:18 PM
Severity
Public date
Mar 25, 2026, 12:00 AM