{
  "id": "CVE-2025-37975",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-37975",
  "published_at": "2025-05-20T16:58:19.27Z",
  "title": "riscv: module: Fix out-of-bounds relocation access",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.1,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/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\nriscv: module: Fix out-of-bounds relocation access\n\nThe current code allows rel[j] to access one element past the end of the\nrelocation section. Simplify to num_relocations which is equivalent to\nthe existing size expression.",
  "cwe": "CWE-125",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.15:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.15:rc2:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "nvd": 7.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 080c4324fa5e81ff3780206a138223abfb57a68e, \u003c a068ea00009d373d825c528f9c168501519211b4",
          "\u003e= 080c4324fa5e81ff3780206a138223abfb57a68e, \u003c 95e4e1c1cf614d125f159db9726b7abb32e18385",
          "\u003e= 080c4324fa5e81ff3780206a138223abfb57a68e, \u003c 0b4cce68efb93e31a8e51795d696df6e379cb41c"
        ],
        "fixed_in": [
          "a068ea00009d373d825c528f9c168501519211b4",
          "95e4e1c1cf614d125f159db9726b7abb32e18385",
          "0b4cce68efb93e31a8e51795d696df6e379cb41c"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.8"
        ],
        "fixed_in": [
          "0",
          "6.12.25",
          "6.14.4",
          "6.15"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to a068ea00009d373d825c528f9c168501519211b4 or 95e4e1c1cf614d125f159db9726b7abb32e18385 or 0b4cce68efb93e31a8e51795d696df6e379cb41c or later.",
      "Upgrade Linux to 0 or 6.12.25 or 6.14.4 or 6.15 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
