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

CVE-2025-37846
HIGH 7.1

At a glance

Source
NVD
EPSS
EPSS 0.29 % · percentile 21 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

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.

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 2de451a329cf662beeba71f63c7f83ee24ca6642 < eec737e17e5567e08148550a7f1d94d495b9fb17 ; affected 2de451a329cf662beeba71f63c7f83ee24ca6642 < 43267d934eacff6c70e15545d804ebbcab8a0bf5 ; affected 2de451a329cf662beeba71f63c7f83ee24ca6642 < 5f6022a74147675124b781fdc056b291850e7786 ; affected 2de451a329cf662beeba71f63c7f83ee24ca6642 < a13bfa4fe0d6949cea14718df2d1fe84c38cd113
Linux · Linuxaffected 6.7 ; unaffected 0 < 6.7 ; unaffected 6.12.24 ≤ 6.12.* ; unaffected 6.13.12 ≤ 6.13.* ; unaffected 6.14.3 ≤ 6.14.* ; unaffected 6.15 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD