{
  "id": "CVE-2025-38697",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-38697",
  "published_at": "2025-09-04T15:32:49.848Z",
  "title": "jfs: upper bound check of tree index in dbAllocAG",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\njfs: upper bound check of tree index in dbAllocAG\n\nWhen computing the tree index in dbAllocAG, we never check if we are\nout of bounds realative to the size of the stree.\nThis could happen in a scenario where the filesystem metadata are\ncorrupted.",
  "cwe": "CWE-129",
  "cpes": [
    "cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:2.6.12:-:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:2.6.12:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:2.6.12:rc3:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:2.6.12:rc4:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:2.6.12:rc5:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8,
    "nvd": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \u003c 5bdb9553fb134fd52ec208a8b378120670f6e784",
          "\u003e= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \u003c a4f199203f79ca9cd7355799ccb26800174ff093",
          "\u003e= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \u003c 1467a75819e41341cd5ebd16faa2af1ca3c8f4fe",
          "\u003e= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \u003c 49ea46d9025aa1914b24ea957636cbe4367a7311",
          "\u003e= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \u003c 173cfd741ad7073640bfb7e2344c2a0ee005e769",
          "\u003e= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \u003c c8ca21a2836993d7cb816668458e05e598574e55",
          "\u003e= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \u003c 2dd05f09cc323018136a7ecdb3d1007be9ede27f",
          "\u003e= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \u003c 30e19a884c0b11f33821aacda7e72e914bec26ef",
          "\u003e= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \u003c c214006856ff52a8ff17ed8da52d50601d54f9ce"
        ],
        "fixed_in": [
          "5bdb9553fb134fd52ec208a8b378120670f6e784",
          "a4f199203f79ca9cd7355799ccb26800174ff093",
          "1467a75819e41341cd5ebd16faa2af1ca3c8f4fe",
          "49ea46d9025aa1914b24ea957636cbe4367a7311",
          "173cfd741ad7073640bfb7e2344c2a0ee005e769",
          "c8ca21a2836993d7cb816668458e05e598574e55",
          "2dd05f09cc323018136a7ecdb3d1007be9ede27f",
          "30e19a884c0b11f33821aacda7e72e914bec26ef",
          "c214006856ff52a8ff17ed8da52d50601d54f9ce"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "2.6.12"
        ],
        "fixed_in": [
          "0",
          "5.4.297",
          "5.10.241",
          "5.15.190",
          "6.1.149",
          "6.6.103",
          "6.12.43",
          "6.15.11",
          "6.16.2",
          "6.17"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 5bdb9553fb134fd52ec208a8b378120670f6e784 or a4f199203f79ca9cd7355799ccb26800174ff093 or 1467a75819e41341cd5ebd16faa2af1ca3c8f4fe or 49ea46d9025aa1914b24ea957636cbe4367a7311 or 173cfd741ad7073640bfb7e2344c2a0ee005e769 or c8ca21a2836993d7cb816668458e05e598574e55 or 2dd05f09cc323018136a7ecdb3d1007be9ede27f or 30e19a884c0b11f33821aacda7e72e914bec26ef or c214006856ff52a8ff17ed8da52d50601d54f9ce or later.",
      "Upgrade Linux to 0 or 5.4.297 or 5.10.241 or 5.15.190 or 6.1.149 or 6.6.103 or 6.12.43 or 6.15.11 or 6.16.2 or 6.17 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
