CVE-2025-37846
arm64: mops: Do not dereference src reg for a set operation
Reported by linux · Published May 9, 2025
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| python3-perf6.12 | Amazon Linux | 6.12.25-32.101.amzn2023 |
| kernel-libbpf-static | Amazon Linux | 6.12.25-32.101.amzn2023 |
| kernel-headers | Amazon Linux | 6.12.25-32.101.amzn2023 |
| kernel-livepatch-6.12.25-32.101 | Amazon Linux | 1.0-0.amzn2023 |
| perf6.12 | Amazon Linux | 6.12.25-32.101.amzn2023 |
| kernel6.12 | Amazon Linux | 6.12.25-32.101.amzn2023 |
| kernel-modules-extra-common | Amazon Linux | 6.12.25-32.101.amzn2023 |
| kernel-libbpf-devel | Amazon Linux | 6.12.25-32.101.amzn2023 |
| bpftool | Amazon Linux | 6.12.25-32.101.amzn2023 |
| linux_kernel | linux | 6.14.3, 6.13.12, 6.12.24 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 2de451a329cf662beeba71f63c7f83ee24ca6642, 2de451a329cf662beeba71f63c7f83ee24ca6642, 2de451a329cf662beeba71f63c7f83ee24ca6642 |
| Linux | Linux | 6.7, 0, 6.12.24 |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2023 | kernel-libbpf-static | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | kernel-livepatch-6.12.25-32.101 | 0 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| amazon:2023 | bpftool | 0 |
| linux | linux_kernel | 6.7, 6.7, 6.7 |
| amazon:2023 | kernel-tools-devel | 0 |
| Linux | Linux | 6.15, 0, 6.12.24 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | kernel-libbpf | 0 |
| amazon:2023 | kernel-tools | 0 |
Timeline
- May 9, 2025 EPSS Score (30 in total, the first dated here)
- May 9, 2025 CVE Published
- Oct 24, 2025 PoC Published (3 in total, the first dated here)
- Mar 29, 2026 Distribution Patch (221 in total, the first dated here)
- Mar 29, 2026 Security Advisory (230 in total, the first dated here)
- Jun 9, 2026 Coalition ESS Score
- Jun 17, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-37846
vulnetix vdb fixes CVE-2025-37846
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-37846/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart