CVE-2026-143197
Received Received - Intake

Null Pointer Dereference in Linux Kernel TUN/TAP Interface

Vulnerability report for CVE-2026-143197, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-12-03

Last updated on: 2026-12-03

Assigner: kernel.org

Description

In the Linux kernel, the following vulnerability has been resolved: tun: disallow setting IEEE 802.15.4 and 6LoWPAN link types via TUNSETLINK A userspace application can set the link type of a TUN/TAP interface to ARPHRD_IEEE802154, ARPHRD_IEEE802154_MONITOR, or ARPHRD_6LOWPAN via ioctl(fd, TUNSETLINK, arg) because tun_get_addr_len() explicitly recognized these types. However, TUN devices cannot function as genuine IEEE 802.15.4 or 6LoWPAN interfaces: 1. They lack wpan_phy, channels, PAN IDs, and MLME operations, and tun never initializes dev->ieee802154_ptr or dev->ml_priv. When an unprivileged user creates a TUN interface in a user+net namespace, changes its link type to ARPHRD_IEEE802154, and issues a netlink dump request (such as IEEE802154_LLSEC_LIST_KEY), ieee802154_llsec_dump_table() unconditionally dereferences dev->ieee802154_ptr / ieee802154_mlme_ops(dev), triggering a supervisor null-pointer dereference / general protection fault. Similar dereferences occur across net/ieee802154/nl-phy.c (ieee802154_del_iface) and net/ieee802154/socket.c. 2. Similarly, the 6LoWPAN subsystem assumes via lowpan_dev(dev) that netdev_priv(dev) is struct lowpan_dev. On a TUN device, netdev_priv(dev) is struct tun_struct. On netdev events (such as NETDEV_DOWN in net/6lowpan/core.c:lowpan_device_event), it clears bits in lowpan_dev(dev)->ctx.table flags, which corrupts private memory inside tun_struct. Rather than scattering checks across subsystems, fix the issue at the source: disallow setting ARPHRD_IEEE802154, ARPHRD_IEEE802154_MONITOR, and ARPHRD_6LOWPAN via TUNSETLINK by returning -EINVAL. Cast arg to unsigned short in the comparison to prevent upper-bit truncation bypasses (e.g. arg = ARPHRD_IEEE802154 | 0x10000).

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-12-03
Last Modified
2026-12-03
Generated
2026-12-03
AI Q&A
2026-12-03
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in the Linux kernel allows a userspace application to set the link type of a TUN/TAP interface to IEEE 802.15.4 or 6LoWPAN types via the TUNSETLINK ioctl. However, TUN devices lack the necessary hardware and software support for these link types, leading to null-pointer dereferences or memory corruption when certain operations are performed.

Detection Guidance

This vulnerability can be detected by checking for TUN/TAP interfaces with improperly set link types. Inspect interfaces using 'ip link show' or 'ifconfig' and look for ARPHRD_IEEE802154, ARPHRD_IEEE802154_MONITOR, or ARPHRD_6LOWPAN types. Check kernel logs for null-pointer dereference errors or general protection faults.

Impact Analysis

An attacker with local access could exploit this to crash the system by causing a kernel null-pointer dereference or memory corruption. This could lead to denial-of-service conditions or potentially allow privilege escalation if combined with other vulnerabilities.

Mitigation Strategies

Apply the Linux kernel patch that disallows setting IEEE 802.15.4 and 6LoWPAN link types via TUNSETLINK. Update to a patched kernel version. Monitor for suspicious TUN/TAP interface configurations and restrict unprivileged user access to network namespace operations.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-143197. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...