Skip to content
CVE PROGRAM SOURCE RECORD7.8 High

CVE-2026-98383

bpf: Disallow bpf_skb_pull_data() for LWT_SEG6LOCAL

Description

In the Linux kernel, the following vulnerability has been resolved: bpf: Disallow bpf_skb_pull_data() for LWT_SEG6LOCAL An LWT_SEG6LOCAL program can invalidate its cached SRH with bpf_lwt_seg6_adjust_srh() and then call bpf_skb_pull_data(). The latter may reallocate skb->head, leaving the per-CPU SRH pointer dangling. Post-program SRH validation then writes through that pointer. Disallow bpf_skb_pull_data() for LWT_SEG6LOCAL programs so the verifier rejects this unsafe helper combination. Other LWT program types continue to expose the helper through lwt_out_func_proto().

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 004d4b274e2a1a895a0e5dc66158b90a7d463d44 to < 0f38472a2aa8704a6b514c0dfa9c32f3672b8f32affected
  • 004d4b274e2a1a895a0e5dc66158b90a7d463d44 to < cae8674489f26edf7553fdd660599466cbb4c32faffected
  • 004d4b274e2a1a895a0e5dc66158b90a7d463d44 to < 9f9e57b5a3a033f95f49ef9d541340cdbcb80abbaffected
  • 004d4b274e2a1a895a0e5dc66158b90a7d463d44 to < df0072be6fc373cb22f9ea854d458b04e32a03cfaffected
  • 004d4b274e2a1a895a0e5dc66158b90a7d463d44 to < b9bb0e735460751b620156f800a4279a28573392affected
  • 004d4b274e2a1a895a0e5dc66158b90a7d463d44 to < 37b18688cd18fd86d2f35c212df1611862a26cd5affected
  • 004d4b274e2a1a895a0e5dc66158b90a7d463d44 to < fca71ead7a20290af1e2046983eeafae43d21af1affected
  • 004d4b274e2a1a895a0e5dc66158b90a7d463d44 to < e4a62833adff6ef0fe7c0b90393204fe3c26b5c5affected

Linux Linux

Default version status: affected

  • 4.18affected
  • 0 to < 4.18unaffected
  • 5.10.271 to ≤ 5.10.*unaffected
  • 5.15.222 to ≤ 5.15.*unaffected
  • 6.1.189 to ≤ 6.1.*unaffected
  • 6.6.158 to ≤ 6.6.*unaffected
  • 6.12.112 to ≤ 6.12.*unaffected
  • 6.18.55 to ≤ 6.18.*unaffected
  • 7.2.9 to ≤ 7.2.*unaffected
  • 7.3 to ≤ *unaffected

References