{
  "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-40078",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2025-40078",
    "idYear": 2025,
    "status": "PUBLISHED",
    "publishedAt": "2025-10-28T11:48:43.548Z",
    "updatedAt": "2026-10-15T01:08:54.099Z",
    "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: Explicitly check accesses to bpf_sock_addr",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Explicitly check accesses to bpf_sock_addr\n\nSyzkaller found a kernel warning on the following sock_addr program:\n\n    0: r0 = 0\n    1: r2 = *(u32 *)(r1 +60)\n    2: exit\n\nwhich triggers:\n\n    verifier bug: error during ctx access conversion (0)\n\nThis is happening because offset 60 in bpf_sock_addr corresponds to an\nimplicit padding of 4 bytes, right after msg_src_ip4. Access to this\npadding isn't rejected in sock_addr_is_valid_access and it thus later\nfails to convert the access.\n\nThis patch fixes it by explicitly checking the various fields of\nbpf_sock_addr in sock_addr_is_valid_access.\n\nI checked the other ctx structures and is_valid_access functions and\ndidn't find any other similar cases. Other cases of (properly handled)\npadding are covered in new tests in a subsequent patch.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "1cedee13d25ab118d325f95588c1a084e9317229",
              "status": "affected",
              "versionType": "git",
              "lessThan": "de44cdc50d2dce8718cb57deddf9cf1be9a7759f"
            },
            {
              "version": "1cedee13d25ab118d325f95588c1a084e9317229",
              "status": "affected",
              "versionType": "git",
              "lessThan": "76e04bbb4296fb6eac084dbfc27e02ccc744db3e"
            },
            {
              "version": "1cedee13d25ab118d325f95588c1a084e9317229",
              "status": "affected",
              "versionType": "git",
              "lessThan": "6d8b1a21fd5c34622b0c3893c61e4a38d8ba53ec"
            },
            {
              "version": "1cedee13d25ab118d325f95588c1a084e9317229",
              "status": "affected",
              "versionType": "git",
              "lessThan": "4f00858cd9bbbdf67159e28b85a8ca9e77c83622"
            },
            {
              "version": "1cedee13d25ab118d325f95588c1a084e9317229",
              "status": "affected",
              "versionType": "git",
              "lessThan": "cdeafacb4f9ff261a96baef519e29480fd7b1019"
            },
            {
              "version": "1cedee13d25ab118d325f95588c1a084e9317229",
              "status": "affected",
              "versionType": "git",
              "lessThan": "fe9d33f0470350558cb08cecb54cf2267b3a45d2"
            },
            {
              "version": "1cedee13d25ab118d325f95588c1a084e9317229",
              "status": "affected",
              "versionType": "git",
              "lessThan": "ad8b4fe5617e3c85fc23267f02500c4f3bf0ff69"
            },
            {
              "version": "1cedee13d25ab118d325f95588c1a084e9317229",
              "status": "affected",
              "versionType": "git",
              "lessThan": "6fabca2fc94d33cdf7ec102058983b086293395f"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "4.18",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "4.18"
            },
            {
              "version": "5.4.301",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.4.*"
            },
            {
              "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.156",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.112",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.12.53",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.12.*"
            },
            {
              "version": "6.17.3",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.17.*"
            },
            {
              "version": "6.18",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}