PT-2026-167214
CVE-2026-143356
·
تاريخ النشر
2026-12-03
·
تاريخ التحديث
2026-12-03
الوصف من
الدرجة
N/A
غير متوفرلا تتوفر حاليًا تقييمات أو مقاييس للخطورة. سنحدّث المعلومات المقابلة في الصفحة فور توفرها.
In the Linux kernel, the following vulnerability has been resolved:
bpf: Move the MAC header in bpf lwt seg6 adjust srh()
bpf skb net hdr push() and bpf skb net hdr pop() change skb->data and
skb->mac header by len. That is correct in a tc prog, where skb->data is
the MAC header. But bpf lwt seg6 adjust srh() calls them in an End.BPF
prog, where skb->data is the network header. The MAC header does not move:
before push | free | MAC header | IPv6 | SRH | payload
^ head ^ mac header ^ data
today | free | MAC h| IPv6 | SRH + len | payload
^ head ^ mac header ^ data
this patch | free | MAC header | IPv6 | SRH + len | payload
^ head ^ mac header ^ data
Users of skb mac header() get incorrect bytes until dev queue xmit() sets
skb->mac header again. skb cow head() reserves only len bytes. Thus the
16-bit offset skb->mac header can wrap. A push also changes the "not set"
value. In both cases skb mac header() points after the skb.
Move the MAC header too. Pass len + skb->mac len to skb cow head(). Keep
the "not set" value. The second Fixes tag is for this case. Since that
commit an End.BPF prog can get an skb with skb->mac header not set.
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾