Bug 2367620 (CVE-2025-37975) - CVE-2025-37975 kernel: riscv: module: Fix out-of-bounds relocation access
Summary: CVE-2025-37975 kernel: riscv: module: Fix out-of-bounds relocation access
Keywords:
Status: NEW
Alias: CVE-2025-37975
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-05-20 18:02 UTC by OSIDB Bzimport
Modified: 2025-06-13 16:19 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-05-20 18:02:14 UTC
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.

Comment 1 Avinash Hanwate 2025-05-21 04:24:24 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025052038-CVE-2025-37975-b350@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.