CVE-2025-37846

arm64: mops: Do not dereference src reg for a set operation

HIGH
7.1
CVSS Score
Published: May 9, 2025 at 06:41 AM 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.3%

Description

In the Linux kernel, the following vulnerability has been resolved: arm64: mops: Do not dereference src reg for a set operation The source register is not used for SET* and reading it can result in a UBSAN out-of-bounds array access error, specifically when the MOPS exception is taken from a SET* sequence with XZR (reg 31) as the source. Architecturally this is the only case where a src/dst/size field in the ESR can be reported as 31. Prior to 2de451a329cf662b the code in do_el0_mops() was benign as the use of pt_regs_read_reg() prevented the out-of-bounds access.

Affected

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

6.13 ≤ v < 6.13.126.14 ≤ v < 6.14.36.7 ≤ v < 6.12.246.7 ≤ v < 6.13.126.7 ≤ v < 6.14.36.7 ≤ v < 6.152de451a329cf662beeba71f63c7f83ee24ca66426.7
Vendor states this is fixed in 43267d934eacff6c70e15545d804ebbcab8a0bf5 (fixed)
Vendor states this is fixed in 5f6022a74147675124b781fdc056b291850e7786 (fixed)
Vendor states this is fixed in a13bfa4fe0d6949cea14718df2d1fe84c38cd113 (fixed)
Vendor states this is fixed in eec737e17e5567e08148550a7f1d94d495b9fb17 (fixed)
Vendor states this is fixed in 6.12.24 (unaffected)
Vendor states this is fixed in 6.13.12 (unaffected)
Vendor states this is fixed in 6.14.3 (unaffected)
Vendor states this is fixed in 6.15 (unaffected)
Vendor states this is fixed in 6.7 (unaffected)

References (4)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/43267d934eacff6c70e15545d804ebbcab8a0bf5
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5f6022a74147675124b781fdc056b291850e7786
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a13bfa4fe0d6949cea14718df2d1fe84c38cd113
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/eec737e17e5567e08148550a7f1d94d495b9fb17

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