{"id":"CVE-2025-37975","aliases":["CVE-2025-37975"],"related":[],"kind":"vulnerability","state":"published","title":"riscv: module: Fix out-of-bounds relocation access","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: riscv: módulo: Corrección de acceso de reubicación fuera de los límites. El código actual permite que rel[j] acceda a un elemento después del final de la sección de reubicación. Simplificar a num_relocations, que equivale a la expresión de tamaño existente.","source":"nvd"}],"published":"2025-05-20T16:58:19.270Z","modified":"2026-06-17T09:15:48.573Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"}],"cwes":["CWE-125"],"affected":[{"ranges":[{"type":"git","introduced":"080c4324fa5e81ff3780206a138223abfb57a68e","fixed":"a068ea00009d373d825c528f9c168501519211b4","status":"affected"},{"type":"git","introduced":"080c4324fa5e81ff3780206a138223abfb57a68e","fixed":"95e4e1c1cf614d125f159db9726b7abb32e18385","status":"affected"},{"type":"git","introduced":"080c4324fa5e81ff3780206a138223abfb57a68e","fixed":"0b4cce68efb93e31a8e51795d696df6e379cb41c","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.8","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.8","status":"unaffected"},{"type":"semver","introduced":"6.12.25","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.14.4","lastAffected":"6.14.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.15","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.8","fixed":"6.12.25"},{"status":"affected","introduced":"6.13","fixed":"6.14.4"},{"status":"affected","version":"6.15"},{"status":"affected","version":"6.15"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/a068ea00009d373d825c528f9c168501519211b4","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/95e4e1c1cf614d125f159db9726b7abb32e18385","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0b4cce68efb93e31a8e51795d696df6e379cb41c","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-37975","url":"https://www.cve.org/CVERecord?id=CVE-2025-37975","licence":"CVE Terms of Use","modified":"2026-05-11T21:18:51.668Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-37975","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-37975","licence":"Public domain","modified":"2026-06-17T09:15:48.573Z"}],"updatedAt":"2026-11-25T22:58:58.316Z","epss":{"score":0.0019,"percentile":0.09107,"date":"2026-12-01T12:00:22.000Z"}}