Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-31502

HIGH 7.8EPSS 5%

team: fix header_ops type confusion with non-Ethernet ports

Mitigation

  • Upgrade Linux to 425000dbf17373a4ab8be9428f5dc055ef870a56 or later.

Who should check

  • Anyone running Linux >= 1d76efe1577b4323609b1bcbfafa8b731eda071a, < c6e255b0ce30cdea37e34d6d87e2212eb8c7f7a4; >= 1d76efe1577b4323609b1bcbfafa8b731eda071a, < 420e5aad7ba89e8f79e2dc8327b0c0c24c1c1d53; >= 1d76efe1577b4323609b1bcbfafa8b731eda071a, < 6d3161fa3eee64d46b766fb0db33ec7f300ef52d; >= 1d76efe1577b4323609b1bcbfafa8b731eda071a, < 0a7468ed49a6b65d34abcc6eb60e15f7f6d34da0; >= 1d76efe1577b4323609b1bcbfafa8b731eda071a, < 20491d384d973a63fbdaf7a71e38d69b0659ea55; >= 1d76efe1577b4323609b1bcbfafa8b731eda071a, < 425000dbf17373a4ab8be9428f5dc055ef870a56
  • Anyone running Linux 3.7

Vulnerability facts

Affected
Linux >= 1d76efe1577b4323609b1bcbfafa8b731eda071a, < c6e255b0ce30cdea37e34d6d87e2212eb8c7f7a4; >= 1d76efe1577b4323609b1bcbfafa8b731eda071a, < 420e5aad7ba89e8f79e2dc8327b0c0c24c1c1d53; >= 1d76efe1577b4323609b1bcbfafa8b731eda071a, < 6d3161fa3eee64d46b766fb0db33ec7f300ef52d; >= 1d76efe1577b4323609b1bcbfafa8b731eda071a, < 0a7468ed49a6b65d34abcc6eb60e15f7f6d34da0; >= 1d76efe1577b4323609b1bcbfafa8b731eda071a, < 20491d384d973a63fbdaf7a71e38d69b0659ea55; >= 1d76efe1577b4323609b1bcbfafa8b731eda071a, < 425000dbf17373a4ab8be9428f5dc055ef870a56; Linux 3.7
Fixed in
Linux 420e5aad7ba89e8f79e2dc8327b0c0c24c1c1d53, Linux 6d3161fa3eee64d46b766fb0db33ec7f300ef52d, Linux 0a7468ed49a6b65d34abcc6eb60e15f7f6d34da0, Linux 20491d384d973a63fbdaf7a71e38d69b0659ea55, Linux 425000dbf17373a4ab8be9428f5dc055ef870a56
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
0.18% chance of exploitation in 30 days (percentile 5, 2026-11-26)
CWE
CWE-843
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 1d76efe1577b4323609b1bcbfafa8b731eda071a, < c6e255b0ce30cdea37e34d6d87e2212eb8c7f7a4; >= 1d76efe1577b4323609b1bcbfafa8b731eda071a, < 420e5aad7ba89e8f79e2dc8327b0c0c24c1c1d53; >= 1d76efe1577b4323609b1bcbfafa8b731eda071a, < 6d3161fa3eee64d46b766fb0db33ec7f300ef52d; >= 1d76efe1577b4323609b1bcbfafa8b731eda071a, < 0a7468ed49a6b65d34abcc6eb60e15f7f6d34da0; >= 1d76efe1577b4323609b1bcbfafa8b731eda071a, < 20491d384d973a63fbdaf7a71e38d69b0659ea55; >= 1d76efe1577b4323609b1bcbfafa8b731eda071a, < 425000dbf17373a4ab8be9428f5dc055ef870a56—cvelist
Linux3.7—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-31502. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-31502.md
Affected: Linux >= 1d76efe1577b4323609b1bcbfafa8b731eda071a, < c6e255b0ce30cdea37e34d6d87e2212eb8c7f7a4; >= 1d76efe1577b4323609b1bcbfafa8b731eda071a, < 420e5aad7ba89e8f79e2dc8327b0c0c24c1c1d53; >= 1d76efe1577b4323609b1bcbfafa8b731eda071a, < 6d3161fa3eee64d46b766fb0db33ec7f300ef52d; >= 1d76efe1577b4323609b1bc…
Fixed in: Linux 420e5aad7ba89e8f79e2dc8327b0c0c24c1c1d53, Linux 6d3161fa3eee64d46b766fb0db33ec7f300ef52d, Linux 0a7468ed49a6b65d34abcc6eb60e15f7f6d34da0, Linux 20491d384d973a63fbdaf7a71e38d69b0659ea55, Linux 425000dbf17373a4ab8be9428f5dc055ef870a56

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-31502 being exploited?

There is no confirmed exploitation: CVE-2026-31502 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-31502?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2026-31502?

Linux >= 1d76efe1577b4323609b1bcbfafa8b731eda071a, < c6e255b0ce30cdea37e34d6d87e2212eb8c7f7a4; >= 1d76efe1577b4323609b1bcbfafa8b731eda071a, < 420e5aad7ba89e8f79e2dc8327b0c0c24c1c1d53; >= 1d76efe1577b4323609b1bcbfafa8b731eda071a, < 6d3161fa3eee64d46b766fb0db33ec7f300ef52d; >= 1d76efe1577b4323609b1bcbfafa8b731eda071a, < 0a7468ed49a6b65d34abcc6eb60e15f7f6d34da0; >= 1d76efe1577b4323609b1bcbfafa8b731eda071a, < 20491d384d973a63fbdaf7a71e38d69b0659ea55; >= 1d76efe1577b4323609b1bcbfafa8b731eda071a, < 425000dbf17373a4ab8be9428f5dc055ef870a56; Linux 3.7.

Is there a fix for CVE-2026-31502?

Yes. Fixed in Linux 420e5aad7ba89e8f79e2dc8327b0c0c24c1c1d53, Linux 6d3161fa3eee64d46b766fb0db33ec7f300ef52d, Linux 0a7468ed49a6b65d34abcc6eb60e15f7f6d34da0, Linux 20491d384d973a63fbdaf7a71e38d69b0659ea55, Linux 425000dbf17373a4ab8be9428f5dc055ef870a56. Upgrade Linux to 425000dbf17373a4ab8be9428f5dc055ef870a56 or later.

How do I check if I'm affected by CVE-2026-31502?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors