{"id":"CVE-2022-49975","aliases":["CVE-2022-49975"],"related":[],"kind":"vulnerability","state":"published","title":"bpf: Don't redirect packets with invalid pkt_len","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Don't redirect packets with invalid pkt_len\n\nSyzbot found an issue [1]: fq_codel_drop() try to drop a flow whitout any\nskbs, that is, the flow->head is null.\nThe root cause, as the [2] says, is because that bpf_prog_test_run_skb()\nrun a bpf prog which redirects empty skbs.\nSo we should determine whether the length of the packet modified by bpf\nprog or others like bpf_prog_test is valid before forwarding it directly.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Don't redirect packets with invalid pkt_len\n\nSyzbot found an issue [1]: fq_codel_drop() try to drop a flow whitout any\nskbs, that is, the flow->head is null.\nThe root cause, as the [2] says, is because that bpf_prog_test_run_skb()\nrun a bpf prog which redirects empty skbs.\nSo we should determine whether the length of the packet modified by bpf\nprog or others like bpf_prog_test is valid before forwarding it directly.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: bpf: No redirigir paquetes con pkt_len no válidos. Syzbot encontró un problema [1]: fq_codel_drop() intenta descartar un flujo sin skbs, es decir, el flujo-&gt;head es nulo. La causa principal, como se indica en [2], es que bpf_prog_test_run_skb() ejecuta un programa bpf que redirige skbs vacíos. Por lo tanto, debemos determinar si la longitud del paquete modificado por el programa bpf u otros como bpf_prog_test es válida antes de reenviarlo directamente.","source":"nvd"}],"published":"2025-06-18T11:00:38.157Z","modified":"2026-11-05T20:17:19.527Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"5293efe62df81908f2e90c9820c7edcc8e61f5e9","fixed":"8b68e53d56697a59b5c53893b53f508bbdf272a0","status":"affected"},{"type":"git","introduced":"5293efe62df81908f2e90c9820c7edcc8e61f5e9","fixed":"6204bf78b2a903b96ba43afff6abc0b04d6e0462","status":"affected"},{"type":"git","introduced":"5293efe62df81908f2e90c9820c7edcc8e61f5e9","fixed":"a75987714bd2d8e59840667a28e15c1fa5c47554","status":"affected"},{"type":"git","introduced":"5293efe62df81908f2e90c9820c7edcc8e61f5e9","fixed":"72f2dc8993f10262092745a88cb2dd0fef094f23","status":"affected"},{"type":"git","introduced":"5293efe62df81908f2e90c9820c7edcc8e61f5e9","fixed":"fd1894224407c484f652ad456e1ce423e89bb3eb","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.9","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.9","status":"unaffected"},{"type":"semver","introduced":"5.4.212","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.141","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.65","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.19.7","lastAffected":"5.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.0","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"5.4.212"},{"status":"affected","introduced":"5.5","fixed":"5.10.141"},{"status":"affected","introduced":"5.11","fixed":"5.15.65"},{"status":"affected","introduced":"5.16","fixed":"5.19.7"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/8b68e53d56697a59b5c53893b53f508bbdf272a0","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6204bf78b2a903b96ba43afff6abc0b04d6e0462","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a75987714bd2d8e59840667a28e15c1fa5c47554","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/72f2dc8993f10262092745a88cb2dd0fef094f23","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fd1894224407c484f652ad456e1ce423e89bb3eb","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-05T19:52:21.290Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-49975","url":"https://www.cve.org/CVERecord?id=CVE-2022-49975","licence":"CVE Terms of Use","modified":"2026-11-05T20:00:12.903Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-49975","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49975","licence":"Public domain","modified":"2026-11-05T20:17:19.527Z"}],"updatedAt":"2026-11-25T22:58:20.989Z","epss":{"score":0.00278,"percentile":0.21749,"date":"2026-12-01T12:00:22.000Z"}}