PT-2026-167111

CVE-2026-143253

·

تاريخ النشر

2026-12-03

·

تاريخ التحديث

2026-12-03

الوصف من

CVSS 3.1
7.8
عالية
المقاييسAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
In the Linux kernel, the following vulnerability has been resolved:
ipv6: Check the Home Address option again before its address is used
ipv6 dest hao() checks the Home Address option and sets IP6CB(skb)->dsthao to the offset of the destination options header. Later mip6 addr swap() and mip6 destopt reject() call ipv6 find tlv() with that offset and use the 16 address bytes. They assume that the same header is still there.
But the seg6 and ioam6 lwtunnels, the End.B6 actions, ipv6 rpl srh rcv() and BPF lwt progs move or rewrite the IPv6 headers and keep IP6CB(skb). Then ipv6 find tlv() parses other bytes. It returns when the type matches, before it checks that the option is inside the header. Nobody checks the length of the option again. Thus mip6 addr swap() can write after the data of the skb. mip6 destopt reject() can copy that memory to an xfrm report.
In ipv6 find tlv(), check the length of an option before its type. The returned option is then inside the header, and the header is inside the linear data. In both callers, ignore an option with a length other than 16, as if ipv6 find tlv() found none. Then the ICMPv6 error goes to the source address of the IPv6 header, and the xfrm report has no XFRMA COADDR attribute. Nothing changes for a header that ip6 parse tlv() accepted and that is still in its place. For the other callers an incomplete option is now absent:
  • ip6 find 1stfragopt() and mip6 rthdr offset() can return another offset for the fragment header or the xfrm header, also in a forwarded packet.
  • calipso skbuff optptr() returns NULL. netlbl skbuff getattr() and netlbl cache add() then see no option. calipso skbuff delattr() returns 0 and the packet continues unchanged. Today it returns -EINVAL and SELinux drops the packet. It already returns 0 when an earlier option is incomplete. The receiver drops such a header in ip6 parse tlv().
The code that moves the headers still does not reset the offset or the other fields of IP6CB(skb). If the bytes there look like a header with a Home Address option of length 16, both callers still use its address.
The first tag also covers ipv6 find tlv(), because its early return did no harm before mip6 addr swap(). The second tag is for mip6 destopt reject().
قابلية الاستغلال
إصلاح
المورّدون
المنتجات المتأثرة
المعرّفات ذات الصلة
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾