{"api_version":"1","generated_at":"2026-12-04T04:10:22+00:00","cve":"CVE-2026-143197","urls":{"html":"https://cve.report/CVE-2026-143197","api":"https://cve.report/api/cve/CVE-2026-143197.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-143197","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-143197"},"summary":{"title":"tun: disallow setting IEEE 802.15.4 and 6LoWPAN link types via TUNSETLINK","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ntun: disallow setting IEEE 802.15.4 and 6LoWPAN link types via TUNSETLINK\n\nA userspace application can set the link type of a TUN/TAP interface\nto ARPHRD_IEEE802154, ARPHRD_IEEE802154_MONITOR, or ARPHRD_6LOWPAN\nvia ioctl(fd, TUNSETLINK, arg) because tun_get_addr_len() explicitly\nrecognized these types.\n\nHowever, TUN devices cannot function as genuine IEEE 802.15.4 or 6LoWPAN\ninterfaces:\n\n1. They lack wpan_phy, channels, PAN IDs, and MLME operations, and tun\n   never initializes dev->ieee802154_ptr or dev->ml_priv. When an\n   unprivileged user creates a TUN interface in a user+net namespace,\n   changes its link type to ARPHRD_IEEE802154, and issues a netlink dump\n   request (such as IEEE802154_LLSEC_LIST_KEY),\n   ieee802154_llsec_dump_table() unconditionally dereferences\n   dev->ieee802154_ptr / ieee802154_mlme_ops(dev), triggering a supervisor\n   null-pointer dereference / general protection fault. Similar\n   dereferences occur across net/ieee802154/nl-phy.c (ieee802154_del_iface)\n   and net/ieee802154/socket.c.\n\n2. Similarly, the 6LoWPAN subsystem assumes via lowpan_dev(dev) that\n   netdev_priv(dev) is struct lowpan_dev. On a TUN device, netdev_priv(dev)\n   is struct tun_struct. On netdev events (such as NETDEV_DOWN in\n   net/6lowpan/core.c:lowpan_device_event), it clears bits in\n   lowpan_dev(dev)->ctx.table flags, which corrupts private memory inside\n   tun_struct.\n\nRather than scattering checks across subsystems, fix the issue at the\nsource: disallow setting ARPHRD_IEEE802154, ARPHRD_IEEE802154_MONITOR, and\nARPHRD_6LOWPAN via TUNSETLINK by returning -EINVAL. Cast arg to unsigned\nshort in the comparison to prevent upper-bit truncation bypasses (e.g.\narg = ARPHRD_IEEE802154 | 0x10000).","state":"PUBLISHED","assigner":"Linux","published_at":"2026-12-03 10:17:56","updated_at":"2026-12-03 10:17:56"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/ff1b1793e879b5f91ffceb575346f5a4bac88118","name":"https://git.kernel.org/stable/c/ff1b1793e879b5f91ffceb575346f5a4bac88118","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/968f2b94a5964b75d9c0da84523e42530c1891f0","name":"https://git.kernel.org/stable/c/968f2b94a5964b75d9c0da84523e42530c1891f0","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/f85bd794ec1216f949e69d94e81ff6badb8458a7","name":"https://git.kernel.org/stable/c/f85bd794ec1216f949e69d94e81ff6badb8458a7","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/39b3b79e44b7c6b46afc396d1dd369795ce14f13","name":"https://git.kernel.org/stable/c/39b3b79e44b7c6b46afc396d1dd369795ce14f13","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/a14e17f92708a235eaef8b1a124c5aa2009f8402","name":"https://git.kernel.org/stable/c/a14e17f92708a235eaef8b1a124c5aa2009f8402","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/e02b546a2b73f29a95cbf9ad940cb132153cb1a6","name":"https://git.kernel.org/stable/c/e02b546a2b73f29a95cbf9ad940cb132153cb1a6","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-143197","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143197","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ff4cc3ac93e1d0369928fd60ec1fe82417afc576 a14e17f92708a235eaef8b1a124c5aa2009f8402 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ff4cc3ac93e1d0369928fd60ec1fe82417afc576 e02b546a2b73f29a95cbf9ad940cb132153cb1a6 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ff4cc3ac93e1d0369928fd60ec1fe82417afc576 f85bd794ec1216f949e69d94e81ff6badb8458a7 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ff4cc3ac93e1d0369928fd60ec1fe82417afc576 39b3b79e44b7c6b46afc396d1dd369795ce14f13 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ff4cc3ac93e1d0369928fd60ec1fe82417afc576 ff1b1793e879b5f91ffceb575346f5a4bac88118 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ff4cc3ac93e1d0369928fd60ec1fe82417afc576 968f2b94a5964b75d9c0da84523e42530c1891f0 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2.6.14","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 2.6.14 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.276 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.227 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.120 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.66 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.7 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc3 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"143197","cve":"CVE-2026-143197","epss":"0.002150000","percentile":"0.126090000","score_date":"2026-12-03","updated_at":"2026-12-04 00:14:18"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/net/tun.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"a14e17f92708a235eaef8b1a124c5aa2009f8402","status":"affected","version":"ff4cc3ac93e1d0369928fd60ec1fe82417afc576","versionType":"git"},{"lessThan":"e02b546a2b73f29a95cbf9ad940cb132153cb1a6","status":"affected","version":"ff4cc3ac93e1d0369928fd60ec1fe82417afc576","versionType":"git"},{"lessThan":"f85bd794ec1216f949e69d94e81ff6badb8458a7","status":"affected","version":"ff4cc3ac93e1d0369928fd60ec1fe82417afc576","versionType":"git"},{"lessThan":"39b3b79e44b7c6b46afc396d1dd369795ce14f13","status":"affected","version":"ff4cc3ac93e1d0369928fd60ec1fe82417afc576","versionType":"git"},{"lessThan":"ff1b1793e879b5f91ffceb575346f5a4bac88118","status":"affected","version":"ff4cc3ac93e1d0369928fd60ec1fe82417afc576","versionType":"git"},{"lessThan":"968f2b94a5964b75d9c0da84523e42530c1891f0","status":"affected","version":"ff4cc3ac93e1d0369928fd60ec1fe82417afc576","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/net/tun.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"2.6.14"},{"lessThan":"2.6.14","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.276","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.227","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.120","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.66","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.7","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc3","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.276","versionStartIncluding":"2.6.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.227","versionStartIncluding":"2.6.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.120","versionStartIncluding":"2.6.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.66","versionStartIncluding":"2.6.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.7","versionStartIncluding":"2.6.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc3","versionStartIncluding":"2.6.14","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ntun: disallow setting IEEE 802.15.4 and 6LoWPAN link types via TUNSETLINK\n\nA userspace application can set the link type of a TUN/TAP interface\nto ARPHRD_IEEE802154, ARPHRD_IEEE802154_MONITOR, or ARPHRD_6LOWPAN\nvia ioctl(fd, TUNSETLINK, arg) because tun_get_addr_len() explicitly\nrecognized these types.\n\nHowever, TUN devices cannot function as genuine IEEE 802.15.4 or 6LoWPAN\ninterfaces:\n\n1. They lack wpan_phy, channels, PAN IDs, and MLME operations, and tun\n   never initializes dev->ieee802154_ptr or dev->ml_priv. When an\n   unprivileged user creates a TUN interface in a user+net namespace,\n   changes its link type to ARPHRD_IEEE802154, and issues a netlink dump\n   request (such as IEEE802154_LLSEC_LIST_KEY),\n   ieee802154_llsec_dump_table() unconditionally dereferences\n   dev->ieee802154_ptr / ieee802154_mlme_ops(dev), triggering a supervisor\n   null-pointer dereference / general protection fault. Similar\n   dereferences occur across net/ieee802154/nl-phy.c (ieee802154_del_iface)\n   and net/ieee802154/socket.c.\n\n2. Similarly, the 6LoWPAN subsystem assumes via lowpan_dev(dev) that\n   netdev_priv(dev) is struct lowpan_dev. On a TUN device, netdev_priv(dev)\n   is struct tun_struct. On netdev events (such as NETDEV_DOWN in\n   net/6lowpan/core.c:lowpan_device_event), it clears bits in\n   lowpan_dev(dev)->ctx.table flags, which corrupts private memory inside\n   tun_struct.\n\nRather than scattering checks across subsystems, fix the issue at the\nsource: disallow setting ARPHRD_IEEE802154, ARPHRD_IEEE802154_MONITOR, and\nARPHRD_6LOWPAN via TUNSETLINK by returning -EINVAL. Cast arg to unsigned\nshort in the comparison to prevent upper-bit truncation bypasses (e.g.\narg = ARPHRD_IEEE802154 | 0x10000)."}],"providerMetadata":{"dateUpdated":"2026-12-03T09:20:23.753Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/a14e17f92708a235eaef8b1a124c5aa2009f8402"},{"url":"https://git.kernel.org/stable/c/e02b546a2b73f29a95cbf9ad940cb132153cb1a6"},{"url":"https://git.kernel.org/stable/c/f85bd794ec1216f949e69d94e81ff6badb8458a7"},{"url":"https://git.kernel.org/stable/c/39b3b79e44b7c6b46afc396d1dd369795ce14f13"},{"url":"https://git.kernel.org/stable/c/ff1b1793e879b5f91ffceb575346f5a4bac88118"},{"url":"https://git.kernel.org/stable/c/968f2b94a5964b75d9c0da84523e42530c1891f0"}],"title":"tun: disallow setting IEEE 802.15.4 and 6LoWPAN link types via TUNSETLINK","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-143197","datePublished":"2026-12-03T09:20:23.753Z","dateReserved":"2026-12-03T03:10:28.359Z","dateUpdated":"2026-12-03T09:20:23.753Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-12-03 10:17:56","lastModifiedDate":"2026-12-03 10:17:56","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"143197","Ordinal":"1","Title":"tun: disallow setting IEEE 802.15.4 and 6LoWPAN link types via T","CVE":"CVE-2026-143197","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"143197","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\ntun: disallow setting IEEE 802.15.4 and 6LoWPAN link types via TUNSETLINK\n\nA userspace application can set the link type of a TUN/TAP interface\nto ARPHRD_IEEE802154, ARPHRD_IEEE802154_MONITOR, or ARPHRD_6LOWPAN\nvia ioctl(fd, TUNSETLINK, arg) because tun_get_addr_len() explicitly\nrecognized these types.\n\nHowever, TUN devices cannot function as genuine IEEE 802.15.4 or 6LoWPAN\ninterfaces:\n\n1. They lack wpan_phy, channels, PAN IDs, and MLME operations, and tun\n   never initializes dev->ieee802154_ptr or dev->ml_priv. When an\n   unprivileged user creates a TUN interface in a user+net namespace,\n   changes its link type to ARPHRD_IEEE802154, and issues a netlink dump\n   request (such as IEEE802154_LLSEC_LIST_KEY),\n   ieee802154_llsec_dump_table() unconditionally dereferences\n   dev->ieee802154_ptr / ieee802154_mlme_ops(dev), triggering a supervisor\n   null-pointer dereference / general protection fault. Similar\n   dereferences occur across net/ieee802154/nl-phy.c (ieee802154_del_iface)\n   and net/ieee802154/socket.c.\n\n2. Similarly, the 6LoWPAN subsystem assumes via lowpan_dev(dev) that\n   netdev_priv(dev) is struct lowpan_dev. On a TUN device, netdev_priv(dev)\n   is struct tun_struct. On netdev events (such as NETDEV_DOWN in\n   net/6lowpan/core.c:lowpan_device_event), it clears bits in\n   lowpan_dev(dev)->ctx.table flags, which corrupts private memory inside\n   tun_struct.\n\nRather than scattering checks across subsystems, fix the issue at the\nsource: disallow setting ARPHRD_IEEE802154, ARPHRD_IEEE802154_MONITOR, and\nARPHRD_6LOWPAN via TUNSETLINK by returning -EINVAL. Cast arg to unsigned\nshort in the comparison to prevent upper-bit truncation bypasses (e.g.\narg = ARPHRD_IEEE802154 | 0x10000).","Type":"Description","Title":"tun: disallow setting IEEE 802.15.4 and 6LoWPAN link types via T"}]}}}