CVE-2026-143357

Not scored yetLast modified Dec 3, 2026

Description

In the Linux kernel, the following vulnerability has been resolved:

bpf: Don't look for the SRH again in the End.BPF helpers

A packet can have two SRHs. Thus input_action_end_bpf() uses IP6_FH_F_SKIP_RH to skip routing headers with segments_left 0. The helpers bpf_lwt_seg6_store_bytes() and bpf_lwt_seg6_adjust_srh() can reallocate the head of the skb. Thus they look for the SRH again, but without this flag.

+------------------------+ <- the helpers: srh_state->srh | SRH 1, segments_left 0 | +------------------------+ <- input_action_end_bpf(): srh_state->srh | SRH 2 | and srh_state->hdrlen +------------------------+

Then the helpers check offset against the wrong limits. If a helper changes TLVs, seg6_bpf_has_valid_srh() writes the length of SRH 2 to SRH 1.

Neither helper changes the offset of the SRH from skb->data. Calculate the new address from this offset. To add IP6_FH_F_SKIP_RH is not sufficient, because advance_nextseg() can set segments_left of SRH 2 to 0. The helper bpf_lwt_seg6_action() can change the headers and still looks for the SRH.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Dec 3, 2026
Last modified
Dec 3, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-143358In the Linux kernel, the following vulnerability has been resolved: bpf: Set a dst for test runs of lwt_in progs When an lwt prog runs on CVE-2026-143359In the Linux kernel, the following vulnerability has been resolved: bpf: Reject non-IPv6 packets in BPF_LWT_ENCAP_SEG6 The mode BPF_LWT_ENCVE-2026-143368.2PIA's OIDC issuer allowlist for Jenkins tokens uses a bare string-prefix check (issuer.startswith(' https://ci.eclipse.org ') in is_issuer_kCVE-2026-143360In the Linux kernel, the following vulnerability has been resolved: bpf: Don't let bpf_skb_adjust_room() raise gso_size to GSO_BY_FRAGS WhCVE-2026-143361In the Linux kernel, the following vulnerability has been resolved: bpf, cgroup: Keep the skb network offset signed cgroup_skb progs see aCVE-2026-143362In the Linux kernel, the following vulnerability has been resolved: bpf: Require prog fd or capability for cgroup detach Since the commit CVE-2026-143363In the Linux kernel, the following vulnerability has been resolved: bpf: Don't let bpf_arena_free_pages() see a half-set user range If mapCVE-2026-143364In the Linux kernel, the following vulnerability has been resolved: bpf: Clamp the trace length before the skip test in stackid_init() staCVE-2026-143365In the Linux kernel, the following vulnerability has been resolved: bpf: Clamp the trace length in __bpf_get_stack() again get_perf_callchCVE-2026-143366In the Linux kernel, the following vulnerability has been resolved: spi: pic32-sqi: fail transfer when the BD ring is exhausted pic32_sqi_CVE-2026-143367In the Linux kernel, the following vulnerability has been resolved: bpf, x86: Fix bpf_throw() in a prog with a private stack When the mainCVE-2026-143368In the Linux kernel, the following vulnerability has been resolved: netfilter: nft_reject: prevent unbounded recursion in output hooks nft
CVE-2026-143357: Unscored | Vulnix