2084AI Security Observatory

CVE

CVE-2022-49975

CVE-2022-49975HIGH 7.8EPSS 20%

CNA 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.

Affected versions

All Linux kernel vulnerabilities →

  • ≥ 5.16, < 5.19.7Fixed in 5.19.7
  • ≥ 5.11, < 5.15.65Fixed in 5.15.65
  • ≥ 5.5, < 5.10.141Fixed in 5.10.141
  • < 5.4.212Fixed in 5.4.212

Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.

Advisories and patches

Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.