# CVE-2025-37846: arm64: mops: Do not dereference src reg for a set operation

- Severity: High 7.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 23% of CVEs (2026-12-01)
- Published: 2025-05-09T06:41:54.648Z
- Modified: 2026-11-05T21:17:55.553Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 2de451a329cf662beeba71f63c7f83ee24ca6642 before eec737e17e5567e08148550a7f1d94d495b9fb17; from 2de451a329cf662beeba71f63c7f83ee24ca6642 before 43267d934eacff6c70e15545d804ebbcab8a0bf5; from 2de451a329cf662beeba71f63c7f83ee24ca6642 before 5f6022a74147675124b781fdc056b291850e7786; from 2de451a329cf662beeba71f63c7f83ee24ca6642 before a13bfa4fe0d6949cea14718df2d1fe84c38cd113; 6.7 (not affected: before 6.7; from 6.12.24 up to 6.12.*; from 6.13.12 up to 6.13.*; from 6.14.3 up to 6.14.*; from 6.15 up to *)
- linux linux_kernel: from 6.7 before 6.12.24; from 6.13 before 6.13.12; from 6.14 before 6.14.3

## References

- <https://git.kernel.org/stable/c/eec737e17e5567e08148550a7f1d94d495b9fb17> (patch)
- <https://git.kernel.org/stable/c/43267d934eacff6c70e15545d804ebbcab8a0bf5> (patch)
- <https://git.kernel.org/stable/c/5f6022a74147675124b781fdc056b291850e7786> (patch)
- <https://git.kernel.org/stable/c/a13bfa4fe0d6949cea14718df2d1fe84c38cd113> (patch)

## Sources

- CVE List: [CVE-2025-37846](https://www.cve.org/CVERecord?id=CVE-2025-37846), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2025-37846](https://nvd.nist.gov/vuln/detail/CVE-2025-37846), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2025-37846 · Whole record: https://cve.day/CVE-2025-37846.json · Rebuilt by cve.day 2026-11-25T22:58:57.845Z
