PT-2026-167214
CVE-2026-143356
·
Published
2026-12-03
·
Updated
2026-12-03
Description by
Score
N/A
Not availableNo severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
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.
Found an issue in the description? Have something to add? Feel free to write us 👾