# CVE-2023-52750: arm64: Restrict CPU\_BIG\_ENDIAN to GNU as or LLVM IAS 15.x or newer

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.31% (percentile 16, 2026-11-28)
- **Published:** 2024-05-21T15:30:39.564Z
- **Modified:** 2026-06-17T06:43:29.860Z

## Who should check

- Anyone running Linux \>= 0be7320a635c2e434e8b67e0e9474a85ceb421c4, \< d08a1e75253b4e19ae290b1c35349f12cfcebc0a; \>= 0be7320a635c2e434e8b67e0e9474a85ceb421c4, \< 936c9c10efaefaf1ab3ef020e1f8aaaaff1ad2f9; \>= 0be7320a635c2e434e8b67e0e9474a85ceb421c4, \< ef0224ee5399ea8a46bc07dc6c6494961ed5fdd2; \>= 0be7320a635c2e434e8b67e0e9474a85ceb421c4, \< bd31e534721ab95ef237020fe6995c899ffdf21a; \>= 0be7320a635c2e434e8b67e0e9474a85ceb421c4, \< 69e619d2fd056fe1f5d0adf01584f2da669e0d28; \>= 0be7320a635c2e434e8b67e0e9474a85ceb421c4, \< 146a15b873353f8ac28dc281c139ff611a3c4848
- Anyone running Linux 3.7

## Description

In the Linux kernel, the following vulnerability has been resolved:

arm64: Restrict CPU\_BIG\_ENDIAN to GNU as or LLVM IAS 15.x or newer

Prior to LLVM 15.0.0, LLVM's integrated assembler would incorrectly
byte-swap NOP when compiling for big-endian, and the resulting series of
bytes happened to match the encoding of FNMADD S21, S30, S0, S0.

This went unnoticed until commit:

  34f66c4c4d5518c1 ("arm64: Use a positive cpucap for FP/SIMD")

Prior to that commit, the kernel would always enable the use of FPSIMD
early in boot when \_\_cpu\_setup() initialized CPACR\_EL1, and so usage of
FNMADD within the kernel was not detected, but could result in the
corruption of user or kernel FPSIMD state.

After that commit, the instructions happen to trap during boot prior to
FPSIMD being detected and enabled, e.g.

\| Unhandled 64-bit el1h sync exception on CPU0, ESR 0x000000001fe00000 -- ASIMD
\| CPU: 0 PID: 0 Comm: swapper Not tainted 6.6.0-rc3-00013-g34f66c4c4d55 \#1
\| Hardware name: linux,dummy-virt (DT)
\| pstate: 400000c9 (nZcv daIF -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
\| pc : \_\_pi\_strcmp+0x1c/0x150
\| lr : populate\_properties+0xe4/0x254
\| sp : ffffd014173d3ad0
\| x29: ffffd014173d3af0 x28: fffffbfffddffcb8 x27: 0000000000000000
\| x26: 0000000000000058 x25: fffffbfffddfe054 x24: 0000000000000008
\| x23: fffffbfffddfe000 x22: fffffbfffddfe000 x21: fffffbfffddfe044
\| x20: ffffd014173d3b70 x19: 0000000000000001 x18: 0000000000000005
\| x17: 0000000000000010 x16: 0000000000000000 x15: 00000000413e7000
\| x14: 0000000000000000 x13: 0000000000001bcc x12: 0000000000000000
\| x11: 00000000d00dfeed x10: ffffd414193f2cd0 x9 : 0000000000000000
\| x8 : 0101010101010101 x7 : ffffffffffffffc0 x6 : 0000000000000000
\| x5 : 0000000000000000 x4 : 0101010101010101 x3 : 000000000000002a
\| x2 : 0000000000000001 x1 : ffffd014171f2988 x0 : fffffbfffddffcb8
\| Kernel panic - not syncing: Unhandled exception
\| CPU: 0 PID: 0 Comm: swapper Not tainted 6.6.0-rc3-00013-g34f66c4c4d55 \#1
\| Hardware name: linux,dummy-virt (DT)
\| Call trace:
\|  dump\_backtrace+0xec/0x108
\|  show\_stack+0x18/0x2c
\|  dump\_stack\_lvl+0x50/0x68
\|  dump\_stack+0x18/0x24
\|  panic+0x13c/0x340
\|  el1t\_64\_irq\_handler+0x0/0x1c
\|  el1\_abort+0x0/0x5c
\|  el1h\_64\_sync+0x64/0x68
\|  \_\_pi\_strcmp+0x1c/0x150
\|  unflatten\_dt\_nodes+0x1e8/0x2d8
\|  \_\_unflatten\_device\_tree+0x5c/0x15c
\|  unflatten\_device\_tree+0x38/0x50
\|  setup\_arch+0x164/0x1e0
\|  start\_kernel+0x64/0x38c
\|  \_\_primary\_switched+0xbc/0xc4

Restrict CONFIG\_CPU\_BIG\_ENDIAN to a known good assembler, which is
either GNU as or LLVM's IAS 15.0.0 and newer, which contains the linked
commit.

## Affected and fixed versions

- Linux: \>= 0be7320a635c2e434e8b67e0e9474a85ceb421c4, \< d08a1e75253b4e19ae290b1c35349f12cfcebc0a; \>= 0be7320a635c2e434e8b67e0e9474a85ceb421c4, \< 936c9c10efaefaf1ab3ef020e1f8aaaaff1ad2f9; \>= 0be7320a635c2e434e8b67e0e9474a85ceb421c4, \< ef0224ee5399ea8a46bc07dc6c6494961ed5fdd2; \>= 0be7320a635c2e434e8b67e0e9474a85ceb421c4, \< bd31e534721ab95ef237020fe6995c899ffdf21a; \>= 0be7320a635c2e434e8b67e0e9474a85ceb421c4, \< 69e619d2fd056fe1f5d0adf01584f2da669e0d28; \>= 0be7320a635c2e434e8b67e0e9474a85ceb421c4, \< 146a15b873353f8ac28dc281c139ff611a3c4848 (cvelist)
- Linux: 3.7 (cvelist)

## Mitigation

- Upgrade Linux to 146a15b873353f8ac28dc281c139ff611a3c4848 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-52750. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-52750.md
Affected: Linux >= 0be7320a635c2e434e8b67e0e9474a85ceb421c4, < d08a1e75253b4e19ae290b1c35349f12cfcebc0a; >= 0be7320a635c2e434e8b67e0e9474a85ceb421c4, < 936c9c10efaefaf1ab3ef020e1f8aaaaff1ad2f9; >= 0be7320a635c2e434e8b67e0e9474a85ceb421c4, < ef0224ee5399ea8a46bc07dc6c6494961ed5fdd2; >= 0be7320a635c2e434e8b67e…
Fixed in: Linux 936c9c10efaefaf1ab3ef020e1f8aaaaff1ad2f9, Linux 69e619d2fd056fe1f5d0adf01584f2da669e0d28, Linux 146a15b873353f8ac28dc281c139ff611a3c4848

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.
```

## FAQ

### Is CVE-2023-52750 being exploited?

There is no confirmed exploitation: CVE-2023-52750 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2023-52750?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2023-52750?

Linux \>= 0be7320a635c2e434e8b67e0e9474a85ceb421c4, \< d08a1e75253b4e19ae290b1c35349f12cfcebc0a; \>= 0be7320a635c2e434e8b67e0e9474a85ceb421c4, \< 936c9c10efaefaf1ab3ef020e1f8aaaaff1ad2f9; \>= 0be7320a635c2e434e8b67e0e9474a85ceb421c4, \< ef0224ee5399ea8a46bc07dc6c6494961ed5fdd2; \>= 0be7320a635c2e434e8b67e0e9474a85ceb421c4, \< bd31e534721ab95ef237020fe6995c899ffdf21a; \>= 0be7320a635c2e434e8b67e0e9474a85ceb421c4, \< 69e619d2fd056fe1f5d0adf01584f2da669e0d28; \>= 0be7320a635c2e434e8b67e0e9474a85ceb421c4, \< 146a15b873353f8ac28dc281c139ff611a3c4848; Linux 3.7.

### Is there a fix for CVE-2023-52750?

Yes. Fixed in Linux 936c9c10efaefaf1ab3ef020e1f8aaaaff1ad2f9, Linux 69e619d2fd056fe1f5d0adf01584f2da669e0d28, Linux 146a15b873353f8ac28dc281c139ff611a3c4848. Upgrade Linux to 146a15b873353f8ac28dc281c139ff611a3c4848 or later.

### How do I check if I'm affected by CVE-2023-52750?

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.

## References

- patch: <https://git.kernel.org/stable/c/d08a1e75253b4e19ae290b1c35349f12cfcebc0a>
- patch: <https://git.kernel.org/stable/c/936c9c10efaefaf1ab3ef020e1f8aaaaff1ad2f9>
- patch: <https://git.kernel.org/stable/c/ef0224ee5399ea8a46bc07dc6c6494961ed5fdd2>
- patch: <https://git.kernel.org/stable/c/bd31e534721ab95ef237020fe6995c899ffdf21a>
- patch: <https://git.kernel.org/stable/c/69e619d2fd056fe1f5d0adf01584f2da669e0d28>
- patch: <https://git.kernel.org/stable/c/146a15b873353f8ac28dc281c139ff611a3c4848>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-52750>

HTML: <https://flawdb.com/CVE-2023-52750> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-52750>
