{
  "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-38382",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2025-38382",
    "idYear": 2025,
    "status": "PUBLISHED",
    "publishedAt": "2025-07-25T12:53:23.665Z",
    "updatedAt": "2026-08-05T12:01:29.887Z",
    "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": "btrfs: fix iteration of extrefs during log replay",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nbtrfs: fix iteration of extrefs during log replay\n\nAt __inode_add_ref() when processing extrefs, if we jump into the next\nlabel we have an undefined value of victim_name.len, since we haven't\ninitialized it before we did the goto. This results in an invalid memory\naccess in the next iteration of the loop since victim_name.len was not\ninitialized to the length of the name of the current extref.\n\nFix this by initializing victim_name.len with the current extref's name\nlength.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "1cf474cd474bc5d3ef63086ffd009a87a5b7bb2e",
              "status": "affected",
              "versionType": "git",
              "lessThan": "539969fc472886a1d63565459514d47e27fef461"
            },
            {
              "version": "e43eec81c5167b655b72c781b0e75e62a05e415e",
              "status": "affected",
              "versionType": "git",
              "lessThan": "2d11d274e2e1d7c79e2ca8461ce3ff3a95c11171"
            },
            {
              "version": "e43eec81c5167b655b72c781b0e75e62a05e415e",
              "status": "affected",
              "versionType": "git",
              "lessThan": "7ac790dc2ba00499a8d671d4a24de4d4ad27e234"
            },
            {
              "version": "e43eec81c5167b655b72c781b0e75e62a05e415e",
              "status": "affected",
              "versionType": "git",
              "lessThan": "aee57a0293dca675637e5504709f9f8fd8e871be"
            },
            {
              "version": "e43eec81c5167b655b72c781b0e75e62a05e415e",
              "status": "affected",
              "versionType": "git",
              "lessThan": "54a7081ed168b72a8a2d6ef4ba3a1259705a2926"
            },
            {
              "version": "6.1.57",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "6.1.144"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "6.2",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "6.2"
            },
            {
              "version": "6.1.144",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.97",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.12.37",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.12.*"
            },
            {
              "version": "6.15.6",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.15.*"
            },
            {
              "version": "6.16",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}