{"id":"CVE-2026-139241","state":"PUBLISHED","title":"team: reject CAN, IEEE 802.15.4 and 6LoWPAN devices in team_port_add","description":"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().","publishedAt":"2026-11-30T13:32:55.643Z","updatedAt":"2026-11-30T13:32:55.643Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"1d76efe1577b4323609b1bcbfafa8b731eda071a","status":"affected","lessThan":"68cb03ac9693cd96d251d2045f322b62bf42b9c2","versionType":"git"},{"version":"1d76efe1577b4323609b1bcbfafa8b731eda071a","status":"affected","lessThan":"0ebca45fd0030be7d321a58bda77d73c5fea66eb","versionType":"git"},{"version":"1d76efe1577b4323609b1bcbfafa8b731eda071a","status":"affected","lessThan":"9a8e0c889d3528490dcb59ccbd84f410145185f9","versionType":"git"},{"version":"1d76efe1577b4323609b1bcbfafa8b731eda071a","status":"affected","lessThan":"a4ec6def54630d6408eba2bc00bd9cea64837431","versionType":"git"},{"version":"1d76efe1577b4323609b1bcbfafa8b731eda071a","status":"affected","lessThan":"1a9392765e49107942593a0e3d18b49f29486fe0","versionType":"git"},{"version":"1d76efe1577b4323609b1bcbfafa8b731eda071a","status":"affected","lessThan":"1b7a8876e13b70f752a43a4274a9c20eaaaac2d7","versionType":"git"},{"version":"1d76efe1577b4323609b1bcbfafa8b731eda071a","status":"affected","lessThan":"88c8240649e86de29cbc2ef0a240f9201fa94726","versionType":"git"},{"version":"1d76efe1577b4323609b1bcbfafa8b731eda071a","status":"affected","lessThan":"9043be310c6a4c5e57f7bba4b9870554eac7aa96","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/team/team_core.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.7","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.7","versionType":"semver"},{"version":"5.10.275","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.226","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.193","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.163","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.119","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.65","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/team/team_core.c"]}],"references":["https://git.kernel.org/stable/c/68cb03ac9693cd96d251d2045f322b62bf42b9c2","https://git.kernel.org/stable/c/0ebca45fd0030be7d321a58bda77d73c5fea66eb","https://git.kernel.org/stable/c/9a8e0c889d3528490dcb59ccbd84f410145185f9","https://git.kernel.org/stable/c/a4ec6def54630d6408eba2bc00bd9cea64837431","https://git.kernel.org/stable/c/1a9392765e49107942593a0e3d18b49f29486fe0","https://git.kernel.org/stable/c/1b7a8876e13b70f752a43a4274a9c20eaaaac2d7","https://git.kernel.org/stable/c/88c8240649e86de29cbc2ef0a240f9201fa94726","https://git.kernel.org/stable/c/9043be310c6a4c5e57f7bba4b9870554eac7aa96"],"weaknesses":[],"ingestedAt":"2026-11-30T13:46:04.484Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/139xxx/CVE-2026-139241.json","commit":"8c2c22940a0de21d18737df980299c0488d5dc73","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-139241","state":"PUBLISHED","datePublished":"2026-11-30T13:32:55.643Z","dateUpdated":"2026-11-30T13:32:55.643Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-11-30T13:22:15.922Z"},"containers":{"cna":{"title":"team: reject CAN, IEEE 802.15.4 and 6LoWPAN devices in team_port_add","descriptions":[{"lang":"en","value":"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()."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"1d76efe1577b4323609b1bcbfafa8b731eda071a","status":"affected","lessThan":"68cb03ac9693cd96d251d2045f322b62bf42b9c2","versionType":"git"},{"version":"1d76efe1577b4323609b1bcbfafa8b731eda071a","status":"affected","lessThan":"0ebca45fd0030be7d321a58bda77d73c5fea66eb","versionType":"git"},{"version":"1d76efe1577b4323609b1bcbfafa8b731eda071a","status":"affected","lessThan":"9a8e0c889d3528490dcb59ccbd84f410145185f9","versionType":"git"},{"version":"1d76efe1577b4323609b1bcbfafa8b731eda071a","status":"affected","lessThan":"a4ec6def54630d6408eba2bc00bd9cea64837431","versionType":"git"},{"version":"1d76efe1577b4323609b1bcbfafa8b731eda071a","status":"affected","lessThan":"1a9392765e49107942593a0e3d18b49f29486fe0","versionType":"git"},{"version":"1d76efe1577b4323609b1bcbfafa8b731eda071a","status":"affected","lessThan":"1b7a8876e13b70f752a43a4274a9c20eaaaac2d7","versionType":"git"},{"version":"1d76efe1577b4323609b1bcbfafa8b731eda071a","status":"affected","lessThan":"88c8240649e86de29cbc2ef0a240f9201fa94726","versionType":"git"},{"version":"1d76efe1577b4323609b1bcbfafa8b731eda071a","status":"affected","lessThan":"9043be310c6a4c5e57f7bba4b9870554eac7aa96","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/team/team_core.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.7","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.7","versionType":"semver"},{"version":"5.10.275","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.226","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.193","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.163","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.119","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.65","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/team/team_core.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/68cb03ac9693cd96d251d2045f322b62bf42b9c2"},{"url":"https://git.kernel.org/stable/c/0ebca45fd0030be7d321a58bda77d73c5fea66eb"},{"url":"https://git.kernel.org/stable/c/9a8e0c889d3528490dcb59ccbd84f410145185f9"},{"url":"https://git.kernel.org/stable/c/a4ec6def54630d6408eba2bc00bd9cea64837431"},{"url":"https://git.kernel.org/stable/c/1a9392765e49107942593a0e3d18b49f29486fe0"},{"url":"https://git.kernel.org/stable/c/1b7a8876e13b70f752a43a4274a9c20eaaaac2d7"},{"url":"https://git.kernel.org/stable/c/88c8240649e86de29cbc2ef0a240f9201fa94726"},{"url":"https://git.kernel.org/stable/c/9043be310c6a4c5e57f7bba4b9870554eac7aa96"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-11-30T13:32:55.643Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.7","versionEndExcluding":"5.10.275"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.7","versionEndExcluding":"5.15.226"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.7","versionEndExcluding":"6.1.193"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.7","versionEndExcluding":"6.6.163"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.7","versionEndExcluding":"6.12.119"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.7","versionEndExcluding":"6.18.65"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.7","versionEndExcluding":"7.3.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.7","versionEndExcluding":"7.4-rc1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}