CVE-2022-49975

bpf: Don't redirect packets with invalid pkt_len

State
Published
Severity
Not scored
Published
Jun 18, 2025
Updated
May 11, 2026
Reserved
Jun 18, 2025

Read the record on cve.org

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

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 5293efe62df81908f2e90c9820c7edcc8e61f5e9 to before 8b68e53d56697a59b5c53893b53f508bbdf272a0Affected
  • 5293efe62df81908f2e90c9820c7edcc8e61f5e9 to before 6204bf78b2a903b96ba43afff6abc0b04d6e0462Affected
  • 5293efe62df81908f2e90c9820c7edcc8e61f5e9 to before a75987714bd2d8e59840667a28e15c1fa5c47554Affected
  • 5293efe62df81908f2e90c9820c7edcc8e61f5e9 to before 72f2dc8993f10262092745a88cb2dd0fef094f23Affected
  • 5293efe62df81908f2e90c9820c7edcc8e61f5e9 to before fd1894224407c484f652ad456e1ce423e89bb3ebAffected
LinuxLinux
  • 4.9Affected
  • before 4.9Not affected
  • 5.4.212 through 5.4.*Not affected
  • 5.10.141 through 5.10.*Not affected
  • 5.15.65 through 5.15.*Not affected
  • 5.19.7 through 5.19.*Not affected
  • 6.0 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.