CVE-2026-98383

bpf: Disallow bpf_skb_pull_data() for LWT_SEG6LOCAL

State
Published
Severity
7.8 High
Published
Oct 9, 2026
Updated
Oct 24, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

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().

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 004d4b274e2a1a895a0e5dc66158b90a7d463d44 to before 0f38472a2aa8704a6b514c0dfa9c32f3672b8f32Affected
  • 004d4b274e2a1a895a0e5dc66158b90a7d463d44 to before cae8674489f26edf7553fdd660599466cbb4c32fAffected
  • 004d4b274e2a1a895a0e5dc66158b90a7d463d44 to before 9f9e57b5a3a033f95f49ef9d541340cdbcb80abbAffected
  • 004d4b274e2a1a895a0e5dc66158b90a7d463d44 to before df0072be6fc373cb22f9ea854d458b04e32a03cfAffected
  • 004d4b274e2a1a895a0e5dc66158b90a7d463d44 to before b9bb0e735460751b620156f800a4279a28573392Affected
  • 004d4b274e2a1a895a0e5dc66158b90a7d463d44 to before 37b18688cd18fd86d2f35c212df1611862a26cd5Affected
  • 004d4b274e2a1a895a0e5dc66158b90a7d463d44 to before fca71ead7a20290af1e2046983eeafae43d21af1Affected
  • 004d4b274e2a1a895a0e5dc66158b90a7d463d44 to before e4a62833adff6ef0fe7c0b90393204fe3c26b5c5Affected
LinuxLinux
  • 4.18Affected
  • before 4.18Not affected
  • 5.10.271 through 5.10.*Not affected
  • 5.15.222 through 5.15.*Not affected
  • 6.1.189 through 6.1.*Not affected
  • 6.6.158 through 6.6.*Not affected
  • 6.12.112 through 6.12.*Not affected
  • 6.18.55 through 6.18.*Not affected
  • 7.2.9 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.