bpf: Disallow bpf_skb_pull_data() for LWT_SEG6LOCAL (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.16 % · percentile 5 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Received
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().
References
- https://git.kernel.org/stable/c/0f38472a2aa8704a6b514c0dfa9c32f3672b8f32
- https://git.kernel.org/stable/c/cae8674489f26edf7553fdd660599466cbb4c32f
- https://git.kernel.org/stable/c/9f9e57b5a3a033f95f49ef9d541340cdbcb80abb
- https://git.kernel.org/stable/c/df0072be6fc373cb22f9ea854d458b04e32a03cf
- https://git.kernel.org/stable/c/b9bb0e735460751b620156f800a4279a28573392
- https://git.kernel.org/stable/c/37b18688cd18fd86d2f35c212df1611862a26cd5
- https://git.kernel.org/stable/c/fca71ead7a20290af1e2046983eeafae43d21af1
- https://git.kernel.org/stable/c/e4a62833adff6ef0fe7c0b90393204fe3c26b5c5
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | Linux |
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) |
European references
- ENISA EUVD · EUVD-2026-95538
- GCVE · GCVE-0-2026-98383
CERT-FR advisories
- CERTFR-2026-AVI-1385 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1375 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1374 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected 004d4b274e2a1a895a0e5dc66158b90a7d463d44 < 0f38472a2aa8704a6b514c0dfa9c32f3672b8f32 ; affected 004d4b274e2a1a895a0e5dc66158b90a7d463d44 < cae8674489f26edf7553fdd660599466cbb4c32f ; affected 004d4b274e2a1a895a0e5dc66158b90a7d463d44 < 9f9e57b5a3a033f95f49ef9d541340cdbcb80abb ; affected 004d4b274e2a1a895a0e5dc66158b90a7d463d44 < df0072be6fc373cb22f9ea854d458b04e32a03cf ; affected 004d4b274e2a1a895a0e5dc66158b90a7d463d44 < b9bb0e735460751b620156f800a4279a28573392 ; affected 004d4b274e2a1a895a0e5dc66158b90a7d463d44 < 37b18688cd18fd86d2f35c212df1611862a26cd5 |
| Linux · Linux | affected 4.18 ; unaffected 0 < 4.18 ; unaffected 5.10.271 ≤ 5.10.* ; unaffected 5.15.222 ≤ 5.15.* ; unaffected 6.1.189 ≤ 6.1.* ; unaffected 6.6.158 ≤ 6.6.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |