CVE-2022-49975
published 2025-06-18CVE-2022-49975: 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()…
PriorityP338high7.8CVSS 3.1
AVLACLPRLUINSUCHIHAH
EPSS
0.22%
12.7th percentile
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.
Affected
15 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 6.0.2-1 (bookworm) | linux 6.0.2-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | >= 5293efe62df81908f2e90c9820c7edcc8e61f5e9 < 8b68e53d56697a59b5c53893b53f508bbdf272a0 | 8b68e53d56697a59b5c53893b53f508bbdf272a0 |
| linux | linux | >= 5293efe62df81908f2e90c9820c7edcc8e61f5e9 < 6204bf78b2a903b96ba43afff6abc0b04d6e0462 | 6204bf78b2a903b96ba43afff6abc0b04d6e0462 |
| linux | linux | >= 5293efe62df81908f2e90c9820c7edcc8e61f5e9 < a75987714bd2d8e59840667a28e15c1fa5c47554 | a75987714bd2d8e59840667a28e15c1fa5c47554 |
| linux | linux | >= 5293efe62df81908f2e90c9820c7edcc8e61f5e9 < 72f2dc8993f10262092745a88cb2dd0fef094f23 | 72f2dc8993f10262092745a88cb2dd0fef094f23 |
| linux | linux | >= 5293efe62df81908f2e90c9820c7edcc8e61f5e9 < fd1894224407c484f652ad456e1ce423e89bb3eb | fd1894224407c484f652ad456e1ce423e89bb3eb |
| linux | linux_kernel | < 5.4.212 | 5.4.212 |
| linux | linux_kernel | >= 0 < 5.10.148-1 | 5.10.148-1 |
| linux | linux_kernel | >= 0 < 6.0.2-1 | 6.0.2-1 |
| linux | linux_kernel | >= 0 < 6.0.2-1 | 6.0.2-1 |
| linux | linux_kernel | >= 0 < 6.0.2-1 | 6.0.2-1 |
| linux | linux_kernel | >= 5.11 < 5.15.65 | 5.15.65 |
| linux | linux_kernel | >= 5.16 < 5.19.7 | 5.19.7 |
| linux | linux_kernel | >= 5.5 < 5.10.141 | 5.10.141 |
CVSS provenance
nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
osv7.8HIGH
vendor_debian7.8HIGH
vendor_redhat7.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
CVE-2022-49975: 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_cod
osv·2025-06-18·CVSS 7.8
CVE-2022-49975 [HIGH] CVE-2022-49975: 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_cod
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.
GHSA
GHSA-29wv-m5qw-5h7j: 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_c
ghsa_unreviewed·2025-06-18
CVE-2022-49975 [HIGH] GHSA-29wv-m5qw-5h7j: 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_c
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.
Red Hat
kernel: bpf: Don't redirect packets with invalid pkt_len
vendor_redhat·2025-06-18·CVSS 7.8
CVE-2022-49975 [HIGH] kernel: bpf: Don't redirect packets with invalid pkt_len
kernel: bpf: Don't redirect packets with invalid pkt_len
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.
Package: kernel (Red Hat Enterprise Linux 10) - Not affected
Package: kernel (Red Hat Enterprise Linux 6) - Out of support scope
Package: kernel (Red Hat Enterprise Linux 7) - Fix deferred
Package: kernel-rt (Red Hat Enterprise Linux 7) - Fix def
Debian
CVE-2022-49975: linux - In the Linux kernel, the following vulnerability has been resolved: bpf: Don't ...
vendor_debian·2022·CVSS 7.8
CVE-2022-49975 [HIGH] CVE-2022-49975: linux - In the Linux kernel, the following vulnerability has been resolved: bpf: Don't ...
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.
Scope: local
bookworm: resolved (fixed in 6.0.2-1)
bullseye: resolved (fixed in 5.10.148-1)
forky: resolved (fixed in 6.0.2-1)
sid: resolved (fixed in 6.0.2-1)
trixie: resolved (fixed in 6.0.2-1)
No detection rules found.
No public exploits indexed.
https://git.kernel.org/stable/c/6204bf78b2a903b96ba43afff6abc0b04d6e0462https://git.kernel.org/stable/c/72f2dc8993f10262092745a88cb2dd0fef094f23https://git.kernel.org/stable/c/8b68e53d56697a59b5c53893b53f508bbdf272a0https://git.kernel.org/stable/c/a75987714bd2d8e59840667a28e15c1fa5c47554https://git.kernel.org/stable/c/fd1894224407c484f652ad456e1ce423e89bb3eb
2025-06-18
Published