# CVE-2026-139241: team: reject CAN, IEEE 802.15.4 and 6LoWPAN devices in team_port_add


- **Severity:** Not scored
- **Exploited in the wild:** Not known
- **Fix available:** Yes
- **Published:** 30 Nov 2026
- **Updated:** 30 Nov 2026
- **Also known as:** BELL-CVE-2026-139241, DEBIAN-CVE-2026-139241, GHSA-q38w-h4g5-gfmq, UBUNTU-CVE-2026-139241

## What is CVE-2026-139241?

CVE-2026-139241 is a vulnerability in Linux, published on 30 Nov 2026. 

### Official description

In the Linux kernel, the following vulnerability has been resolved:

team: reject CAN, IEEE 802.15.4 and 6LoWPAN devices in team_port_add

When the first port has a non-Ethernet type, team_setup_by_port()
copies port_dev->type to the team device while netdev_priv() of the
team device still holds a struct team. Several L2 stacks identify their
devices by dev->type alone and then access type specific data that the
team driver never sets up:

- CAN protocols rely on the CAN mid-layer private data (ml_priv)
- IEEE 802.15.4 code dereferences ieee802154_ptr and the mlme ops in
  ml_priv
- the 6LoWPAN netdev notifier writes through lowpan_dev(dev) on
  NETDEV_DOWN and reads it on NETDEV_UP/NETDEV_CHANGE

Enslaving such a device (e.g. vxcan, wpan0, lowpan0) therefore leads to
NULL pointer dereferences or to writes into struct team.

This is the same problem that syzbot reported for the bonding driver
with a vxcan device enslaved to a bond master, which crashed in
can_rx_unregister() and was fixed by commit 8ba68464e478 ("bonding:
refuse to enslave CAN devices"). The team driver has the same gap.

Reject ARPHRD_CAN, ARPHRD_IEEE802154, ARPHRD_IEEE802154_MONITOR and
ARPHRD_6LOWPAN devices in team_port_add().

## Which versions are affected by CVE-2026-139241?


## How do I fix CVE-2026-139241?

Upgrade to a fixed version.

## Is CVE-2026-139241 being exploited?

There is no known exploitation of CVE-2026-139241 in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-139241 and fix it if it is affected.

What it is: CVE-2026-139241 is a vulnerability in Linux, published on 30 Nov 2026. 
Exploitation: There is no known exploitation of CVE-2026-139241 in the wild and no public exploit code.

Affected product: Linux. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-139241/ (Markdown: https://insights.sbomify.com/CVE-2026-139241/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-139241
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-139241
- OSV: https://osv.dev/vulnerability/CVE-2026-139241

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-139241/
Summaries are generated and may contain mistakes; the official description above is the record.
