CVE-2025-37975

published 20 May 2025 · updated 11 May 2026

riscv: module: Fix out-of-bounds relocation access

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 0b4cce68efb93e31a8e51795d696df6e379cb41c, Kernel 95e4e1c1cf614d125f159db9726b7abb32e18385 and Kernel a068ea00009d373d825c528f9c168501519211b4.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.8, >=080c4324fa5e81ff3780206a138223abfb57a68e <0b4cce68efb93e31a8e51795d696df6e379cb41c, >=080c4324fa5e81ff3780206a138223abfb57a68e <95e4e1c1cf614d125f159db9726b7abb32e18385, >=080c4324fa5e81ff3780206a138223abfb57a68e <a068ea00009d373d825c528f9c168501519211b40b4cce68efb93e31a8e51795d696df6e379cb41c, 95e4e1c1cf614d125f159db9726b7abb32e18385, a068ea00009d373d825c528f9c168501519211b4

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-37975 severity on Zeptric[![CVE-2025-37975](https://zeptric.io/badge/cve/CVE-2025-37975.svg)](https://zeptric.io/cve/CVE-2025-37975)