{
  "schemaVersion": 1,
  "attribution": [
    {
      "source": "CISA Known Exploited Vulnerabilities",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "licence": "US government work"
    },
    {
      "source": "GitHub Advisory Database",
      "url": "https://github.com/advisories",
      "licence": "CC BY 4.0"
    },
    {
      "source": "Have I Been Pwned",
      "url": "https://haveibeenpwned.com/",
      "licence": "CC BY 4.0"
    },
    {
      "source": "CVE Program (CVE records)",
      "url": "https://www.cve.org/Legal/TermsOfUse",
      "licence": "CVE Terms of Use",
      "notice": "Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation.",
      "terms": "CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy."
    },
    {
      "source": "FIRST EPSS",
      "url": "https://www.first.org/epss/",
      "licence": "free to use; FIRST requests attribution"
    }
  ],
  "record": {
    "id": "CVE-2025-40183",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2025-40183",
    "idYear": 2025,
    "status": "PUBLISHED",
    "publishedAt": "2025-11-12T21:56:27.429Z",
    "updatedAt": "2026-10-15T22:02:39.850Z",
    "importedAt": "2026-10-24T01:57:34.152Z",
    "snapshot": {
      "id": "cve_2026-10-24_midnight_baseline",
      "at": "2026-10-24T00:00:00.000Z",
      "source": "https://github.com/CVEProject/cvelistV5/releases/tag/cve_2026-10-24_0100Z"
    },
    "facts": {
      "title": "bpf: Fix metadata_dst leak __bpf_redirect_neigh_v{4,6}",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Fix metadata_dst leak __bpf_redirect_neigh_v{4,6}\n\nCilium has a BPF egress gateway feature which forces outgoing K8s Pod\ntraffic to pass through dedicated egress gateways which then SNAT the\ntraffic in order to interact with stable IPs outside the cluster.\n\nThe traffic is directed to the gateway via vxlan tunnel in collect md\nmode. A recent BPF change utilized the bpf_redirect_neigh() helper to\nforward packets after the arrival and decap on vxlan, which turned out\nover time that the kmalloc-256 slab usage in kernel was ever-increasing.\n\nThe issue was that vxlan allocates the metadata_dst object and attaches\nit through a fake dst entry to the skb. The latter was never released\nthough given bpf_redirect_neigh() was merely setting the new dst entry\nvia skb_dst_set() without dropping an existing one first.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "b4ab31414970a7a03a5d55d75083f2c101a30592",
              "status": "affected",
              "versionType": "git",
              "lessThan": "3fba965a9aac0fa3cbd8138436a37af9ab466d79"
            },
            {
              "version": "b4ab31414970a7a03a5d55d75083f2c101a30592",
              "status": "affected",
              "versionType": "git",
              "lessThan": "057764172fcc6ee2ccb6c41351a55a9f054dc8fd"
            },
            {
              "version": "b4ab31414970a7a03a5d55d75083f2c101a30592",
              "status": "affected",
              "versionType": "git",
              "lessThan": "2e67c2037382abb56497bb9d7b7e10be04eb5598"
            },
            {
              "version": "b4ab31414970a7a03a5d55d75083f2c101a30592",
              "status": "affected",
              "versionType": "git",
              "lessThan": "b6bfe44b6dbb14a31d86c475cdc9c7689534fb09"
            },
            {
              "version": "b4ab31414970a7a03a5d55d75083f2c101a30592",
              "status": "affected",
              "versionType": "git",
              "lessThan": "f36a305d30f557306d87c787ddffe094ac5dac89"
            },
            {
              "version": "b4ab31414970a7a03a5d55d75083f2c101a30592",
              "status": "affected",
              "versionType": "git",
              "lessThan": "7404ce888a45eb7da0508b7cbbe6f2e95302eeb8"
            },
            {
              "version": "b4ab31414970a7a03a5d55d75083f2c101a30592",
              "status": "affected",
              "versionType": "git",
              "lessThan": "23f3770e1a53e6c7a553135011f547209e141e72"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "5.10",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "5.10"
            },
            {
              "version": "5.10.246",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.195",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.1.157",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.113",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.12.54",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.12.*"
            },
            {
              "version": "6.17.4",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.17.*"
            },
            {
              "version": "6.18",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}