CVE-2026-31736
net: ethernet: mtk_ppe: avoid NULL deref when gmac0 is disabled
Check your servers for CVE-2026-31736
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-31736 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.13%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 2.54% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 73cfd947dbdb25ef9863ac49c4596a7d53ad4025, before 0b832aad33e6f160fda310f0306a6483d85e9d6e affected from 73cfd947dbdb25ef9863ac49c4596a7d53ad4025, before 5dff799c677152dde963c3917bacd9127b03e145 affected from 73cfd947dbdb25ef9863ac49c4596a7d53ad4025, before 7b2380f0a0e374010c1a4a13203511b9dee5b166 affected from 73cfd947dbdb25ef9863ac49c4596a7d53ad4025, before 976ff48c2ac6e6b25b01428c9d7997bcd0fb2949
Other versions: unaffected
|
| Linux |
affected 6.11 unaffected before 6.11 unaffected from 6.12.81 up to and including 6.12.* unaffected from 6.18.22 up to and including 6.18.* unaffected from 6.19.12 up to and including 6.19.* unaffected 7.0 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-31736 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-31736
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-31736
trivy image --scanners vuln IMAGE | grep CVE-2026-31736
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/0b832aad33e6f160fda310f0306a6483d85e9d6e git.kernel.org
- https://git.kernel.org/stable/c/5dff799c677152dde963c3917bacd9127b03e145 git.kernel.org
- https://git.kernel.org/stable/c/7b2380f0a0e374010c1a4a13203511b9dee5b166 git.kernel.org
- https://git.kernel.org/stable/c/976ff48c2ac6e6b25b01428c9d7997bcd0fb2949 git.kernel.org
Source: the record CVE-2026-31736 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse