CVE-2022-49975 bpf: Don't redirect packets with invalid pkt_len
A null pointer dereference in the Linux kernel BPF subsystem allows attackers to cause a denial of service by redirecting empty packets.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-49975?
CVE-2022-49975 is a high-severity vulnerability in Linux kernel, published on 18 Jun 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Which versions are affected by CVE-2022-49975?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2022-49975?
Apply the vendor's patch.
Is CVE-2022-49975 being exploited?
There is no known exploitation of CVE-2022-49975 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as DEBIAN-CVE-2022-49975, GHSA-29wv-m5qw-5h7j, UBUNTU-CVE-2022-49975.