What’s Vulnerable › Vulnerabilities

CVE-2026-31736: net: ethernet: mtk_ppe: avoid NULL deref when gmac0 is disabled

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 6.12.81, 6.18.22, 6.19.12. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-31736 or the next vulnerability affects your stack