{
  "id": "CVE-2025-38715",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-38715",
  "published_at": "2025-09-04T15:33:09.954Z",
  "title": "hfs: fix slab-out-of-bounds in hfs_bnode_read()",
  "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\nhfs: fix slab-out-of-bounds in hfs_bnode_read()\n\nThis patch introduces is_bnode_offset_valid() method that checks\nthe requested offset value. Also, it introduces\ncheck_and_correct_requested_length() method that checks and\ncorrect the requested length (if it is necessary). These methods\nare used in hfs_bnode_read(), hfs_bnode_write(), hfs_bnode_clear(),\nhfs_bnode_copy(), and hfs_bnode_move() with the goal to prevent\nthe access out of allocated memory and triggering the crash.",
  "cwe": "CWE-125",
  "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.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \u003c e7d2dc2421e821e4045775e6dc226378328de6f6",
          "\u003e= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \u003c 67ecc81f6492275c9c54280532f558483c99c90e",
          "\u003e= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \u003c a1a60e79502279f996e55052f50cc14919020475",
          "\u003e= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \u003c fe2891a9c43ab87d1a210d61e6438ca6936e2f62",
          "\u003e= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \u003c 384a66b89f9540a9a8cb0f48807697dfabaece4c",
          "\u003e= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \u003c efc095b35b23297e419c2ab4fc1ed1a8f0781a29",
          "\u003e= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \u003c fc7f732984ec91f30be3e574e0644066d07f2b78",
          "\u003e= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \u003c eec522fd0d28106b14a59ab2d658605febe4a3bb",
          "\u003e= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \u003c a431930c9bac518bf99d6b1da526a7f37ddee8d8"
        ],
        "fixed_in": [
          "e7d2dc2421e821e4045775e6dc226378328de6f6",
          "67ecc81f6492275c9c54280532f558483c99c90e",
          "a1a60e79502279f996e55052f50cc14919020475",
          "fe2891a9c43ab87d1a210d61e6438ca6936e2f62",
          "384a66b89f9540a9a8cb0f48807697dfabaece4c",
          "efc095b35b23297e419c2ab4fc1ed1a8f0781a29",
          "fc7f732984ec91f30be3e574e0644066d07f2b78",
          "eec522fd0d28106b14a59ab2d658605febe4a3bb",
          "a431930c9bac518bf99d6b1da526a7f37ddee8d8"
        ]
      },
      {
        "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 e7d2dc2421e821e4045775e6dc226378328de6f6 or 67ecc81f6492275c9c54280532f558483c99c90e or a1a60e79502279f996e55052f50cc14919020475 or fe2891a9c43ab87d1a210d61e6438ca6936e2f62 or 384a66b89f9540a9a8cb0f48807697dfabaece4c or efc095b35b23297e419c2ab4fc1ed1a8f0781a29 or fc7f732984ec91f30be3e574e0644066d07f2b78 or eec522fd0d28106b14a59ab2d658605febe4a3bb or a431930c9bac518bf99d6b1da526a7f37ddee8d8 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": []
}
