CVE-2025-37975

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

HIGH
7.1
CVSS Score
Published: May 20, 2025 at 04:58 PM UTC
Updated: June 17, 2026 at 09:15 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.1
Exploit prediction
EPSS 0.2%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

6.13 ≤ v < 6.14.46.8 ≤ v < 6.12.256.8 ≤ v < 6.14.46.8 ≤ v < 6.156.15 rc16.15 rc26.880c4324fa5e81ff3780206a138223abfb57a68e
Vendor states this is fixed in 0b4cce68efb93e31a8e51795d696df6e379cb41c (fixed)
Vendor states this is fixed in 95e4e1c1cf614d125f159db9726b7abb32e18385 (fixed)
Vendor states this is fixed in a068ea00009d373d825c528f9c168501519211b4 (fixed)
Vendor states this is fixed in 6.12.25 (unaffected)
Vendor states this is fixed in 6.14.4 (unaffected)
Vendor states this is fixed in 6.15 (unaffected)
Vendor states this is fixed in 6.8 (unaffected)

References (3)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0b4cce68efb93e31a8e51795d696df6e379cb41c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/95e4e1c1cf614d125f159db9726b7abb32e18385
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a068ea00009d373d825c528f9c168501519211b4

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-125

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card