bpf: Don't redirect packets with invalid pkt_len (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.27 % · percentile 19 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Analyzed
Description
In the Linux kernel, the following vulnerability has been resolved: bpf: Don't redirect packets with invalid pkt_len Syzbot found an issue [1]: fq_codel_drop() try to drop a flow whitout any skbs, that is, the flow->head is null. The root cause, as the [2] says, is because that bpf_prog_test_run_skb() run a bpf prog which redirects empty skbs. So we should determine whether the length of the packet modified by bpf prog or others like bpf_prog_test is valid before forwarding it directly.
References
- https://git.kernel.org/stable/c/8b68e53d56697a59b5c53893b53f508bbdf272a0
- https://git.kernel.org/stable/c/6204bf78b2a903b96ba43afff6abc0b04d6e0462
- https://git.kernel.org/stable/c/a75987714bd2d8e59840667a28e15c1fa5c47554
- https://git.kernel.org/stable/c/72f2dc8993f10262092745a88cb2dd0fef094f23
- https://git.kernel.org/stable/c/fd1894224407c484f652ad456e1ce423e89bb3eb
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 | NVD · nvd@nist.gov (Primary) |
European references
- ENISA EUVD · EUVD-2022-55255
- GCVE · GCVE-0-2022-49975
CERT-FR advisories
- CERTFR-2026-AVI-0108 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2025-AVI-0895 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2025-AVI-0805 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*< 5.4.212cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.5 < 5.10.141cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.11 < 5.15.65cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.16 < 5.19.7
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected 5293efe62df81908f2e90c9820c7edcc8e61f5e9 < 8b68e53d56697a59b5c53893b53f508bbdf272a0 ; affected 5293efe62df81908f2e90c9820c7edcc8e61f5e9 < 6204bf78b2a903b96ba43afff6abc0b04d6e0462 ; affected 5293efe62df81908f2e90c9820c7edcc8e61f5e9 < a75987714bd2d8e59840667a28e15c1fa5c47554 ; affected 5293efe62df81908f2e90c9820c7edcc8e61f5e9 < 72f2dc8993f10262092745a88cb2dd0fef094f23 ; affected 5293efe62df81908f2e90c9820c7edcc8e61f5e9 < fd1894224407c484f652ad456e1ce423e89bb3eb |
| Linux · Linux | affected 4.9 ; unaffected 0 < 4.9 ; unaffected 5.4.212 ≤ 5.4.* ; unaffected 5.10.141 ≤ 5.10.* ; unaffected 5.15.65 ≤ 5.15.* ; unaffected 5.19.7 ≤ 5.19.* |
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 |