PT-2026-167055
CVE-2026-143197
·
تاريخ النشر
2026-12-03
·
تاريخ التحديث
2026-12-03
الوصف من
الدرجة
N/A
غير متوفرلا تتوفر حاليًا تقييمات أو مقاييس للخطورة. سنحدّث المعلومات المقابلة في الصفحة فور توفرها.
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:
-
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.
-
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).
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾