CVE-2022-49975

bpf: Don't redirect packets with invalid pkt_len

published June 18, 2025

CVSS
—
EPSS
0%
Percentile
17.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00266 · 17.5th percentile
Published
2025-06-18T11:00Z
EPSS history
Timeline
  • 18 JUN 11:00Z
    bpf: Don't redirect packets with invalid pkt_len
    cvelistv5