VDB

CVE-2025-37846

CVE-2025-37846 PUBLISHED

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.

PackageEcosystemFixed in
python3-perf6.12Amazon Linux6.12.25-32.101.amzn2023
kernel-libbpf-staticAmazon Linux6.12.25-32.101.amzn2023
kernel-headersAmazon Linux6.12.25-32.101.amzn2023
kernel-livepatch-6.12.25-32.101Amazon Linux1.0-0.amzn2023
perf6.12Amazon Linux6.12.25-32.101.amzn2023
kernel6.12Amazon Linux6.12.25-32.101.amzn2023
kernel-modules-extra-commonAmazon Linux6.12.25-32.101.amzn2023
kernel-libbpf-develAmazon Linux6.12.25-32.101.amzn2023
bpftoolAmazon Linux6.12.25-32.101.amzn2023
linux_kernellinux6.14.3, 6.13.12, 6.12.24

Affected products

VendorProductVersions
LinuxLinux2de451a329cf662beeba71f63c7f83ee24ca6642, 2de451a329cf662beeba71f63c7f83ee24ca6642, 2de451a329cf662beeba71f63c7f83ee24ca6642
LinuxLinux6.7, 0, 6.12.24
amazon:2023python3-perf6.120
amazon:2023kernel-libbpf-static0
amazon:2023kernel-headers0
amazon:2023kernel-livepatch-6.12.25-32.1010
amazon:2023perf6.120
amazon:2023kernel6.120
amazon:2023kernel-modules-extra-common0
amazon:2023kernel-libbpf-devel0
amazon:2023bpftool0
linuxlinux_kernel6.7, 6.7, 6.7
amazon:2023kernel-tools-devel0
LinuxLinux6.15, 0, 6.12.24
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel-devel0
amazon:2023kernel-libbpf0
amazon:2023kernel-tools0

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

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›