GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CVE-2022-49975 (GCVE-0-2022-49975)

Vulnerability from cvelistv5 – Published: 2025-06-18 11:00 – Updated: 2026-05-11 19:10
VLAI
Title
bpf: Don't redirect packets with invalid pkt_len
Summary
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.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 5293efe62df81908f2e90c9820c7edcc8e61f5e9 , < 8b68e53d56697a59b5c53893b53f508bbdf272a0 (git)
Affected: 5293efe62df81908f2e90c9820c7edcc8e61f5e9 , < 6204bf78b2a903b96ba43afff6abc0b04d6e0462 (git)
Affected: 5293efe62df81908f2e90c9820c7edcc8e61f5e9 , < a75987714bd2d8e59840667a28e15c1fa5c47554 (git)
Affected: 5293efe62df81908f2e90c9820c7edcc8e61f5e9 , < 72f2dc8993f10262092745a88cb2dd0fef094f23 (git)
Affected: 5293efe62df81908f2e90c9820c7edcc8e61f5e9 , < fd1894224407c484f652ad456e1ce423e89bb3eb (git)
guessed Create a notification for this product.
Linux Linux Affected: 4.9
Unaffected: 0 , < 4.9 (semver)
Unaffected: 5.4.212 , ≤ 5.4.* (semver)
Unaffected: 5.10.141 , ≤ 5.10.* (semver)
Unaffected: 5.15.65 , ≤ 5.15.* (semver)
Unaffected: 5.19.7 , ≤ 5.19.* (semver)
Unaffected: 6.0 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "include/linux/skbuff.h",
            "net/bpf/test_run.c",
            "net/core/dev.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "8b68e53d56697a59b5c53893b53f508bbdf272a0",
              "status": "affected",
              "version": "5293efe62df81908f2e90c9820c7edcc8e61f5e9",
              "versionType": "git"
            },
            {
              "lessThan": "6204bf78b2a903b96ba43afff6abc0b04d6e0462",
              "status": "affected",
              "version": "5293efe62df81908f2e90c9820c7edcc8e61f5e9",
              "versionType": "git"
            },
            {
              "lessThan": "a75987714bd2d8e59840667a28e15c1fa5c47554",
              "status": "affected",
              "version": "5293efe62df81908f2e90c9820c7edcc8e61f5e9",
              "versionType": "git"
            },
            {
              "lessThan": "72f2dc8993f10262092745a88cb2dd0fef094f23",
              "status": "affected",
              "version": "5293efe62df81908f2e90c9820c7edcc8e61f5e9",
              "versionType": "git"
            },
            {
              "lessThan": "fd1894224407c484f652ad456e1ce423e89bb3eb",
              "status": "affected",
              "version": "5293efe62df81908f2e90c9820c7edcc8e61f5e9",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "include/linux/skbuff.h",
            "net/bpf/test_run.c",
            "net/core/dev.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.9"
            },
            {
              "lessThan": "4.9",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.212",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.141",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.65",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.19.*",
              "status": "unaffected",
              "version": "5.19.7",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.0",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.212",
                  "versionStartIncluding": "4.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.141",
                  "versionStartIncluding": "4.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.65",
                  "versionStartIncluding": "4.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.19.7",
                  "versionStartIncluding": "4.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.0",
                  "versionStartIncluding": "4.9",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Don\u0027t 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."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-05-11T19:10:19.182Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/8b68e53d56697a59b5c53893b53f508bbdf272a0"
        },
        {
          "url": "https://git.kernel.org/stable/c/6204bf78b2a903b96ba43afff6abc0b04d6e0462"
        },
        {
          "url": "https://git.kernel.org/stable/c/a75987714bd2d8e59840667a28e15c1fa5c47554"
        },
        {
          "url": "https://git.kernel.org/stable/c/72f2dc8993f10262092745a88cb2dd0fef094f23"
        },
        {
          "url": "https://git.kernel.org/stable/c/fd1894224407c484f652ad456e1ce423e89bb3eb"
        }
      ],
      "title": "bpf: Don\u0027t redirect packets with invalid pkt_len",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2022-49975",
    "datePublished": "2025-06-18T11:00:38.157Z",
    "dateReserved": "2025-06-18T10:57:27.385Z",
    "dateUpdated": "2026-05-11T19:10:19.182Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2022-49975",
      "date": "2026-09-16",
      "epss": "0.00242",
      "percentile": "0.15504"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2022-49975\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-06-18T11:15:24.893\",\"lastModified\":\"2026-06-17T05:19:39.453\",\"vulnStatus\":\"Analyzed\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nbpf: Don\u0027t 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.\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: bpf: No redirigir paquetes con pkt_len no v\u00e1lidos. Syzbot encontr\u00f3 un problema [1]: fq_codel_drop() intenta descartar un flujo sin skbs, es decir, el flujo-\u0026gt;head es nulo. La causa principal, como se indica en [2], es que bpf_prog_test_run_skb() ejecuta un programa bpf que redirige skbs vac\u00edos. Por lo tanto, debemos determinar si la longitud del paquete modificado por el programa bpf u otros como bpf_prog_test es v\u00e1lida antes de reenviarlo directamente.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"include/linux/skbuff.h\",\"net/bpf/test_run.c\",\"net/core/dev.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"5293efe62df81908f2e90c9820c7edcc8e61f5e9\",\"lessThan\":\"8b68e53d56697a59b5c53893b53f508bbdf272a0\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"5293efe62df81908f2e90c9820c7edcc8e61f5e9\",\"lessThan\":\"6204bf78b2a903b96ba43afff6abc0b04d6e0462\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"5293efe62df81908f2e90c9820c7edcc8e61f5e9\",\"lessThan\":\"a75987714bd2d8e59840667a28e15c1fa5c47554\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"5293efe62df81908f2e90c9820c7edcc8e61f5e9\",\"lessThan\":\"72f2dc8993f10262092745a88cb2dd0fef094f23\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"5293efe62df81908f2e90c9820c7edcc8e61f5e9\",\"lessThan\":\"fd1894224407c484f652ad456e1ce423e89bb3eb\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"include/linux/skbuff.h\",\"net/bpf/test_run.c\",\"net/core/dev.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"4.9\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"4.9\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.4.212\",\"lessThanOrEqual\":\"5.4.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.10.141\",\"lessThanOrEqual\":\"5.10.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.15.65\",\"lessThanOrEqual\":\"5.15.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.19.7\",\"lessThanOrEqual\":\"5.19.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.0\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\",\"baseScore\":7.8,\"baseSeverity\":\"HIGH\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":5.9}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"NVD-CWE-noinfo\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionEndExcluding\":\"5.4.212\",\"matchCriteriaId\":\"1A50CB2A-B4FD-4716-9BCE-0E9E3F59FF9D\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.5\",\"versionEndExcluding\":\"5.10.141\",\"matchCriteriaId\":\"6872143E-BF6D-4DB5-8454-D843F608AB3B\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.11\",\"versionEndExcluding\":\"5.15.65\",\"matchCriteriaId\":\"81162A58-341F-455C-96D5-6DF30A0F9295\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.16\",\"versionEndExcluding\":\"5.19.7\",\"matchCriteriaId\":\"DEBCC9D9-2058-44E1-8A2E-ABC880E4DE50\"}]}]}],\"references\":[{\"url\":\"https://git.kernel.org/stable/c/6204bf78b2a903b96ba43afff6abc0b04d6e0462\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/72f2dc8993f10262092745a88cb2dd0fef094f23\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/8b68e53d56697a59b5c53893b53f508bbdf272a0\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/a75987714bd2d8e59840667a28e15c1fa5c47554\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/fd1894224407c484f652ad456e1ce423e89bb3eb\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]}]}}",
    "redhat_vex": {
      "aggregate_severity": "Low",
      "current_release_date": "2026-06-30T10:15:27+00:00",
      "cve": "CVE-2022-49975",
      "id": "CVE-2022-49975",
      "initial_release_date": "2022-01-01T00:00:00+00:00",
      "product_status:known_affected": "198",
      "product_status:known_not_affected": "76",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: bpf: Don\u0027t redirect packets with invalid pkt_len",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-49975.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-09-11T16:52:22Z",
      "cve": "CVE-2022-49975",
      "id": "CVE-2022-49975",
      "initial_release_date": "2025-06-19T03:45:07Z",
      "product_status:known_affected": "733",
      "product_status:known_not_affected": "176",
      "product_status:recommended": "37",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2022-49975",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2022-49975.json",
      "version": "49"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…