What’s Vulnerable › Vulnerabilities
CVE-2025-37975: riscv: module: Fix out-of-bounds relocation access
- Severity: high (CVSS 7.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-05-20 · updated 2026-06-17
- Weakness: CWE-125
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 products
- Linux kernel: from 6.8 before 6.12.25; from 6.13 before 6.14.4; 6.15-rc1, 6.15-rc2 — fixed in 6.12.25, 6.14.4
How to fix
Upgrade to a fixed version: Linux kernel 6.12.25, 6.14.4. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/0b4cce68efb93e31a8e51795d696df6e379cb41c
- https://git.kernel.org/stable/c/95e4e1c1cf614d125f159db9726b7abb32e18385
- https://git.kernel.org/stable/c/a068ea00009d373d825c528f9c168501519211b4
Get alerted when CVE-2025-37975 or the next vulnerability affects your stack