7.1high
riscv: module: Fix out-of-bounds relocation access
- Severity
- 7.1high CVSS:3.1 by NVD
- Exploit likelihood
- 0.19% (higher than 9% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: riscv: module: Fix out-of-bounds relocation access The current code allows rel[j] to access one element past the end of the relocation section. Simplify to num_relocations which is equivalent to the existing size expression.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 080c4324fa5e81ff3780206a138223abfb57a68e before a068ea00009d373d825c528f9c168501519211b4, from 080c4324fa5e81ff3780206a138223abfb57a68e before 95e4e1c1cf614d125f159db9726b7abb32e18385, from 080c4324fa5e81ff3780206a138223abfb57a68e before 0b4cce68efb93e31a8e51795d696df6e379cb41c, 6.8 Not affected: before 6.8, from 6.12.25 up to 6.12.*, from 6.14.4 up to 6.14.*, from 6.15 up to * | CVE List |
| linux linux_kernel | from 6.8 before 6.12.25, from 6.13 before 6.14.4, 6.15 | NVD |
Classification
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: riscv: module: Fix out-of-bounds relocation access The current code allows rel[j] to access one element past the end of the relocation section. Simplify to num_relocations which is equivalent to the existing size expression.
NVD (es)
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.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-37975 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2025-37975 changed 2026-06-17 | Public domain |