CVE-2025-37846

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-37846
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-37846.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-37846
Downstream
Related
Published
2025-05-09T06:41:54.648Z
Modified
2025-11-28T02:34:51.872211Z
Summary
arm64: mops: Do not dereference src reg for a set operation
Details

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 doel0mops() was benign as the use of ptregsread_reg() prevented the out-of-bounds access.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37846.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
2de451a329cf662beeba71f63c7f83ee24ca6642
Fixed
eec737e17e5567e08148550a7f1d94d495b9fb17
Fixed
43267d934eacff6c70e15545d804ebbcab8a0bf5
Fixed
5f6022a74147675124b781fdc056b291850e7786
Fixed
a13bfa4fe0d6949cea14718df2d1fe84c38cd113

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.24
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.13.12
Type
ECOSYSTEM
Events
Introduced
6.14.0
Fixed
6.14.3