{
  "id": "CVE-2025-22079",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-22079",
  "published_at": "2025-04-16T14:12:29.215Z",
  "title": "ocfs2: validate l_tree_depth to avoid out-of-bounds access",
  "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\nocfs2: validate l_tree_depth to avoid out-of-bounds access\n\nThe l_tree_depth field is 16-bit (__le16), but the actual maximum depth is\nlimited to OCFS2_MAX_PATH_DEPTH.\n\nAdd a check to prevent out-of-bounds access if l_tree_depth has an invalid\nvalue, which may occur when reading from a corrupted mounted disk [1].",
  "cwe": "CWE-125",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8,
    "nvd": 7.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, \u003c ef34840bda333fe99bafbd2d73b70ceaaf9eba66",
          "\u003e= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, \u003c 538ed8b049ef801a86c543433e5061a91cc106e3",
          "\u003e= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, \u003c 17c99ab3db2ba74096d36c69daa6e784e98fc0b8",
          "\u003e= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, \u003c 11e24802e73362aa2948ee16b8fb4e32635d5b2a",
          "\u003e= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, \u003c 3d012ba4404a0bb517658699ba85e6abda386dc3",
          "\u003e= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, \u003c 49d2a2ea9d30991bae82107f9523915b91637683",
          "\u003e= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, \u003c b942f88fe7d2d789e51c5c30a675fa1c126f5a6d",
          "\u003e= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, \u003c e95d97c9c8cd0c239b7b59c79be0f6a9dcf7905c",
          "\u003e= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, \u003c a406aff8c05115119127c962cbbbbd202e1973ef"
        ],
        "fixed_in": [
          "ef34840bda333fe99bafbd2d73b70ceaaf9eba66",
          "538ed8b049ef801a86c543433e5061a91cc106e3",
          "17c99ab3db2ba74096d36c69daa6e784e98fc0b8",
          "11e24802e73362aa2948ee16b8fb4e32635d5b2a",
          "3d012ba4404a0bb517658699ba85e6abda386dc3",
          "49d2a2ea9d30991bae82107f9523915b91637683",
          "b942f88fe7d2d789e51c5c30a675fa1c126f5a6d",
          "e95d97c9c8cd0c239b7b59c79be0f6a9dcf7905c",
          "a406aff8c05115119127c962cbbbbd202e1973ef"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "2.6.16"
        ],
        "fixed_in": [
          "0",
          "5.4.292",
          "5.10.236",
          "5.15.180",
          "6.1.134",
          "6.6.87",
          "6.12.23",
          "6.13.11",
          "6.14.2",
          "6.15"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to ef34840bda333fe99bafbd2d73b70ceaaf9eba66 or 538ed8b049ef801a86c543433e5061a91cc106e3 or 17c99ab3db2ba74096d36c69daa6e784e98fc0b8 or 11e24802e73362aa2948ee16b8fb4e32635d5b2a or 3d012ba4404a0bb517658699ba85e6abda386dc3 or 49d2a2ea9d30991bae82107f9523915b91637683 or b942f88fe7d2d789e51c5c30a675fa1c126f5a6d or e95d97c9c8cd0c239b7b59c79be0f6a9dcf7905c or a406aff8c05115119127c962cbbbbd202e1973ef or later.",
      "Upgrade Linux to 0 or 5.4.292 or 5.10.236 or 5.15.180 or 6.1.134 or 6.6.87 or 6.12.23 or 6.13.11 or 6.14.2 or 6.15 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
