{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-49975","id":"CVE-2022-49975","title":"bpf: Don't redirect packets with invalid pkt_len","description":"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->head 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 pac","descriptionLong":"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->head 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.","published":"2025-06-18T11:00:38.157Z","updated":"2026-11-07T02:30:45.105765796Z","reserved":"2025-06-18T10:57:27.385Z","status":"Analyzed","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"5293efe62df81908f2e90c9820c7edcc8e61f5e9","lessThan":"8b68e53d56697a59b5c53893b53f508bbdf272a0","status":"affected","versionType":"git"},{"version":"5293efe62df81908f2e90c9820c7edcc8e61f5e9","lessThan":"6204bf78b2a903b96ba43afff6abc0b04d6e0462","status":"affected","versionType":"git"},{"version":"5293efe62df81908f2e90c9820c7edcc8e61f5e9","lessThan":"a75987714bd2d8e59840667a28e15c1fa5c47554","status":"affected","versionType":"git"},{"version":"5293efe62df81908f2e90c9820c7edcc8e61f5e9","lessThan":"72f2dc8993f10262092745a88cb2dd0fef094f23","status":"affected","versionType":"git"},{"version":"5293efe62df81908f2e90c9820c7edcc8e61f5e9","lessThan":"fd1894224407c484f652ad456e1ce423e89bb3eb","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.9","status":"affected"},{"version":"0","lessThan":"4.9","status":"unaffected","versionType":"semver"},{"version":"5.4.212","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.141","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.65","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"5.19.7","lessThanOrEqual":"5.19.*","status":"unaffected","versionType":"semver"},{"version":"6.0","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/8b68e53d56697a59b5c53893b53f508bbdf272a0","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/6204bf78b2a903b96ba43afff6abc0b04d6e0462","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/a75987714bd2d8e59840667a28e15c1fa5c47554","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/72f2dc8993f10262092745a88cb2dd0fef094f23","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/fd1894224407c484f652ad456e1ce423e89bb3eb","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49975.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49975","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00277,"epssPercentile":0.20519,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-49975","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49975","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-49975","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-49975","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}