CVE-2024-50275
published high CVSS 3.1 · 7.3arm64/sve: Discard stale CPU state when handling SVE traps
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxcccb78ce89c45a4414db712be4986edfb92434bd to < 51d3d80a6dc314982a9a0aeb0961085922a1aa15 · cccb78ce89c45a4414db712be4986edfb92434bd to < de529504b3274d57caf8f66800b714b0d3ee235a · cccb78ce89c45a4414db712be4986edfb92434bd to < 51d11ea0250d6ee461987403bbfd4b2abb5613a7 · cccb78ce89c45a4414db712be4986edfb92434bd to < fa9ce027b3ce37a2bb173bf2553b5caa438fd8c9 · cccb78ce89c45a4414db712be4986edfb92434bd to < 751ecf6afd6568adc98f2a6052315552c0483d18 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.13 (affected) · 0 to < 5.13 (unaffected · semver) · 5.15.174 through 5.15.* (unaffected · semver) · 6.1.120 through 6.1.* (unaffected · semver) · 6.6.61 through 6.6.* (unaffected · semver) · 6.11.8 through 6.11.* (unaffected · semver) · 6.12 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 | AL2 | Release evaluationALAS2KERNEL-5.15-2025-061 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-809 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | bpftool | Advisory build | 4.18.0-553.37.1.el8_10 | ALSA-2025:1068 |
| Debian | bullseye | linux-6.1 | Advisory build | 6.1.128-1~deb11u1 | DLA-4076-1 |
| Oracle Linux | 8 | bpftoolaarch64 | Advisory build | 0:4.18.0-553.37.1.el8_10 | ELSA-2025-1068 |
Show 97 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 8 | kernel | Advisory build | 4.18.0-553.37.1.el8_10 | ALSA-2025:1068 |
| AlmaLinux | 8 | kernel-abi-stablelists | Advisory build | 4.18.0-553.37.1.el8_10 | ALSA-2025:1068 |
| AlmaLinux | 8 | kernel-core | Advisory build | 4.18.0-553.37.1.el8_10 | ALSA-2025:1068 |
| AlmaLinux | 8 | kernel-cross-headers | Advisory build | 4.18.0-553.37.1.el8_10 | ALSA-2025:1068 |
| AlmaLinux | 8 | kernel-debug | Advisory build | 4.18.0-553.37.1.el8_10 | ALSA-2025:1068 |
| AlmaLinux | 8 | kernel-debug-core | Advisory build | 4.18.0-553.37.1.el8_10 | ALSA-2025:1068 |
| AlmaLinux | 8 | kernel-debug-devel | Advisory build | 4.18.0-553.37.1.el8_10 | ALSA-2025:1068 |
| AlmaLinux | 8 | kernel-debug-modules | Advisory build | 4.18.0-553.37.1.el8_10 | ALSA-2025:1068 |
| AlmaLinux | 8 | kernel-debug-modules-extra | Advisory build | 4.18.0-553.37.1.el8_10 | ALSA-2025:1068 |
| AlmaLinux | 8 | kernel-devel | Advisory build | 4.18.0-553.37.1.el8_10 | ALSA-2025:1068 |
| AlmaLinux | 8 | kernel-doc | Advisory build | 4.18.0-553.37.1.el8_10 | ALSA-2025:1068 |
| AlmaLinux | 8 | kernel-headers | Advisory build | 4.18.0-553.37.1.el8_10 | ALSA-2025:1068 |
| AlmaLinux | 8 | kernel-modules | Advisory build | 4.18.0-553.37.1.el8_10 | ALSA-2025:1068 |
| AlmaLinux | 8 | kernel-modules-extra | Advisory build | 4.18.0-553.37.1.el8_10 | ALSA-2025:1068 |
| AlmaLinux | 8 | kernel-rt | Advisory build | 4.18.0-553.37.1.rt7.378.el8_10 | ALSA-2025:1067 |
| AlmaLinux | 8 | kernel-rt-core | Advisory build | 4.18.0-553.37.1.rt7.378.el8_10 | ALSA-2025:1067 |
| AlmaLinux | 8 | kernel-rt-debug | Advisory build | 4.18.0-553.37.1.rt7.378.el8_10 | ALSA-2025:1067 |
| AlmaLinux | 8 | kernel-rt-debug-core | Advisory build | 4.18.0-553.37.1.rt7.378.el8_10 | ALSA-2025:1067 |
| AlmaLinux | 8 | kernel-rt-debug-devel | Advisory build | 4.18.0-553.37.1.rt7.378.el8_10 | ALSA-2025:1067 |
| AlmaLinux | 8 | kernel-rt-debug-modules | Advisory build | 4.18.0-553.37.1.rt7.378.el8_10 | ALSA-2025:1067 |
| AlmaLinux | 8 | kernel-rt-debug-modules-extra | Advisory build | 4.18.0-553.37.1.rt7.378.el8_10 | ALSA-2025:1067 |
| AlmaLinux | 8 | kernel-rt-devel | Advisory build | 4.18.0-553.37.1.rt7.378.el8_10 | ALSA-2025:1067 |
| AlmaLinux | 8 | kernel-rt-modules | Advisory build | 4.18.0-553.37.1.rt7.378.el8_10 | ALSA-2025:1067 |
| AlmaLinux | 8 | kernel-rt-modules-extra | Advisory build | 4.18.0-553.37.1.rt7.378.el8_10 | ALSA-2025:1067 |
| AlmaLinux | 8 | kernel-tools | Advisory build | 4.18.0-553.37.1.el8_10 | ALSA-2025:1068 |
| AlmaLinux | 8 | kernel-tools-libs | Advisory build | 4.18.0-553.37.1.el8_10 | ALSA-2025:1068 |
| AlmaLinux | 8 | kernel-tools-libs-devel | Advisory build | 4.18.0-553.37.1.el8_10 | ALSA-2025:1068 |
| AlmaLinux | 8 | kernel-zfcpdump | Advisory build | 4.18.0-553.37.1.el8_10 | ALSA-2025:1068 |
| AlmaLinux | 8 | kernel-zfcpdump-core | Advisory build | 4.18.0-553.37.1.el8_10 | ALSA-2025:1068 |
| AlmaLinux | 8 | kernel-zfcpdump-devel | Advisory build | 4.18.0-553.37.1.el8_10 | ALSA-2025:1068 |
| AlmaLinux | 8 | kernel-zfcpdump-modules | Advisory build | 4.18.0-553.37.1.el8_10 | ALSA-2025:1068 |
| AlmaLinux | 8 | kernel-zfcpdump-modules-extra | Advisory build | 4.18.0-553.37.1.el8_10 | ALSA-2025:1068 |
| AlmaLinux | 8 | perf | Advisory build | 4.18.0-553.37.1.el8_10 | ALSA-2025:1068 |
| AlmaLinux | 8 | python3-perf | Advisory build | 4.18.0-553.37.1.el8_10 | ALSA-2025:1068 |
| AlmaLinux | 9 | bpftool | Advisory build | 7.4.0-503.22.1.el9_5 | ALSA-2025:0578 |
| AlmaLinux | 9 | kernel | Advisory build | 5.14.0-503.22.1.el9_5 | ALSA-2025:0578 |
| AlmaLinux | 9 | kernel-64k | Advisory build | 5.14.0-503.22.1.el9_5 | ALSA-2025:0578 |
| AlmaLinux | 9 | kernel-64k-core | Advisory build | 5.14.0-503.22.1.el9_5 | ALSA-2025:0578 |
| AlmaLinux | 9 | kernel-64k-debug | Advisory build | 5.14.0-503.22.1.el9_5 | ALSA-2025:0578 |
| AlmaLinux | 9 | kernel-64k-debug-core | Advisory build | 5.14.0-503.22.1.el9_5 | ALSA-2025:0578 |
| AlmaLinux | 9 | kernel-64k-debug-devel | Advisory build | 5.14.0-503.22.1.el9_5 | ALSA-2025:0578 |
| AlmaLinux | 9 | kernel-64k-debug-devel-matched | Advisory build | 5.14.0-503.22.1.el9_5 | ALSA-2025:0578 |
| AlmaLinux | 9 | kernel-64k-debug-modules | Advisory build | 5.14.0-503.22.1.el9_5 | ALSA-2025:0578 |
| AlmaLinux | 9 | kernel-64k-debug-modules-core | Advisory build | 5.14.0-503.22.1.el9_5 | ALSA-2025:0578 |
| AlmaLinux | 9 | kernel-64k-debug-modules-extra | Advisory build | 5.14.0-503.22.1.el9_5 | ALSA-2025:0578 |
| AlmaLinux | 9 | kernel-64k-devel | Advisory build | 5.14.0-503.22.1.el9_5 | ALSA-2025:0578 |
| AlmaLinux | 9 | kernel-64k-devel-matched | Advisory build | 5.14.0-503.22.1.el9_5 | ALSA-2025:0578 |
| AlmaLinux | 9 | kernel-64k-modules | Advisory build | 5.14.0-503.22.1.el9_5 | ALSA-2025:0578 |
| AlmaLinux | 9 | kernel-64k-modules-core | Advisory build | 5.14.0-503.22.1.el9_5 | ALSA-2025:0578 |
| AlmaLinux | 9 | kernel-64k-modules-extra | Advisory build | 5.14.0-503.22.1.el9_5 | ALSA-2025:0578 |
| AlmaLinux | 9 | kernel-abi-stablelists | Advisory build | 5.14.0-503.22.1.el9_5 | ALSA-2025:0578 |
| AlmaLinux | 9 | kernel-core | Advisory build | 5.14.0-503.22.1.el9_5 | ALSA-2025:0578 |
| AlmaLinux | 9 | kernel-cross-headers | Advisory build | 5.14.0-503.22.1.el9_5 | ALSA-2025:0578 |
| AlmaLinux | 9 | kernel-debug | Advisory build | 5.14.0-503.22.1.el9_5 | ALSA-2025:0578 |
| AlmaLinux | 9 | kernel-debug-core | Advisory build | 5.14.0-503.22.1.el9_5 | ALSA-2025:0578 |
| AlmaLinux | 9 | kernel-debug-devel | Advisory build | 5.14.0-503.22.1.el9_5 | ALSA-2025:0578 |
| AlmaLinux | 9 | kernel-debug-devel-matched | Advisory build | 5.14.0-503.22.1.el9_5 | ALSA-2025:0578 |
| AlmaLinux | 9 | kernel-debug-modules | Advisory build | 5.14.0-503.22.1.el9_5 | ALSA-2025:0578 |
| AlmaLinux | 9 | kernel-debug-modules-core | Advisory build | 5.14.0-503.22.1.el9_5 | ALSA-2025:0578 |
| AlmaLinux | 9 | kernel-debug-modules-extra | Advisory build | 5.14.0-503.22.1.el9_5 | ALSA-2025:0578 |
| AlmaLinux | 9 | kernel-debug-uki-virt | Advisory build | 5.14.0-503.22.1.el9_5 | ALSA-2025:0578 |
| AlmaLinux | 9 | kernel-devel | Advisory build | 5.14.0-503.22.1.el9_5 | ALSA-2025:0578 |
| AlmaLinux | 9 | kernel-devel-matched | Advisory build | 5.14.0-503.22.1.el9_5 | ALSA-2025:0578 |
| AlmaLinux | 9 | kernel-doc | Advisory build | 5.14.0-503.22.1.el9_5 | ALSA-2025:0578 |
| AlmaLinux | 9 | kernel-headers | Advisory build | 5.14.0-503.22.1.el9_5 | ALSA-2025:0578 |
| AlmaLinux | 9 | kernel-modules | Advisory build | 5.14.0-503.22.1.el9_5 | ALSA-2025:0578 |
| AlmaLinux | 9 | kernel-modules-core | Advisory build | 5.14.0-503.22.1.el9_5 | ALSA-2025:0578 |
| AlmaLinux | 9 | kernel-modules-extra | Advisory build | 5.14.0-503.22.1.el9_5 | ALSA-2025:0578 |
| AlmaLinux | 9 | kernel-rt | Advisory build | 5.14.0-503.22.1.el9_5 | ALSA-2025:0578 |
| AlmaLinux | 9 | kernel-rt-core | Advisory build | 5.14.0-503.22.1.el9_5 | ALSA-2025:0578 |
| AlmaLinux | 9 | kernel-rt-debug | Advisory build | 5.14.0-503.22.1.el9_5 | ALSA-2025:0578 |
| AlmaLinux | 9 | kernel-rt-debug-core | Advisory build | 5.14.0-503.22.1.el9_5 | ALSA-2025:0578 |
| AlmaLinux | 9 | kernel-rt-debug-devel | Advisory build | 5.14.0-503.22.1.el9_5 | ALSA-2025:0578 |
| AlmaLinux | 9 | kernel-rt-debug-modules | Advisory build | 5.14.0-503.22.1.el9_5 | ALSA-2025:0578 |
| AlmaLinux | 9 | kernel-rt-debug-modules-core | Advisory build | 5.14.0-503.22.1.el9_5 | ALSA-2025:0578 |
| AlmaLinux | 9 | kernel-rt-debug-modules-extra | Advisory build | 5.14.0-503.22.1.el9_5 | ALSA-2025:0578 |
| AlmaLinux | 9 | kernel-rt-devel | Advisory build | 5.14.0-503.22.1.el9_5 | ALSA-2025:0578 |
| AlmaLinux | 9 | kernel-rt-modules | Advisory build | 5.14.0-503.22.1.el9_5 | ALSA-2025:0578 |
| AlmaLinux | 9 | kernel-rt-modules-core | Advisory build | 5.14.0-503.22.1.el9_5 | ALSA-2025:0578 |
| AlmaLinux | 9 | kernel-rt-modules-extra | Advisory build | 5.14.0-503.22.1.el9_5 | ALSA-2025:0578 |
| AlmaLinux | 9 | kernel-tools | Advisory build | 5.14.0-503.22.1.el9_5 | ALSA-2025:0578 |
| AlmaLinux | 9 | kernel-tools-libs | Advisory build | 5.14.0-503.22.1.el9_5 | ALSA-2025:0578 |
| AlmaLinux | 9 | kernel-tools-libs-devel | Advisory build | 5.14.0-503.22.1.el9_5 | ALSA-2025:0578 |
| AlmaLinux | 9 | kernel-uki-virt | Advisory build | 5.14.0-503.22.1.el9_5 | ALSA-2025:0578 |
| AlmaLinux | 9 | kernel-uki-virt-addons | Advisory build | 5.14.0-503.22.1.el9_5 | ALSA-2025:0578 |
| AlmaLinux | 9 | kernel-zfcpdump | Advisory build | 5.14.0-503.22.1.el9_5 | ALSA-2025:0578 |
| AlmaLinux | 9 | kernel-zfcpdump-core | Advisory build | 5.14.0-503.22.1.el9_5 | ALSA-2025:0578 |
| AlmaLinux | 9 | kernel-zfcpdump-devel | Advisory build | 5.14.0-503.22.1.el9_5 | ALSA-2025:0578 |
| AlmaLinux | 9 | kernel-zfcpdump-devel-matched | Advisory build | 5.14.0-503.22.1.el9_5 | ALSA-2025:0578 |
| AlmaLinux | 9 | kernel-zfcpdump-modules | Advisory build | 5.14.0-503.22.1.el9_5 | ALSA-2025:0578 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-core | Advisory build | 5.14.0-503.22.1.el9_5 | ALSA-2025:0578 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-extra | Advisory build | 5.14.0-503.22.1.el9_5 | ALSA-2025:0578 |
| AlmaLinux | 9 | libperf | Advisory build | 5.14.0-503.22.1.el9_5 | ALSA-2025:0578 |
| AlmaLinux | 9 | perf | Advisory build | 5.14.0-503.22.1.el9_5 | ALSA-2025:0578 |
| AlmaLinux | 9 | python3-perf | Advisory build | 5.14.0-503.22.1.el9_5 | ALSA-2025:0578 |
| AlmaLinux | 9 | rtla | Advisory build | 5.14.0-503.22.1.el9_5 | ALSA-2025:0578 |
| AlmaLinux | 9 | rv | Advisory build | 5.14.0-503.22.1.el9_5 | ALSA-2025:0578 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: arm64/sve: Discard stale CPU state when handling SVE traps The logic for handling SVE traps manipulates saved FPSIMD/SVE state incorrectly, and a race with preemption can result in a task having TIF_SVE set and TIF_FOREIGN_FPSTATE clear even though the live CPU state is stale (e.g. with SVE traps enabled). This has been observed to result in warnings from do_sve_acc() where SVE traps are not expected while TIF_SVE is set: | if (test_and_set_thread_flag(TIF_SVE)) | WARN_ON(1); /* SVE access shouldn't have trapped */ Warnings of this form have been reported intermittently, e.g. https://lore.kernel.org/linux-arm-kernel/CA+G9fYtEGe_DhY2Ms7+L7NKsLYUomGsgqpdBj+QwDLeSg=JhGg@mail.gmail.com/ https://lore.kernel.org/linux-arm-kernel/[email protected]/ The race can occur when the SVE trap handler is preempted before and after manipulating the saved FPSIMD/SVE state, starting and ending on the same CPU, e.g. | void do_sve_acc(unsigned long esr, struct pt_regs *regs) | { | // Trap on CPU 0 with TIF_SVE clear, SVE traps enabled | // task->fpsimd_cpu is 0. | // per_cpu_ptr(&fpsimd_last_state, 0) is task. | | ... | | // Preempted; migrated from CPU 0 to CPU 1. | // TIF_FOREIGN_FPSTATE is set. | | get_cpu_fpsimd_context(); | | if (test_and_set_thread_flag(TIF_SVE)) | WARN_ON(1); /* SVE access shouldn't have trapped */ | | sve_init_regs() { | if (!test_thread_flag(TIF_FOREIGN_FPSTATE)) { | ... | } else { | fpsimd_to_sve(current); | current->thread.fp_type = FP_STATE_SVE; | } | } | | put_cpu_fpsimd_context(); | | // Preempted; migrated from CPU 1 to CPU 0. | // task->fpsimd_cpu is still 0 | // If per_cpu_ptr(&fpsimd_last_state, 0) is still task then: | // - Stale HW state is reused (with SVE traps enabled) | // - TIF_FOREIGN_FPSTATE is cleared | // - A return to userspace skips HW state restore | } Fix the case where the state is not live and TIF_FOREIGN_FPSTATE is set by calling fpsimd_flush_task_state() to detach from the saved CPU state. This ensures that a subsequent context switch will not reuse the stale CPU state, and will instead set TIF_FOREIGN_FPSTATE, forcing the new state to be reloaded from memory prior to a return to userspace.
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.3 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H
- Scenarios
- en: AV:L - The vulnerable code is the EL0 SVE access trap handler, reached only by a local process on the machine executing an SVE instruction. No network or remote input is involved. AC:L - The attacker controls both halves of the race — both windows around get/put_cpu_fpsimd_context() are fully preemptible, and the attacker can force preemption and CPU0→CPU1→CPU0 migration by oversubscribing a restricted affinity mask, while re-arming the SVE trap indefinitely (any syscall saves state as FPSIMD, clearing TIF_SVE and re-enabling the trap). PR:L - Only the ability to run unprivileged code is needed; el0_sve_acc()/do_sve_acc() perform no capability, namespace, or credential check of any kind. UI:N - The attacking process triggers the trap and the race entirely on its own; no action by any other user is required. S:U - The impact stays within the kernel/OS security authority — corrupted FP/SVE state tracking and kernel warnings on the same host, with no VM, IOMMU, or hypervisor boundary crossed. C:H - Skipping sve_flush_live() leaves SVE predicate registers P0-P15 and FFR from a previously running task's SVE context in the register file while the kernel treats them as the current task's live SVE state, so they are saved into thread.sve_state and copied to userspace by preserve_sve_context() (or read via ptrace NT_ARM_SVE) — a cross-process disclosure of up to 17 × VL/8 bytes, ~4 KB on max-VL hardware. I:L - Foreign SVE predicate/FFR contents are injected into the task's architectural state and the correctly converted in-memory state is silently discarded, but the WARN_ON(sve_get_vl() != vl) guard in fpsimd_save_user_state() blocks the mismatched-VL out-of-bounds save, so there is no arbitrary-write or control-flow primitive. A:H - The stale state reliably produces the WARN_ON(1) splat in do_sve_acc() — a kernel panic on the many panic_on_warn deployments (CI, hardened, cloud, Android) — and the VL-mismatch path additionally force-SIGKILLs the task; an unprivileged user can trigger this in a tight loop.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | cccb78ce89c45a4414db712be4986edfb92434bd to < 51d3d80a6dc314982a9a0aeb0961085922a1aa15 (affected · git)cccb78ce89c45a4414db712be4986edfb92434bd to < de529504b3274d57caf8f66800b714b0d3ee235a (affected · git)cccb78ce89c45a4414db712be4986edfb92434bd to < 51d11ea0250d6ee461987403bbfd4b2abb5613a7 (affected · git)cccb78ce89c45a4414db712be4986edfb92434bd to < fa9ce027b3ce37a2bb173bf2553b5caa438fd8c9 (affected · git)cccb78ce89c45a4414db712be4986edfb92434bd to < 751ecf6afd6568adc98f2a6052315552c0483d18 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.13 (affected)0 to < 5.13 (unaffected · semver)5.15.174 through 5.15.* (unaffected · semver)6.1.120 through 6.1.* (unaffected · semver)6.6.61 through 6.6.* (unaffected · semver)6.11.8 through 6.11.* (unaffected · semver)6.12 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
6- https://git.kernel.org/stable/c/51d11ea0250d6ee461987403bbfd4b2abb5613a7
- https://git.kernel.org/stable/c/51d3d80a6dc314982a9a0aeb0961085922a1aa15
- https://git.kernel.org/stable/c/751ecf6afd6568adc98f2a6052315552c0483d18
- https://git.kernel.org/stable/c/de529504b3274d57caf8f66800b714b0d3ee235a
- https://git.kernel.org/stable/c/fa9ce027b3ce37a2bb173bf2553b5caa438fd8c9
- https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html
Provider assertions
3Linux · cna
arm64/sve: Discard stale CPU state when handling SVE traps
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 71cf05979877c45f7e5f9d92786cf571fbd674c67ace7fe6ff7d32794a564e28
- Ingested
- 15 Oct 2026, 23:26:24 UTC
- Source record
- Official CVE record