CVE-2025-37846

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

State
Published
Severity
Not scored
Published
May 9, 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:

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 2de451a329cf662beeba71f63c7f83ee24ca6642 to before eec737e17e5567e08148550a7f1d94d495b9fb17Affected
  • 2de451a329cf662beeba71f63c7f83ee24ca6642 to before 43267d934eacff6c70e15545d804ebbcab8a0bf5Affected
  • 2de451a329cf662beeba71f63c7f83ee24ca6642 to before 5f6022a74147675124b781fdc056b291850e7786Affected
  • 2de451a329cf662beeba71f63c7f83ee24ca6642 to before a13bfa4fe0d6949cea14718df2d1fe84c38cd113Affected
LinuxLinux
  • 6.7Affected
  • before 6.7Not affected
  • 6.12.24 through 6.12.*Not affected
  • 6.13.12 through 6.13.*Not affected
  • 6.14.3 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.