CVE-2026-53074 (GCVE-0-2026-53074)
Vulnerability from cvelistv5
Published
2026-06-24 16:30
Modified
2026-06-24 16:30
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: bpf: reject short IPv4/IPv6 inputs in bpf_prog_test_run_skb bpf_prog_test_run_skb() calls eth_type_trans() first and then uses skb->protocol to initialize sk family and address fields for the test run. For IPv4 and IPv6 packets, it may access ip_hdr(skb) or ipv6_hdr(skb) even when the provided test input only contains an Ethernet header. Reject the input earlier if the Ethernet frame carries IPv4/IPv6 EtherType but the L3 header is too short. Fold the IPv4/IPv6 header length checks into the existing protocol switch and return -EINVAL before accessing the network headers.
Impacted products
Vendor Product Version
Linux Linux Version: fa5cb548ced61b9d3095f32f8a7e427a248c65ee
Version: fa5cb548ced61b9d3095f32f8a7e427a248c65ee
Version: fa5cb548ced61b9d3095f32f8a7e427a248c65ee
Version: fa5cb548ced61b9d3095f32f8a7e427a248c65ee
Version: fa5cb548ced61b9d3095f32f8a7e427a248c65ee
Version: fa5cb548ced61b9d3095f32f8a7e427a248c65ee
Version: fa5cb548ced61b9d3095f32f8a7e427a248c65ee
Version: fa5cb548ced61b9d3095f32f8a7e427a248c65ee
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "net/bpf/test_run.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "7254267799d083280c0e53effc101a33add95f7b",
              "status": "affected",
              "version": "fa5cb548ced61b9d3095f32f8a7e427a248c65ee",
              "versionType": "git"
            },
            {
              "lessThan": "6a9f38d5ff11e00bc54baab752642978805e81eb",
              "status": "affected",
              "version": "fa5cb548ced61b9d3095f32f8a7e427a248c65ee",
              "versionType": "git"
            },
            {
              "lessThan": "e6aa481f21fc7a41ed344767ea25aae9d03fae71",
              "status": "affected",
              "version": "fa5cb548ced61b9d3095f32f8a7e427a248c65ee",
              "versionType": "git"
            },
            {
              "lessThan": "0a04db240effd85773f66244645a28cedddb72d2",
              "status": "affected",
              "version": "fa5cb548ced61b9d3095f32f8a7e427a248c65ee",
              "versionType": "git"
            },
            {
              "lessThan": "1f882c492d46f90bdb36f4936876c88c28dab21c",
              "status": "affected",
              "version": "fa5cb548ced61b9d3095f32f8a7e427a248c65ee",
              "versionType": "git"
            },
            {
              "lessThan": "8042240412de3222d27b31e89d29336961cad9e4",
              "status": "affected",
              "version": "fa5cb548ced61b9d3095f32f8a7e427a248c65ee",
              "versionType": "git"
            },
            {
              "lessThan": "6def5fe753cbe5b279ee5fd10327b2611cbddaca",
              "status": "affected",
              "version": "fa5cb548ced61b9d3095f32f8a7e427a248c65ee",
              "versionType": "git"
            },
            {
              "lessThan": "12bec2bd4b76d81c5d3996bd14ec1b7f4d983747",
              "status": "affected",
              "version": "fa5cb548ced61b9d3095f32f8a7e427a248c65ee",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/bpf/test_run.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.9"
            },
            {
              "lessThan": "5.9",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.258",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.209",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.175",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.141",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.91",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.33",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.0.*",
              "status": "unaffected",
              "version": "7.0.10",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.258",
                  "versionStartIncluding": "5.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.209",
                  "versionStartIncluding": "5.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.175",
                  "versionStartIncluding": "5.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.141",
                  "versionStartIncluding": "5.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.91",
                  "versionStartIncluding": "5.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.33",
                  "versionStartIncluding": "5.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.0.10",
                  "versionStartIncluding": "5.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1",
                  "versionStartIncluding": "5.9",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: reject short IPv4/IPv6 inputs in bpf_prog_test_run_skb\n\nbpf_prog_test_run_skb() calls eth_type_trans() first and then uses\nskb-\u003eprotocol to initialize sk family and address fields for the test\nrun.\n\nFor IPv4 and IPv6 packets, it may access ip_hdr(skb) or ipv6_hdr(skb)\neven when the provided test input only contains an Ethernet header.\n\nReject the input earlier if the Ethernet frame carries IPv4/IPv6\nEtherType but the L3 header is too short.\n\nFold the IPv4/IPv6 header length checks into the existing protocol\nswitch and return -EINVAL before accessing the network headers."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-06-24T16:30:15.337Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/7254267799d083280c0e53effc101a33add95f7b"
        },
        {
          "url": "https://git.kernel.org/stable/c/6a9f38d5ff11e00bc54baab752642978805e81eb"
        },
        {
          "url": "https://git.kernel.org/stable/c/e6aa481f21fc7a41ed344767ea25aae9d03fae71"
        },
        {
          "url": "https://git.kernel.org/stable/c/0a04db240effd85773f66244645a28cedddb72d2"
        },
        {
          "url": "https://git.kernel.org/stable/c/1f882c492d46f90bdb36f4936876c88c28dab21c"
        },
        {
          "url": "https://git.kernel.org/stable/c/8042240412de3222d27b31e89d29336961cad9e4"
        },
        {
          "url": "https://git.kernel.org/stable/c/6def5fe753cbe5b279ee5fd10327b2611cbddaca"
        },
        {
          "url": "https://git.kernel.org/stable/c/12bec2bd4b76d81c5d3996bd14ec1b7f4d983747"
        }
      ],
      "title": "bpf: reject short IPv4/IPv6 inputs in bpf_prog_test_run_skb",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-53074",
    "datePublished": "2026-06-24T16:30:15.337Z",
    "dateReserved": "2026-06-09T07:44:35.383Z",
    "dateUpdated": "2026-06-24T16:30:15.337Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…