riscv: module: Fix out-of-bounds relocation access (Linux Linux)

CVE-2025-37975
HIGH 7.1

At a glance

Source
NVD
EPSS
EPSS 0.19 % · percentile 9 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

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.

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 080c4324fa5e81ff3780206a138223abfb57a68e < a068ea00009d373d825c528f9c168501519211b4 ; affected 080c4324fa5e81ff3780206a138223abfb57a68e < 95e4e1c1cf614d125f159db9726b7abb32e18385 ; affected 080c4324fa5e81ff3780206a138223abfb57a68e < 0b4cce68efb93e31a8e51795d696df6e379cb41c
Linux · Linuxaffected 6.8 ; unaffected 0 < 6.8 ; unaffected 6.12.25 ≤ 6.12.* ; unaffected 6.14.4 ≤ 6.14.* ; unaffected 6.15 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD