A vulnerability in the Linux kernel's BPF subsystem related to incorrect handling of the MAC header in the bpf_lwt_seg6_adjust_srh() function has been resolved. The issue arises because the MAC header pointer is not moved correctly when skb data is pushed or popped in End.BPF programs, causing users of skb_mac_header() to access incorrect bytes until the MAC header is reset later in the packet processing. This can lead to the MAC header pointer wrapping incorrectly or pointing beyond the skb buffer.