CVE-2025-37975
Not scored
riscv: module: Fix out-of-bounds relocation access
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.
Exploit probability
0.2%
Published
May 20, 2025
Required by
Not available
Last source change
August 12, 2026
02 / AFFECTED SOFTWARE
Affected packages
04 / EVIDENCE
Source records
Open Source Vulnerabilities
CVE-2025-37975
View original source
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.
05 / REFERENCES
Further evidence
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
- https://git.kernel.org/stable/c/0b4cce68efb93e31a8e51795d696df6e379cb41c
- https://git.kernel.org/stable/c/95e4e1c1cf614d125f159db9726b7abb32e18385
- https://git.kernel.org/stable/c/a068ea00009d373d825c528f9c168501519211b4
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37975.json
- https://nvd.nist.gov/vuln/detail/CVE-2025-37975