CVE-2026-31502
team: fix header_ops type confusion with non-Ethernet ports
Check your servers for CVE-2026-31502
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-31502 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:
team: fix header_ops type confusion with non-Ethernet ports
Similar to commit 950803f72547 ("bonding: fix type confusion in bond_setup_by_slave()") team has the same class of header_ops type confusion.
For non-Ethernet ports, team_setup_by_port() copies port_dev->header_ops directly. When the team device later calls dev_hard_header() or dev_parse_header(), these callbacks can run with the team net_device instead of the real lower device, so netdev_priv(dev) is interpreted as the wrong private type and can crash.
The syzbot report shows a crash in bond_header_create(), but the root cause is in team: the topology is gre -> bond -> team, and team calls the inherited header_ops with its own net_device instead of the lower device, so bond_header_create() receives a team device and interprets netdev_priv() as bonding private data, causing a type confusion crash.
Fix this by introducing team header_ops wrappers for create/parse, selecting a team port under RCU, and calling the lower device callbacks with port->dev, so each callback always sees the correct net_device context.
Also pass the selected lower device to the lower parse callback, so recursion is bounded in stacked non-Ethernet topologies and parse callbacks always run with the correct device context.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.14%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 3.17% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 16 Oct 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- total: full control of the component or of its data
Weakness
- CWE-843 Access of Resource Using Incompatible Type
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 1d76efe1577b4323609b1bcbfafa8b731eda071a, before c6e255b0ce30cdea37e34d6d87e2212eb8c7f7a4 affected from 1d76efe1577b4323609b1bcbfafa8b731eda071a, before 420e5aad7ba89e8f79e2dc8327b0c0c24c1c1d53 affected from 1d76efe1577b4323609b1bcbfafa8b731eda071a, before 6d3161fa3eee64d46b766fb0db33ec7f300ef52d affected from 1d76efe1577b4323609b1bcbfafa8b731eda071a, before 0a7468ed49a6b65d34abcc6eb60e15f7f6d34da0 affected from 1d76efe1577b4323609b1bcbfafa8b731eda071a, before 20491d384d973a63fbdaf7a71e38d69b0659ea55 affected from 1d76efe1577b4323609b1bcbfafa8b731eda071a, before 425000dbf17373a4ab8be9428f5dc055ef870a56
Other versions: unaffected
|
| Linux |
affected 3.7 unaffected before 3.7 unaffected from 6.1.191 up to and including 6.1.* unaffected from 6.6.145 up to and including 6.6.* unaffected from 6.12.80 up to and including 6.12.* unaffected from 6.18.21 up to and including 6.18.* unaffected from 6.19.11 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-31502 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-31502
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-31502
trivy image --scanners vuln IMAGE | grep CVE-2026-31502
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/c6e255b0ce30cdea37e34d6d87e2212eb8c7f7a4 git.kernel.org
- https://git.kernel.org/stable/c/420e5aad7ba89e8f79e2dc8327b0c0c24c1c1d53 git.kernel.org
- https://git.kernel.org/stable/c/6d3161fa3eee64d46b766fb0db33ec7f300ef52d git.kernel.org
- https://git.kernel.org/stable/c/0a7468ed49a6b65d34abcc6eb60e15f7f6d34da0 git.kernel.org
- https://git.kernel.org/stable/c/20491d384d973a63fbdaf7a71e38d69b0659ea55 git.kernel.org
- https://git.kernel.org/stable/c/425000dbf17373a4ab8be9428f5dc055ef870a56 git.kernel.org
Source: the record CVE-2026-31502 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse