{
  "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-22048",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2025-22048",
    "idYear": 2025,
    "status": "PUBLISHED",
    "publishedAt": "2025-04-16T14:12:07.679Z",
    "updatedAt": "2026-08-05T11:56:20.708Z",
    "importedAt": "2026-10-24T01:57:29.455Z",
    "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": "LoongArch: BPF: Don't override subprog's return value",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nLoongArch: BPF: Don't override subprog's return value\n\nThe verifier test `calls: div by 0 in subprog` triggers a panic at the\nld.bu instruction. The ld.bu insn is trying to load byte from memory\naddress returned by the subprog. The subprog actually set the correct\naddress at the a5 register (dedicated register for BPF return values).\nBut at commit 73c359d1d356 (\"LoongArch: BPF: Sign-extend return values\")\nwe also sign extended a5 to the a0 register (return value in LoongArch).\nFor function call insn, we later propagate the a0 register back to a5\nregister. This is right for native calls but wrong for bpf2bpf calls\nwhich expect zero-extended return value in a5 register. So only move a0\nto a5 for native calls (i.e. non-BPF_PSEUDO_CALL).",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "0c8d50501bc13cacecc19caaddc10db372592a39",
              "status": "affected",
              "versionType": "git",
              "lessThan": "7df2696256a034405d3c5a71b3a4c54725de4404"
            },
            {
              "version": "d5d83242a1d778ceb6d8b07c6b491cf7483ca112",
              "status": "affected",
              "versionType": "git",
              "lessThan": "223d565d8892481684091cfbaf3466f2b0e289d3"
            },
            {
              "version": "73c359d1d356cf10236ccd358bd55edab33e9424",
              "status": "affected",
              "versionType": "git",
              "lessThan": "780628a780b622759d9e5adc76d15432144da1a3"
            },
            {
              "version": "73c359d1d356cf10236ccd358bd55edab33e9424",
              "status": "affected",
              "versionType": "git",
              "lessThan": "996e90ab446641553e8e21707b38b9709605e0e0"
            },
            {
              "version": "73c359d1d356cf10236ccd358bd55edab33e9424",
              "status": "affected",
              "versionType": "git",
              "lessThan": "60f3caff1492e5b8616b9578c4bedb5c0a88ed14"
            },
            {
              "version": "8382e92f90b601acf6d426121e6f4991502e767d",
              "status": "affected",
              "versionType": "git"
            },
            {
              "version": "3b75f627b73d96787a493e2f1187543ba9c056a4",
              "status": "affected",
              "versionType": "git"
            },
            {
              "version": "6.6.64",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "6.6.87"
            },
            {
              "version": "6.12.2",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "6.12.23"
            },
            {
              "version": "6.1.120",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "6.2"
            },
            {
              "version": "6.11.11",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "6.12"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "6.13",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "6.13"
            },
            {
              "version": "6.6.87",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.12.23",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.12.*"
            },
            {
              "version": "6.13.11",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.13.*"
            },
            {
              "version": "6.14.2",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.14.*"
            },
            {
              "version": "6.15",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}