{"id":"CVE-2025-37975","summary":"riscv: module: Fix out-of-bounds relocation access","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nriscv: module: Fix out-of-bounds relocation access\n\nThe current code allows rel[j] to access one element past the end of the\nrelocation section. Simplify to num_relocations which is equivalent to\nthe existing size expression.","modified":"2026-03-20T12:42:35.774189Z","published":"2025-05-20T16:58:19.270Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37975.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0b4cce68efb93e31a8e51795d696df6e379cb41c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/95e4e1c1cf614d125f159db9726b7abb32e18385"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a068ea00009d373d825c528f9c168501519211b4"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37975.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-37975"},{"type":"PACKAGE","url":"https://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"}}],"schema_version":"1.7.5"}