CVE-2025-71109
published high CVSS 3.1 · 7.1MIPS: ftrace: Fix memory corruption when kernel is located beyond 32 bits
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxe424054000878d7eb11e44289242886d6e219d22 to < 3f7a003fe2646337fbc5dd41051ad6754ac34064 · e424054000878d7eb11e44289242886d6e219d22 to < 9cfda98cf02eacfa6b09076e98bd479fd73407c2 · e424054000878d7eb11e44289242886d6e219d22 to < e3e33ac2eb69d595079a1a1e444c2fb98efdd42d · e424054000878d7eb11e44289242886d6e219d22 to < 7f39b9d0e86ed6236b9a5fb67616ab1f76c4f150 · e424054000878d7eb11e44289242886d6e219d22 to < 36dac9a3dda1f2bae343191bc16b910c603cac25 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux2.6.35 (affected) · 0 to < 2.6.35 (unaffected · semver) · 6.1.191 through 6.1.* (unaffected · semver) · 6.6.160 through 6.6.* (unaffected · semver) · 6.12.64 through 6.12.* (unaffected · semver) · 6.18.3 through 6.18.* (unaffected · semver) · 6.19 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Debian | trixie | linux | Advisory build | 6.12.69-1 | DSA-6126-1 |
| Ubuntu | jammy | linux-aws-6.8 | Advisory build | 6.8.0-1052.55~22.04.1 | USN-8179-1 |
| Ubuntu | jammy | linux-aws-6.8-cloud-tools-6.8.0-1052 | Advisory build | 6.8.0-1052.55~22.04.1 | USN-8179-1 |
| Ubuntu | jammy | linux-aws-6.8-headers-6.8.0-1052 | Advisory build | 6.8.0-1052.55~22.04.1 | USN-8179-1 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | jammy | linux-aws-6.8-tools-6.8.0-1052 | Advisory build | 6.8.0-1052.55~22.04.1 | USN-8179-1 |
| Ubuntu | jammy | linux-azure-6.8 | Advisory build | 6.8.0-1059.65~22.04.1 | USN-8440-1 |
| Ubuntu | jammy | linux-azure-6.8-cloud-tools-6.8.0-1059 | Advisory build | 6.8.0-1059.65~22.04.1 | USN-8440-1 |
| Ubuntu | jammy | linux-azure-6.8-headers-6.8.0-1059 | Advisory build | 6.8.0-1059.65~22.04.1 | USN-8440-1 |
| Ubuntu | jammy | linux-azure-6.8-tools-6.8.0-1059 | Advisory build | 6.8.0-1059.65~22.04.1 | USN-8440-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1049-oracle | Advisory build | 6.8.0-1049.50~22.04.1 | USN-8203-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1049-oracle-64k | Advisory build | 6.8.0-1049.50~22.04.1 | USN-8203-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1051-ibm | Advisory build | 6.8.0-1051.51~22.04.1 | USN-8179-3 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1051-nvidia | Advisory build | 6.8.0-1051.54~22.04.1 | USN-8185-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1051-nvidia-64k | Advisory build | 6.8.0-1051.54~22.04.1 | USN-8185-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1052-aws | Advisory build | 6.8.0-1052.55~22.04.1 | USN-8179-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1052-aws-64k | Advisory build | 6.8.0-1052.55~22.04.1 | USN-8179-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1054-gcp | Advisory build | 6.8.0-1054.57~22.04.1 | USN-8179-4 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1054-gcp-64k | Advisory build | 6.8.0-1054.57~22.04.1 | USN-8179-4 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1059-azure | Advisory build | 6.8.0-1059.65~22.04.1 | USN-8440-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-110-generic | Advisory build | 6.8.0-110.110~22.04.1 | USN-8179-3 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-110-generic-64k | Advisory build | 6.8.0-110.110~22.04.1 | USN-8179-3 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-110-lowlatency | Advisory build | 6.8.0-110.110.1~22.04.1 | USN-8179-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-110-lowlatency-64k | Advisory build | 6.8.0-110.110.1~22.04.1 | USN-8179-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.1-1047-realtime | Advisory build | 6.8.1-1047.48~22.04.1 | USN-8184-1 |
| Ubuntu | jammy | linux-cloud-tools-6.8.0-1052-aws | Advisory build | 6.8.0-1052.55~22.04.1 | USN-8179-1 |
| Ubuntu | jammy | linux-cloud-tools-6.8.0-1052-aws-64k | Advisory build | 6.8.0-1052.55~22.04.1 | USN-8179-1 |
| Ubuntu | jammy | linux-cloud-tools-6.8.0-1059-azure | Advisory build | 6.8.0-1059.65~22.04.1 | USN-8440-1 |
| Ubuntu | jammy | linux-cloud-tools-6.8.0-110-generic | Advisory build | 6.8.0-110.110~22.04.1 | USN-8179-3 |
| Ubuntu | jammy | linux-cloud-tools-6.8.0-110-lowlatency | Advisory build | 6.8.0-110.110.1~22.04.1 | USN-8179-1 |
| Ubuntu | jammy | linux-cloud-tools-6.8.1-1047-realtime | Advisory build | 6.8.1-1047.48~22.04.1 | USN-8184-1 |
| Ubuntu | jammy | linux-gcp-6.8 | Advisory build | 6.8.0-1054.57~22.04.1 | USN-8179-4 |
| Ubuntu | jammy | linux-gcp-6.8-headers-6.8.0-1054 | Advisory build | 6.8.0-1054.57~22.04.1 | USN-8179-4 |
| Ubuntu | jammy | linux-gcp-6.8-tools-6.8.0-1054 | Advisory build | 6.8.0-1054.57~22.04.1 | USN-8179-4 |
| Ubuntu | jammy | linux-headers-6.8.0-1049-oracle | Advisory build | 6.8.0-1049.50~22.04.1 | USN-8203-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1049-oracle-64k | Advisory build | 6.8.0-1049.50~22.04.1 | USN-8203-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1051-ibm | Advisory build | 6.8.0-1051.51~22.04.1 | USN-8179-3 |
| Ubuntu | jammy | linux-headers-6.8.0-1051-nvidia | Advisory build | 6.8.0-1051.54~22.04.1 | USN-8185-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1051-nvidia-64k | Advisory build | 6.8.0-1051.54~22.04.1 | USN-8185-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1052-aws | Advisory build | 6.8.0-1052.55~22.04.1 | USN-8179-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1052-aws-64k | Advisory build | 6.8.0-1052.55~22.04.1 | USN-8179-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1054-gcp | Advisory build | 6.8.0-1054.57~22.04.1 | USN-8179-4 |
| Ubuntu | jammy | linux-headers-6.8.0-1054-gcp-64k | Advisory build | 6.8.0-1054.57~22.04.1 | USN-8179-4 |
| Ubuntu | jammy | linux-headers-6.8.0-1059-azure | Advisory build | 6.8.0-1059.65~22.04.1 | USN-8440-1 |
| Ubuntu | jammy | linux-headers-6.8.0-110-generic | Advisory build | 6.8.0-110.110~22.04.1 | USN-8179-3 |
| Ubuntu | jammy | linux-headers-6.8.0-110-generic-64k | Advisory build | 6.8.0-110.110~22.04.1 | USN-8179-3 |
| Ubuntu | jammy | linux-headers-6.8.0-110-lowlatency | Advisory build | 6.8.0-110.110.1~22.04.1 | USN-8179-1 |
| Ubuntu | jammy | linux-headers-6.8.0-110-lowlatency-64k | Advisory build | 6.8.0-110.110.1~22.04.1 | USN-8179-1 |
| Ubuntu | jammy | linux-headers-6.8.1-1047-realtime | Advisory build | 6.8.1-1047.48~22.04.1 | USN-8184-1 |
| Ubuntu | jammy | linux-hwe-6.8 | Advisory build | 6.8.0-110.110~22.04.1 | USN-8179-3 |
| Ubuntu | jammy | linux-hwe-6.8-cloud-tools-6.8.0-110 | Advisory build | 6.8.0-110.110~22.04.1 | USN-8179-3 |
| Ubuntu | jammy | linux-hwe-6.8-headers-6.8.0-110 | Advisory build | 6.8.0-110.110~22.04.1 | USN-8179-3 |
| Ubuntu | jammy | linux-hwe-6.8-tools-6.8.0-110 | Advisory build | 6.8.0-110.110~22.04.1 | USN-8179-3 |
| Ubuntu | jammy | linux-ibm-6.8 | Advisory build | 6.8.0-1051.51~22.04.1 | USN-8179-3 |
| Ubuntu | jammy | linux-ibm-6.8-headers-6.8.0-1051 | Advisory build | 6.8.0-1051.51~22.04.1 | USN-8179-3 |
| Ubuntu | jammy | linux-ibm-6.8-tools-6.8.0-1051 | Advisory build | 6.8.0-1051.51~22.04.1 | USN-8179-3 |
| Ubuntu | jammy | linux-image-6.8.0-110-generic | Advisory build | 6.8.0-110.110~22.04.1 | USN-8179-3 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1049-oracle | Advisory build | 6.8.0-1049.50~22.04.1 | USN-8203-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1049-oracle-64k | Advisory build | 6.8.0-1049.50~22.04.1 | USN-8203-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1051-ibm | Advisory build | 6.8.0-1051.51~22.04.1 | USN-8179-3 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1051-nvidia | Advisory build | 6.8.0-1051.54~22.04.1 | USN-8185-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1051-nvidia-64k | Advisory build | 6.8.0-1051.54~22.04.1 | USN-8185-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1052-aws | Advisory build | 6.8.0-1052.55~22.04.1 | USN-8179-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1052-aws-64k | Advisory build | 6.8.0-1052.55~22.04.1 | USN-8179-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1054-gcp | Advisory build | 6.8.0-1054.57~22.04.1 | USN-8179-4 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1054-gcp-64k | Advisory build | 6.8.0-1054.57~22.04.1 | USN-8179-4 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1059-azure | Advisory build | 6.8.0-1059.65~22.04.1 | USN-8440-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-110-generic | Advisory build | 6.8.0-110.110~22.04.1 | USN-8179-3 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-110-generic-64k | Advisory build | 6.8.0-110.110~22.04.1 | USN-8179-3 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-110-lowlatency | Advisory build | 6.8.0-110.110.1~22.04.1 | USN-8179-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-110-lowlatency-64k | Advisory build | 6.8.0-110.110.1~22.04.1 | USN-8179-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.1-1047-realtime | Advisory build | 6.8.1-1047.48~22.04.1 | USN-8184-1 |
| Ubuntu | jammy | linux-lowlatency-hwe-6.8 | Advisory build | 6.8.0-110.110.1~22.04.1 | USN-8179-1 |
| Ubuntu | jammy | linux-lowlatency-hwe-6.8-cloud-tools-6.8.0-110 | Advisory build | 6.8.0-110.110.1~22.04.1 | USN-8179-1 |
| Ubuntu | jammy | linux-lowlatency-hwe-6.8-headers-6.8.0-110 | Advisory build | 6.8.0-110.110.1~22.04.1 | USN-8179-1 |
| Ubuntu | jammy | linux-lowlatency-hwe-6.8-lib-rust-6.8.0-110-lowlatency | Advisory build | 6.8.0-110.110.1~22.04.1 | USN-8179-1 |
| Ubuntu | jammy | linux-lowlatency-hwe-6.8-tools-6.8.0-110 | Advisory build | 6.8.0-110.110.1~22.04.1 | USN-8179-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1049-oracle | Advisory build | 6.8.0-1049.50~22.04.1 | USN-8203-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1049-oracle-64k | Advisory build | 6.8.0-1049.50~22.04.1 | USN-8203-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1051-ibm | Advisory build | 6.8.0-1051.51~22.04.1 | USN-8179-3 |
| Ubuntu | jammy | linux-modules-6.8.0-1051-nvidia | Advisory build | 6.8.0-1051.54~22.04.1 | USN-8185-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1051-nvidia-64k | Advisory build | 6.8.0-1051.54~22.04.1 | USN-8185-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1052-aws | Advisory build | 6.8.0-1052.55~22.04.1 | USN-8179-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1052-aws-64k | Advisory build | 6.8.0-1052.55~22.04.1 | USN-8179-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1054-gcp | Advisory build | 6.8.0-1054.57~22.04.1 | USN-8179-4 |
| Ubuntu | jammy | linux-modules-6.8.0-1054-gcp-64k | Advisory build | 6.8.0-1054.57~22.04.1 | USN-8179-4 |
| Ubuntu | jammy | linux-modules-6.8.0-1059-azure | Advisory build | 6.8.0-1059.65~22.04.1 | USN-8440-1 |
| Ubuntu | jammy | linux-modules-6.8.0-110-generic | Advisory build | 6.8.0-110.110~22.04.1 | USN-8179-3 |
| Ubuntu | jammy | linux-modules-6.8.0-110-generic-64k | Advisory build | 6.8.0-110.110~22.04.1 | USN-8179-3 |
| Ubuntu | jammy | linux-modules-6.8.0-110-lowlatency | Advisory build | 6.8.0-110.110.1~22.04.1 | USN-8179-1 |
| Ubuntu | jammy | linux-modules-6.8.0-110-lowlatency-64k | Advisory build | 6.8.0-110.110.1~22.04.1 | USN-8179-1 |
| Ubuntu | jammy | linux-modules-6.8.1-1047-realtime | Advisory build | 6.8.1-1047.48~22.04.1 | USN-8184-1 |
| Ubuntu | jammy | linux-modules-extra-6.8.0-1049-oracle | Advisory build | 6.8.0-1049.50~22.04.1 | USN-8203-1 |
| Ubuntu | jammy | linux-modules-extra-6.8.0-1049-oracle-64k | Advisory build | 6.8.0-1049.50~22.04.1 | USN-8203-1 |
| Ubuntu | jammy | linux-modules-extra-6.8.0-1051-ibm | Advisory build | 6.8.0-1051.51~22.04.1 | USN-8179-3 |
| Ubuntu | jammy | linux-modules-extra-6.8.0-1051-nvidia | Advisory build | 6.8.0-1051.54~22.04.1 | USN-8185-1 |
| Ubuntu | jammy | linux-modules-extra-6.8.0-1052-aws | Advisory build | 6.8.0-1052.55~22.04.1 | USN-8179-1 |
| Ubuntu | jammy | linux-modules-extra-6.8.0-1052-aws-64k | Advisory build | 6.8.0-1052.55~22.04.1 | USN-8179-1 |
| Ubuntu | jammy | linux-modules-extra-6.8.0-1054-gcp | Advisory build | 6.8.0-1054.57~22.04.1 | USN-8179-4 |
| Ubuntu | jammy | linux-modules-extra-6.8.0-1054-gcp-64k | Advisory build | 6.8.0-1054.57~22.04.1 | USN-8179-4 |
| Ubuntu | jammy | linux-modules-extra-6.8.0-1059-azure | Advisory build | 6.8.0-1059.65~22.04.1 | USN-8440-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: MIPS: ftrace: Fix memory corruption when kernel is located beyond 32 bits Since commit e424054000878 ("MIPS: Tracing: Reduce the overhead of dynamic Function Tracer"), the macro UASM_i_LA_mostly has been used, and this macro can generate more than 2 instructions. At the same time, the code in ftrace assumes that no more than 2 instructions can be generated, which is why it stores them in an int[2] array. However, as previously noted, the macro UASM_i_LA_mostly (and now UASM_i_LA) causes a buffer overflow when _mcount is beyond 32 bits. This leads to corruption of the variables located in the __read_mostly section. This corruption was observed because the variable __cpu_primary_thread_mask was corrupted, causing a hang very early during boot. This fix prevents the corruption by avoiding the generation of instructions if they could exceed 2 instructions in length. Fortunately, insn_la_mcount is only used if the instrumented code is located outside the kernel code section, so dynamic ftrace can still be used, albeit in a more limited scope. This is still preferable to corrupting memory and/or crashing the kernel.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.1 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
- Scenarios
- en: AV:L - The overflow occurs only during local MIPS kernel boot-time ftrace initialization; no network, radio, or device-input handler reaches it. AC:L - On an affected build with dynamic ftrace and _mcount beyond 32-bit compatibility space, the overflow occurs deterministically during every boot without a race or heap grooming. PR:L - No ftrace or tracefs permission check gates the vulnerable boot path, which executes before userspace; conservatively, ordinary local access is sufficient rather than requiring real root. UI:N - The vulnerable instruction generation happens automatically during normal kernel boot without requiring a victim to enable tracing, mount tracefs, or open a file. S:U - The corruption affects the same kernel security authority and does not cross a VM, IOMMU, or sandbox boundary. C:N - The bounded overwrite emits deterministic MIPS instruction words and provides no identified memory-read primitive or path for returning corrupted memory to an attacker. I:H - Up to several instructions are written beyond the two-word array into adjacent kernel globals, constituting an out-of-bounds kernel write capable of corrupting security-critical state. A:H - Corruption of __cpu_primary_thread_mask was observed to hang the kernel very early during boot, preventing affected servers, embedded controllers, or automotive systems from becoming operational.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | e424054000878d7eb11e44289242886d6e219d22 to < 3f7a003fe2646337fbc5dd41051ad6754ac34064 (affected · git)e424054000878d7eb11e44289242886d6e219d22 to < 9cfda98cf02eacfa6b09076e98bd479fd73407c2 (affected · git)e424054000878d7eb11e44289242886d6e219d22 to < e3e33ac2eb69d595079a1a1e444c2fb98efdd42d (affected · git)e424054000878d7eb11e44289242886d6e219d22 to < 7f39b9d0e86ed6236b9a5fb67616ab1f76c4f150 (affected · git)e424054000878d7eb11e44289242886d6e219d22 to < 36dac9a3dda1f2bae343191bc16b910c603cac25 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 2.6.35 (affected)0 to < 2.6.35 (unaffected · semver)6.1.191 through 6.1.* (unaffected · semver)6.6.160 through 6.6.* (unaffected · semver)6.12.64 through 6.12.* (unaffected · semver)6.18.3 through 6.18.* (unaffected · semver)6.19 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
5- https://git.kernel.org/stable/c/36dac9a3dda1f2bae343191bc16b910c603cac25
- https://git.kernel.org/stable/c/3f7a003fe2646337fbc5dd41051ad6754ac34064
- https://git.kernel.org/stable/c/7f39b9d0e86ed6236b9a5fb67616ab1f76c4f150
- https://git.kernel.org/stable/c/9cfda98cf02eacfa6b09076e98bd479fd73407c2
- https://git.kernel.org/stable/c/e3e33ac2eb69d595079a1a1e444c2fb98efdd42d
Provider assertions
1Linux · cna
MIPS: ftrace: Fix memory corruption when kernel is located beyond 32 bits
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 8f8aff367bcca8086c67cf0c069c09b49ad659fcc50b6d1f7c32776b0d680ce4
- Ingested
- 30 Oct 2026, 12:31:36 UTC
- Source record
- Official CVE record