CVE-2025-37975

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

State
Published
Severity
Not scored
Published
May 20, 2025
Updated
May 11, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

Description

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 080c4324fa5e81ff3780206a138223abfb57a68e to before a068ea00009d373d825c528f9c168501519211b4Affected
  • 080c4324fa5e81ff3780206a138223abfb57a68e to before 95e4e1c1cf614d125f159db9726b7abb32e18385Affected
  • 080c4324fa5e81ff3780206a138223abfb57a68e to before 0b4cce68efb93e31a8e51795d696df6e379cb41cAffected
LinuxLinux
  • 6.8Affected
  • before 6.8Not affected
  • 6.12.25 through 6.12.*Not affected
  • 6.14.4 through 6.14.*Not affected
  • 6.15 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.