{"id":"CVE-2022-49975","summary":"bpf: Don't redirect packets with invalid pkt_len","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Don't redirect packets with invalid pkt_len\n\nSyzbot found an issue [1]: fq_codel_drop() try to drop a flow whitout any\nskbs, that is, the flow-\u003ehead is null.\nThe root cause, as the [2] says, is because that bpf_prog_test_run_skb()\nrun a bpf prog which redirects empty skbs.\nSo we should determine whether the length of the packet modified by bpf\nprog or others like bpf_prog_test is valid before forwarding it directly.","modified":"2026-04-02T08:28:06.328768Z","published":"2025-06-18T11:00:38.157Z","related":["SUSE-SU-2025:03204-1","SUSE-SU-2025:03614-1","SUSE-SU-2026:0316-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49975.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/6204bf78b2a903b96ba43afff6abc0b04d6e0462"},{"type":"WEB","url":"https://git.kernel.org/stable/c/72f2dc8993f10262092745a88cb2dd0fef094f23"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8b68e53d56697a59b5c53893b53f508bbdf272a0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a75987714bd2d8e59840667a28e15c1fa5c47554"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fd1894224407c484f652ad456e1ce423e89bb3eb"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49975.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49975"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"5293efe62df81908f2e90c9820c7edcc8e61f5e9"},{"fixed":"8b68e53d56697a59b5c53893b53f508bbdf272a0"},{"fixed":"6204bf78b2a903b96ba43afff6abc0b04d6e0462"},{"fixed":"a75987714bd2d8e59840667a28e15c1fa5c47554"},{"fixed":"72f2dc8993f10262092745a88cb2dd0fef094f23"},{"fixed":"fd1894224407c484f652ad456e1ce423e89bb3eb"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49975.json"}}],"schema_version":"1.7.5"}