Vulnerability record
bpf: Move the transport header with the moved headers
In the Linux kernel, the following vulnerability has been resolved:
bpf: Move the transport header with the moved headers
bpf_skb_net_hdr_pop() removes len bytes at offset off. bpf_skb_net_hdr_push() does the opposite.
skb->data off
before | A | removed | B | after | A | B | skb->data off
mac_header and network_header move with A. transport_header moves only when it is equal to network_header. inner_transport_header never moves. This is correct only for a header in B. In…
Remediation
No fixed version has been published for this vulnerability yet. Check the references below for vendor advisories, workarounds and mitigation guidance.
Sources