CVE-2023-53713
arm64: sme: Use STR P to clear FFR context field in streaming SVE mode
Mitigation
- Upgrade Linux to 893b24181b4c4bf1fa2841b1ed192e5413a97cb1 or later.
Who should check
- Anyone running Linux >= 9f5848665788a0f07bc175cb2cdd06d367b7556e, < 97669214944e80d3756657c21c4f286f3da6a423; >= 9f5848665788a0f07bc175cb2cdd06d367b7556e, < 8769a62faacbbb6cac5e35d9047ce445183d4e9f; >= 9f5848665788a0f07bc175cb2cdd06d367b7556e, < 1403a899153a12d93fd510e463fd6d0eafba4336; >= 9f5848665788a0f07bc175cb2cdd06d367b7556e, < 893b24181b4c4bf1fa2841b1ed192e5413a97cb1
- Anyone running Linux 5.16
Vulnerability facts
- Affected
- Linux >= 9f5848665788a0f07bc175cb2cdd06d367b7556e, < 97669214944e80d3756657c21c4f286f3da6a423; >= 9f5848665788a0f07bc175cb2cdd06d367b7556e, < 8769a62faacbbb6cac5e35d9047ce445183d4e9f; >= 9f5848665788a0f07bc175cb2cdd06d367b7556e, < 1403a899153a12d93fd510e463fd6d0eafba4336; >= 9f5848665788a0f07bc175cb2cdd06d367b7556e, < 893b24181b4c4bf1fa2841b1ed192e5413a97cb1; Linux 5.16
- Fixed in
- Linux 97669214944e80d3756657c21c4f286f3da6a423, Linux 8769a62faacbbb6cac5e35d9047ce445183d4e9f, Linux 1403a899153a12d93fd510e463fd6d0eafba4336, Linux 893b24181b4c4bf1fa2841b1ed192e5413a97cb1
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.24% chance of exploitation in 30 days (percentile 9, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: arm64: sme: Use STR P to clear FFR context field in streaming SVE mode The FFR is a predicate register which can vary between 16 and 256 bits in size depending upon the configured vector length. When saving the SVE state in streaming SVE mode, the FFR register is inaccessible and so commit 9f5848665788 ("arm64/sve: Make access to FFR optional") simply clears the FFR field of the in-memory context structure. Unfortunately, it achieves this using an unconditional 8-byte store and so if the SME vector length is anything other than 64 bytes in size we will either fail to clear the entire field or, worse, we will corrupt memory immediately following the structure. This has led to intermittent kfence splats in CI [1] and can trigger kmalloc Redzone corruption messages when running the 'fp-stress' kselftest: | ============================================================================= | BUG kmalloc-1k (Not tainted): kmalloc Redzone overwritten | ----------------------------------------------------------------------------- | | 0xffff000809bf1e22-0xffff000809bf1e27 @offset=7714. First byte 0x0 instead of 0xcc | Allocated in do_sme_acc+0x9c/0x220 age=2613 cpu=1 pid=531 | __kmalloc+0x8c/0xcc | do_sme_acc+0x9c/0x220 | ... Replace the 8-byte store with a store of a predicate register which has been zero-initialised with PFALSE, ensuring that the entire field is cleared in memory. [1] https://lore.kernel.org/r/CA+G9fYtU7HsV0R0dp4XEH5xXHSJFw8KyDf5VQrLLfMxWfxQkag@mail.gmail.com
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 9f5848665788a0f07bc175cb2cdd06d367b7556e, < 97669214944e80d3756657c21c4f286f3da6a423; >= 9f5848665788a0f07bc175cb2cdd06d367b7556e, < 8769a62faacbbb6cac5e35d9047ce445183d4e9f; >= 9f5848665788a0f07bc175cb2cdd06d367b7556e, < 1403a899153a12d93fd510e463fd6d0eafba4336; >= 9f5848665788a0f07bc175cb2cdd06d367b7556e, < 893b24181b4c4bf1fa2841b1ed192e5413a97cb1 | — | cvelist |
| Linux | 5.16 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-53713. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-53713.md Affected: Linux >= 9f5848665788a0f07bc175cb2cdd06d367b7556e, < 97669214944e80d3756657c21c4f286f3da6a423; >= 9f5848665788a0f07bc175cb2cdd06d367b7556e, < 8769a62faacbbb6cac5e35d9047ce445183d4e9f; >= 9f5848665788a0f07bc175cb2cdd06d367b7556e, < 1403a899153a12d93fd510e463fd6d0eafba4336; >= 9f5848665788a0f07bc175c… Fixed in: Linux 97669214944e80d3756657c21c4f286f3da6a423, Linux 8769a62faacbbb6cac5e35d9047ce445183d4e9f, Linux 1403a899153a12d93fd510e463fd6d0eafba4336, Linux 893b24181b4c4bf1fa2841b1ed192e5413a97cb1 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2023-53713 being exploited?
There is no confirmed exploitation: CVE-2023-53713 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.24% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-53713?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2023-53713?
Linux >= 9f5848665788a0f07bc175cb2cdd06d367b7556e, < 97669214944e80d3756657c21c4f286f3da6a423; >= 9f5848665788a0f07bc175cb2cdd06d367b7556e, < 8769a62faacbbb6cac5e35d9047ce445183d4e9f; >= 9f5848665788a0f07bc175cb2cdd06d367b7556e, < 1403a899153a12d93fd510e463fd6d0eafba4336; >= 9f5848665788a0f07bc175cb2cdd06d367b7556e, < 893b24181b4c4bf1fa2841b1ed192e5413a97cb1; Linux 5.16.
Is there a fix for CVE-2023-53713?
Yes. Fixed in Linux 97669214944e80d3756657c21c4f286f3da6a423, Linux 8769a62faacbbb6cac5e35d9047ce445183d4e9f, Linux 1403a899153a12d93fd510e463fd6d0eafba4336, Linux 893b24181b4c4bf1fa2841b1ed192e5413a97cb1. Upgrade Linux to 893b24181b4c4bf1fa2841b1ed192e5413a97cb1 or later.
How do I check if I'm affected by CVE-2023-53713?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.