CVE-2022-49975

HIGH

Linux Kernel - Denial of Service via Invalid Packet Length Handling in BPF Redirect

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 7.8
EPSS 0.0022
EPSS Percentile 12.7%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Details

Status published
Products (17)
linux/Kernel 4.9.0 - 5.4.212linux
linux/Kernel 5.11.0 - 5.15.65linux
linux/Kernel 5.16.0 - 5.19.7linux
linux/Kernel 5.5.0 - 5.10.141linux
Linux/Linux < 4.9
Linux/Linux 4.9
Linux/Linux 5.10.141 - 5.10.*
Linux/Linux 5.15.65 - 5.15.*
Linux/Linux 5.19.7 - 5.19.*
Linux/Linux 5.4.212 - 5.4.*
... and 7 more
Published Jun 18, 2025
Tracked Since Feb 18, 2026