CVE-2026-31736

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

published May 1, 2026

CVSS
—
EPSS
0%
Percentile
5.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00162 · 5.0th percentile
Published
2026-05-01T14:14Z
EPSS history
Timeline
  • 01 MAY 14:14Z
    net: ethernet: mtk_ppe: avoid NULL deref when gmac0 is disabled
    cvelistv5