# CVE-2023-53702: s390/crypto: use vector instructions only if available for ChaCha20

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.27% (percentile 13, 2026-11-26)
- **Published:** 2025-10-22T13:23:40.798Z
- **Modified:** 2026-10-28T19:10:00.193Z

## Who should check

- Anyone running Linux \>= 349d03ffd5f62c298fd667ffa397c3fdc5c6194b, \< 25e8d30507aa2f251152df1af7809e85b5538f4a; \>= 349d03ffd5f62c298fd667ffa397c3fdc5c6194b, \< debb7797bba0caffdbdadc3e7968bb2c414f50da; \>= 349d03ffd5f62c298fd667ffa397c3fdc5c6194b, \< 8703dd6b238da0ec6c276e53836f8200983d3d9b
- Anyone running Linux 5.19

## Description

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

s390/crypto: use vector instructions only if available for ChaCha20

Commit 349d03ffd5f6 ("crypto: s390 - add crypto library interface for
ChaCha20") added a library interface to the s390 specific ChaCha20
implementation. However no check was added to verify if the required
facilities are installed before branching into the assembler code.

If compiled into the kernel, this will lead to the following crash,
if vector instructions are not available:

data exception: 0007 ilc:3 \[\#1\] SMP
Modules linked in:
CPU: 0 PID: 1 Comm: swapper/0 Not tainted 6.3.0-rc7+ \#11
Hardware name: IBM 3931 A01 704 (KVM/Linux)
Krnl PSW : 0704e00180000000 000000001857277a (chacha20\_vx+0x32/0x818)
           R:0 T:1 IO:1 EX:1 Key:0 M:1 W:0 P:0 AS:3 CC:2 PM:0 RI:0 EA:3
Krnl GPRS: 0000037f0000000a ffffffffffffff60 000000008184b000 0000000019f5c8e6
           0000000000000109 0000037fffb13c58 0000037fffb13c78 0000000019bb1780
           0000037fffb13c58 0000000019f5c8e6 000000008184b000 0000000000000109
           00000000802d8000 0000000000000109 0000000018571ebc 0000037fffb13718
Krnl Code: 000000001857276a: c07000b1f80b        larl    %r7,0000000019bb1780
           0000000018572770: a708000a            lhi     %r0,10
          \#0000000018572774: e78950000c36        vlm     %v24,%v25,0(%r5),0
          \>000000001857277a: e7a060000806        vl      %v26,0(%r6),0
           0000000018572780: e7bf70004c36        vlm     %v27,%v31,0(%r7),4
           0000000018572786: e70b00000456        vlr     %v0,%v27
           000000001857278c: e71800000456        vlr     %v1,%v24
           0000000018572792: e74b00000456        vlr     %v4,%v27
Call Trace:
 \[\<000000001857277a\>\] chacha20\_vx+0x32/0x818
Last Breaking-Event-Address:
 \[\<0000000018571eb6\>\] chacha20\_crypt\_s390.constprop.0+0x6e/0xd8
---\[ end trace 0000000000000000 \]---
Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b

Fix this by adding a missing MACHINE\_HAS\_VX check.

\[agordeev@linux.ibm.com: remove duplicates in commit message\]

## Affected and fixed versions

- Linux: \>= 349d03ffd5f62c298fd667ffa397c3fdc5c6194b, \< 25e8d30507aa2f251152df1af7809e85b5538f4a; \>= 349d03ffd5f62c298fd667ffa397c3fdc5c6194b, \< debb7797bba0caffdbdadc3e7968bb2c414f50da; \>= 349d03ffd5f62c298fd667ffa397c3fdc5c6194b, \< 8703dd6b238da0ec6c276e53836f8200983d3d9b (cvelist)
- Linux: 5.19 (cvelist)

## Mitigation

- Upgrade Linux to 8703dd6b238da0ec6c276e53836f8200983d3d9b 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-53702. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-53702.md
Affected: Linux >= 349d03ffd5f62c298fd667ffa397c3fdc5c6194b, < 25e8d30507aa2f251152df1af7809e85b5538f4a; >= 349d03ffd5f62c298fd667ffa397c3fdc5c6194b, < debb7797bba0caffdbdadc3e7968bb2c414f50da; >= 349d03ffd5f62c298fd667ffa397c3fdc5c6194b, < 8703dd6b238da0ec6c276e53836f8200983d3d9b; Linux 5.19
Fixed in: Linux 25e8d30507aa2f251152df1af7809e85b5538f4a, Linux 8703dd6b238da0ec6c276e53836f8200983d3d9b

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-53702 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 349d03ffd5f62c298fd667ffa397c3fdc5c6194b, \< 25e8d30507aa2f251152df1af7809e85b5538f4a; \>= 349d03ffd5f62c298fd667ffa397c3fdc5c6194b, \< debb7797bba0caffdbdadc3e7968bb2c414f50da; \>= 349d03ffd5f62c298fd667ffa397c3fdc5c6194b, \< 8703dd6b238da0ec6c276e53836f8200983d3d9b; Linux 5.19.

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

Yes. Fixed in Linux 25e8d30507aa2f251152df1af7809e85b5538f4a, Linux 8703dd6b238da0ec6c276e53836f8200983d3d9b. Upgrade Linux to 8703dd6b238da0ec6c276e53836f8200983d3d9b or later.

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

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

- other: <https://git.kernel.org/stable/c/25e8d30507aa2f251152df1af7809e85b5538f4a>
- other: <https://git.kernel.org/stable/c/debb7797bba0caffdbdadc3e7968bb2c414f50da>
- other: <https://git.kernel.org/stable/c/8703dd6b238da0ec6c276e53836f8200983d3d9b>

## 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-53702>

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