All vulnerabilities

Servers and applications

CVE-2026-143357

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

Severity
Unrated
Published
3 Dec 2026
Last changed
3 Dec 2026
Added to UpHeron
3 Dec 2026
Fixed in
5.15.227, 6.12.120, 6.18.66, 7.3.7
Sources
CVE Program

Description

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

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 +------------------------+ <- input_action_end_bpf(): srh_state->srh +------------------------+

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.

From the CVE Program.

Affected software

SoftwareAffected versions
Linux kernelServers and applications · cna:linux|linux
  • From 5.13 before 5.15.227
  • From 5.16 before 6.12.120
  • From 6.13 before 6.18.66
  • From 6.19 before 7.3.7

Status in Debian

Debian builds fixes into its own packages, so a release is often fixed under an older version number than the one upstream names.

  • 3 vulnerable
  • 1 fixed
PackageDebian releaseStatus
linuxsidunstableFixed in 7.3.7-1
14forkytestingVulnerableNo fix yet.
13trixiestableVulnerableNo fix yet.
12bookwormoldstableVulnerableNo fix yet.

From Debian's security tracker for CVE-2026-143357 , read in the last 12 hours.

About Linux kernel

Unix-like operating system kernel, basis for all Linux operating systems

From Wikidata, CC0 1.0.
GitHub stars
257,106GitHub, 29 Nov 2026
Forks
66,781GitHub, 29 Nov 2026
Developer
Linus TorvaldsWikidata
License
GNU General Public License, version 2.0Wikidata
Written in
CWikidata
First released
25 Aug 1991Wikidata
First published on GitHub
4 Sept 2011GitHub

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-143357