{"id":"CVE-2026-139241","summary":"team: reject CAN, IEEE 802.15.4 and 6LoWPAN devices in team_port_add","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nteam: reject CAN, IEEE 802.15.4 and 6LoWPAN devices in team_port_add\n\nWhen the first port has a non-Ethernet type, team_setup_by_port()\ncopies port_dev-\u003etype to the team device while netdev_priv() of the\nteam device still holds a struct team. Several L2 stacks identify their\ndevices by dev-\u003etype alone and then access type specific data that the\nteam driver never sets up:\n\n- CAN protocols rely on the CAN mid-layer private data (ml_priv)\n- IEEE 802.15.4 code dereferences ieee802154_ptr and the mlme ops in\n  ml_priv\n- the 6LoWPAN netdev notifier writes through lowpan_dev(dev) on\n  NETDEV_DOWN and reads it on NETDEV_UP/NETDEV_CHANGE\n\nEnslaving such a device (e.g. vxcan, wpan0, lowpan0) therefore leads to\nNULL pointer dereferences or to writes into struct team.\n\nThis is the same problem that syzbot reported for the bonding driver\nwith a vxcan device enslaved to a bond master, which crashed in\ncan_rx_unregister() and was fixed by commit 8ba68464e478 (\"bonding:\nrefuse to enslave CAN devices\"). The team driver has the same gap.\n\nReject ARPHRD_CAN, ARPHRD_IEEE802154, ARPHRD_IEEE802154_MONITOR and\nARPHRD_6LOWPAN devices in team_port_add().","modified":"2026-11-30T15:00:59.062007614Z","published":"2026-11-30T13:32:55.643Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139241.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/0ebca45fd0030be7d321a58bda77d73c5fea66eb"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1a9392765e49107942593a0e3d18b49f29486fe0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1b7a8876e13b70f752a43a4274a9c20eaaaac2d7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/68cb03ac9693cd96d251d2045f322b62bf42b9c2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/88c8240649e86de29cbc2ef0a240f9201fa94726"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9043be310c6a4c5e57f7bba4b9870554eac7aa96"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9a8e0c889d3528490dcb59ccbd84f410145185f9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a4ec6def54630d6408eba2bc00bd9cea64837431"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139241.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139241"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"1d76efe1577b4323609b1bcbfafa8b731eda071a"},{"fixed":"68cb03ac9693cd96d251d2045f322b62bf42b9c2"},{"fixed":"0ebca45fd0030be7d321a58bda77d73c5fea66eb"},{"fixed":"9a8e0c889d3528490dcb59ccbd84f410145185f9"},{"fixed":"a4ec6def54630d6408eba2bc00bd9cea64837431"},{"fixed":"1a9392765e49107942593a0e3d18b49f29486fe0"},{"fixed":"1b7a8876e13b70f752a43a4274a9c20eaaaac2d7"},{"fixed":"88c8240649e86de29cbc2ef0a240f9201fa94726"},{"fixed":"9043be310c6a4c5e57f7bba4b9870554eac7aa96"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139241.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.7.0"},{"fixed":"5.10.275"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.226"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.193"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.119"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.65"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139241.json"}}],"schema_version":"1.9.2"}