CVE-2025-37975Published May 20, 2025 · May 20Updated Oct 28
riscv: module: Fix out-of-bounds relocation access
Linux
High7.1Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.12.256.14.46.15In 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.
From the CVE record · Linux
The Linux kernel's RISC-V module relocation code can access one element past the end of a relocation section. The input does not specify how an attacker could trigger this or whether access, authentication, or user interaction is required.
Engineers running Linux kernels with RISC-V module support should check their versions; affected versions are not specified.