arm64: mops: Do not dereference src reg for a set operation
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.12.24, 6.13.12, 6.14.3
- CVEs
- CVE-2025-37846
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 6 Nov 2026, 01:49 UTC · Revision 1
Source evidence
arm64: mops: Do not dereference src reg for a set operation
core-osv · Original sourcePublished 9 May 2025, 06:41 UTC
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.
osv:CVE-2025-37846
Kernel
Fixed versions: 6.12.24, 6.13.12, 6.14.3
Complete source record
{
"id": "eb96016ebcb4ac1a2a273fdc881c0e0f7dbccb6ca93f6ef517b66eb9da0546eb",
"url": "https://osv.dev/vulnerability/CVE-2025-37846",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "arm64: mops: Do not dereference src reg for a set operation",
"summary": "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.",
"evidence": "osv:CVE-2025-37846",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.12.24",
"evidence": "/affected/1/ranges"
},
{
"value": "6.13.12",
"evidence": "/affected/1/ranges"
},
{
"value": "6.14.3",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2025-37846",
"aliases": [
"CVE-2025-37846"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "2de451a329cf662beeba71f63c7f83ee24ca6642"
},
{
"fixed": "eec737e17e5567e08148550a7f1d94d495b9fb17"
},
{
"fixed": "43267d934eacff6c70e15545d804ebbcab8a0bf5"
},
{
"fixed": "5f6022a74147675124b781fdc056b291850e7786"
},
{
"fixed": "a13bfa4fe0d6949cea14718df2d1fe84c38cd113"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-37846.json"
}
},
{
"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"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-37846.json"
}
}
],
"modified": "2026-10-28T02:30:45.955521872Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/43267d934eacff6c70e15545d804ebbcab8a0bf5",
"https://git.kernel.org/stable/c/5f6022a74147675124b781fdc056b291850e7786",
"https://git.kernel.org/stable/c/a13bfa4fe0d6949cea14718df2d1fe84c38cd113",
"https://git.kernel.org/stable/c/eec737e17e5567e08148550a7f1d94d495b9fb17",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37846.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-37846",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37846.json"
}
},
"related_cves": [
{
"value": "CVE-2025-37846",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 514005,
"published_at": "2025-05-09T06:41:54.648+00:00"
}