{"id":"CVE-2026-139241","aliases":["CVE-2026-139241"],"related":[],"kind":"vulnerability","state":"published","title":"team: reject CAN, IEEE 802.15.4 and 6LoWPAN devices in team_port_add","summary":"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->type to the team device while netdev_priv() of the\nteam device still holds a struct team. Several L2 stacks identify their\ndevices by dev->type 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().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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->type to the team device while netdev_priv() of the\nteam device still holds a struct team. Several L2 stacks identify their\ndevices by dev->type 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().","source":"cvelist"}],"published":"2026-11-30T13:32:55.643Z","modified":"2026-11-30T14:18:46.250Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"1d76efe1577b4323609b1bcbfafa8b731eda071a","fixed":"68cb03ac9693cd96d251d2045f322b62bf42b9c2","status":"affected"},{"type":"git","introduced":"1d76efe1577b4323609b1bcbfafa8b731eda071a","fixed":"0ebca45fd0030be7d321a58bda77d73c5fea66eb","status":"affected"},{"type":"git","introduced":"1d76efe1577b4323609b1bcbfafa8b731eda071a","fixed":"9a8e0c889d3528490dcb59ccbd84f410145185f9","status":"affected"},{"type":"git","introduced":"1d76efe1577b4323609b1bcbfafa8b731eda071a","fixed":"a4ec6def54630d6408eba2bc00bd9cea64837431","status":"affected"},{"type":"git","introduced":"1d76efe1577b4323609b1bcbfafa8b731eda071a","fixed":"1a9392765e49107942593a0e3d18b49f29486fe0","status":"affected"},{"type":"git","introduced":"1d76efe1577b4323609b1bcbfafa8b731eda071a","fixed":"1b7a8876e13b70f752a43a4274a9c20eaaaac2d7","status":"affected"},{"type":"git","introduced":"1d76efe1577b4323609b1bcbfafa8b731eda071a","fixed":"88c8240649e86de29cbc2ef0a240f9201fa94726","status":"affected"},{"type":"git","introduced":"1d76efe1577b4323609b1bcbfafa8b731eda071a","fixed":"9043be310c6a4c5e57f7bba4b9870554eac7aa96","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.7","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.7","status":"unaffected"},{"type":"semver","introduced":"5.10.275","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.226","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.119","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.65","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.6","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/68cb03ac9693cd96d251d2045f322b62bf42b9c2","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0ebca45fd0030be7d321a58bda77d73c5fea66eb","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9a8e0c889d3528490dcb59ccbd84f410145185f9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a4ec6def54630d6408eba2bc00bd9cea64837431","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1a9392765e49107942593a0e3d18b49f29486fe0","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1b7a8876e13b70f752a43a4274a9c20eaaaac2d7","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/88c8240649e86de29cbc2ef0a240f9201fa94726","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9043be310c6a4c5e57f7bba4b9870554eac7aa96","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-139241","url":"https://www.cve.org/CVERecord?id=CVE-2026-139241","licence":"CVE Terms of Use","modified":"2026-11-30T13:32:55.643Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-139241","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139241","licence":"Public domain","modified":"2026-11-30T14:18:46.250Z"}],"updatedAt":"2026-11-30T14:32:59.554Z","epss":{"score":0.00211,"percentile":0.12063,"date":"2026-12-01T12:00:22.000Z"}}