CVE-2025-37975

Source
https://cve.org/CVERecord?id=CVE-2025-37975
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-37975.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-37975
Downstream
Published
2025-05-20T16:58:19.270Z
Modified
2026-03-09T23:50:51.842928Z
Summary
riscv: module: Fix out-of-bounds relocation access
Details

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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37975.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
080c4324fa5e81ff3780206a138223abfb57a68e
Fixed
a068ea00009d373d825c528f9c168501519211b4
Fixed
95e4e1c1cf614d125f159db9726b7abb32e18385
Fixed
0b4cce68efb93e31a8e51795d696df6e379cb41c

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-37975.json"