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

State
Published
Severity
Not Scored
Published
Nov 30, 2026
Updated
Nov 30, 2026
Reserved
Nov 30, 2026

Read the record on cve.org

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().

ProductVersions
Linux Linux1d76efe1577b4323609b1bcbfafa8b731eda071a to before 68cb03ac9693cd96d251d2045f322b62bf42b9c2 Affected1d76efe1577b4323609b1bcbfafa8b731eda071a to before 0ebca45fd0030be7d321a58bda77d73c5fea66eb Affected1d76efe1577b4323609b1bcbfafa8b731eda071a to before 9a8e0c889d3528490dcb59ccbd84f410145185f9 Affected1d76efe1577b4323609b1bcbfafa8b731eda071a to before a4ec6def54630d6408eba2bc00bd9cea64837431 Affected1d76efe1577b4323609b1bcbfafa8b731eda071a to before 1a9392765e49107942593a0e3d18b49f29486fe0 Affected1d76efe1577b4323609b1bcbfafa8b731eda071a to before 1b7a8876e13b70f752a43a4274a9c20eaaaac2d7 Affected1d76efe1577b4323609b1bcbfafa8b731eda071a to before 88c8240649e86de29cbc2ef0a240f9201fa94726 Affected1d76efe1577b4323609b1bcbfafa8b731eda071a to before 9043be310c6a4c5e57f7bba4b9870554eac7aa96 Affected
Linux Linux3.7 Affectedbefore 3.7 Not Affected5.10.275 through 5.10.* Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.119 through 6.12.* Not Affected6.18.65 through 6.18.* Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.