CVE-2026-31736

net: ethernet: mtk_ppe: avoid NULL deref when gmac0 is disabled

Published May 1, 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_ppe: avoid NULL deref when gmac0 is disabled

If the gmac0 is disabled, the precheck for a valid ingress device will
cause a NULL pointer deref and crash the system. This happens because
eth->netdev[0] will be NULL but the code will directly try to access
netdev_ops.

Instead of just checking for the first net_device, it must be checked if
any of the mtk_eth net_devices is matching the netdev_ops of the ingress
device.

Analysis

AI-generated

Technical impact

The Linux kernel Ethernet driver for MediaTek (mtk_ppe) incorrectly accesses a null pointer when the first network device gmac0 is disabled, leading to a kernel crash. This null dereference results in a denial‑of‑service condition and is classified as CWE‑476.

Affected Systems

All Linux kernel installations that include the mtk_ppe driver are affected. No specific release numbers are listed, so any kernel containing this code path remains vulnerable until patched. The vendor is Linux.

Risk and Exploitability

The flaw is a pure denial‑of‑service with no authentication or privilege requirements. The CVSS score of 5.5 indicates a moderate severity. The EPSS score is < 1% and the vulnerability is not listed in KEV. The risk remains high because a straightforward trigger such as disabling gmac0 or manipulating network configuration will crash the host, disrupting service.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a Linux kernel update that includes the mtk_ppe null‑dereference patch referenced in the listed commits.
  • If an update is not available, avoid disabling gmac0; keep the Ethernet device enabled to prevent the null pointer condition from occurring.
  • As a temporary measure, monitor kernel logs for ‘oops’ or ‘panic’ messages related to mtk_ppe and remediate promptly.

Generated by OpenCVE AI on May 7, 2026 at 18:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc6:*:*:*:*:*:*
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-476
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: net: ethernet: mtk_ppe: avoid NULL deref when gmac0 is disabled If the gmac0 is disabled, the precheck for a valid ingress device will cause a NULL pointer deref and crash the system. This happens because eth->netdev[0] will be NULL but the code will directly try to access netdev_ops. Instead of just checking for the first net_device, it must be checked if any of the mtk_eth net_devices is matching the netdev_ops of the ingress device.
Title net: ethernet: mtk_ppe: avoid NULL deref when gmac0 is disabled
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
May 11, 2026, 10:14 PM
Reserved
Mar 9, 2026, 3:48 PM
Status
Analyzed
Published
May 1, 2026, 3:16 PM
Modified
Nov 11, 2026, 9:10 PM
Severity
Public date
May 1, 2026, 12:00 AM