{
  "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-38710",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2025-38710",
    "idYear": 2025,
    "status": "PUBLISHED",
    "publishedAt": "2025-09-04T15:33:00.629Z",
    "updatedAt": "2026-10-15T22:02:28.235Z",
    "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": "gfs2: Validate i_depth for exhash directories",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\ngfs2: Validate i_depth for exhash directories\n\nA fuzzer test introduced corruption that ends up with a depth of 0 in\ndir_e_read(), causing an undefined shift by 32 at:\n\n  index = hash >> (32 - dip->i_depth);\n\nAs calculated in an open-coded way in dir_make_exhash(), the minimum\ndepth for an exhash directory is ilog2(sdp->sd_hash_ptrs) and 0 is\ninvalid as sdp->sd_hash_ptrs is fixed as sdp->bsize / 16 at mount time.\n\nSo we can avoid the undefined behaviour by checking for depth values\nlower than the minimum in gfs2_dinode_in(). Values greater than the\nmaximum are already being checked for there.\n\nAlso switch the calculation in dir_make_exhash() to use ilog2() to\nclarify how the depth is calculated.\n\nTested with the syzkaller repro.c and xfstests '-g quick'.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "9a0045088d888c9c539c8c626a366cb52c0fbdab",
              "status": "affected",
              "versionType": "git",
              "lessThan": "076e992752e4b24178918f748d75597c80a408d2"
            },
            {
              "version": "9a0045088d888c9c539c8c626a366cb52c0fbdab",
              "status": "affected",
              "versionType": "git",
              "lessThan": "366183911b153e9b8cf758e1414e1154d7569337"
            },
            {
              "version": "9a0045088d888c9c539c8c626a366cb52c0fbdab",
              "status": "affected",
              "versionType": "git",
              "lessThan": "112bb60cd0e254a369e95aa9941a694ffeca089f"
            },
            {
              "version": "9a0045088d888c9c539c8c626a366cb52c0fbdab",
              "status": "affected",
              "versionType": "git",
              "lessThan": "cddea0c721106ea480371412d8de21705eb27376"
            },
            {
              "version": "9a0045088d888c9c539c8c626a366cb52c0fbdab",
              "status": "affected",
              "versionType": "git",
              "lessThan": "53a0249d68a210c16e961b83adfa82f94ee0a53d"
            },
            {
              "version": "9a0045088d888c9c539c8c626a366cb52c0fbdab",
              "status": "affected",
              "versionType": "git",
              "lessThan": "b5f46951e62377b6e406fadc18bc3c5bdf1632a7"
            },
            {
              "version": "9a0045088d888c9c539c8c626a366cb52c0fbdab",
              "status": "affected",
              "versionType": "git",
              "lessThan": "9680c58675b82348ab84d387e4fa727f7587e1a0"
            },
            {
              "version": "9a0045088d888c9c539c8c626a366cb52c0fbdab",
              "status": "affected",
              "versionType": "git",
              "lessThan": "557c024ca7250bb65ae60f16c02074106c2f197b"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "2.6.26",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "2.6.26"
            },
            {
              "version": "5.10.258",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.209",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.1.175",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.134",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.12.43",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.12.*"
            },
            {
              "version": "6.15.11",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.15.*"
            },
            {
              "version": "6.16.2",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.16.*"
            },
            {
              "version": "6.17",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}