{
  "id": "CVE-2025-21785",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-21785",
  "published_at": "2025-02-27T02:18:25.938Z",
  "title": "arm64: cacheinfo: Avoid out-of-bounds write to cacheinfo array",
  "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\narm64: cacheinfo: Avoid out-of-bounds write to cacheinfo array\n\nThe loop that detects/populates cache information already has a bounds\ncheck on the array size but does not account for cache levels with\nseparate data/instructions cache. Fix this by incrementing the index\nfor any populated leaf (instead of any populated level).",
  "cwe": "CWE-787",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.14:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.14:rc2:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8,
    "nvd": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 5d425c18653731af62831d30a4fa023d532657a9, \u003c 4371ac7b494e933fffee2bd6265d18d73c4f05aa",
          "\u003e= 5d425c18653731af62831d30a4fa023d532657a9, \u003c e4fde33107351ec33f1a64188612fbc6ca659284",
          "\u003e= 5d425c18653731af62831d30a4fa023d532657a9, \u003c 88a3e6afaf002250220793df99404977d343db14",
          "\u003e= 5d425c18653731af62831d30a4fa023d532657a9, \u003c 4ff25f0b18d1d0174c105e4620428bcdc1213860",
          "\u003e= 5d425c18653731af62831d30a4fa023d532657a9, \u003c ab90894f33c15b14c1cee6959ab6c8dcb09127f8",
          "\u003e= 5d425c18653731af62831d30a4fa023d532657a9, \u003c 715eb1af64779e1b1aa0a7b2ffb81414d9f708e5",
          "\u003e= 5d425c18653731af62831d30a4fa023d532657a9, \u003c 67b99a2b5811df4294c2ad50f9bff3b6a08bd618",
          "\u003e= 5d425c18653731af62831d30a4fa023d532657a9, \u003c 875d742cf5327c93cba1f11e12b08d3cce7a88d2"
        ],
        "fixed_in": [
          "4371ac7b494e933fffee2bd6265d18d73c4f05aa",
          "e4fde33107351ec33f1a64188612fbc6ca659284",
          "88a3e6afaf002250220793df99404977d343db14",
          "4ff25f0b18d1d0174c105e4620428bcdc1213860",
          "ab90894f33c15b14c1cee6959ab6c8dcb09127f8",
          "715eb1af64779e1b1aa0a7b2ffb81414d9f708e5",
          "67b99a2b5811df4294c2ad50f9bff3b6a08bd618",
          "875d742cf5327c93cba1f11e12b08d3cce7a88d2"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "4.0"
        ],
        "fixed_in": [
          "0",
          "5.4.291",
          "5.10.235",
          "5.15.179",
          "6.1.129",
          "6.6.79",
          "6.12.16",
          "6.13.4",
          "6.14"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 4371ac7b494e933fffee2bd6265d18d73c4f05aa or e4fde33107351ec33f1a64188612fbc6ca659284 or 88a3e6afaf002250220793df99404977d343db14 or 4ff25f0b18d1d0174c105e4620428bcdc1213860 or ab90894f33c15b14c1cee6959ab6c8dcb09127f8 or 715eb1af64779e1b1aa0a7b2ffb81414d9f708e5 or 67b99a2b5811df4294c2ad50f9bff3b6a08bd618 or 875d742cf5327c93cba1f11e12b08d3cce7a88d2 or later.",
      "Upgrade Linux to 0 or 5.4.291 or 5.10.235 or 5.15.179 or 6.1.129 or 6.6.79 or 6.12.16 or 6.13.4 or 6.14 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
