# CVE-2026-98387: s390/crypto: Fix skcipher\_walk return code handling in aes\_s390

> 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.21% (percentile 7, 2026-11-26)
- **Published:** 2026-10-14T13:25:51.513Z
- **Modified:** 2026-11-23T08:17:25.907Z

## Who should check

- Anyone running Linux \>= 7988fb2c03c8cf9936f851ab19a6d21b3c3411c0, \< c9351478eab196a1e6ab0c3835a8bcafcebd0326; \>= 7988fb2c03c8cf9936f851ab19a6d21b3c3411c0, \< fb59ef72bebd93de44e9eb28831f91f16acc0338; \>= 7988fb2c03c8cf9936f851ab19a6d21b3c3411c0, \< 89b58645646d1dac34162cc2597f42266bfbf930; \>= 7988fb2c03c8cf9936f851ab19a6d21b3c3411c0, \< 35c3f97569306050e818fa18e17fa97c358f0f28; \>= 7988fb2c03c8cf9936f851ab19a6d21b3c3411c0, \< aea3e1588f08e381a7a57b2bf1a60cc2347904cd; \>= 7988fb2c03c8cf9936f851ab19a6d21b3c3411c0, \< 15fa028589c3a2545f0bff355eff06d5844196bf
- Anyone running Linux 5.5

## Description

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

s390/crypto: Fix skcipher\_walk return code handling in aes\_s390

The return codes from skcipher\_walk\_virt() were not properly checked
before entering the processing loops in ecb\_aes\_crypt() and ctr\_aes\_crypt().
If skcipher\_walk\_virt() fails, the walk structure may be in an undefined
state, and attempting to process data could lead to incorrect behavior
or accessing uninitialized memory.

Add proper return code checking to ensure correct handling of the walk
initialization and walk advance and eventually return to the caller
with that return code.

## Affected and fixed versions

- Linux: \>= 7988fb2c03c8cf9936f851ab19a6d21b3c3411c0, \< c9351478eab196a1e6ab0c3835a8bcafcebd0326; \>= 7988fb2c03c8cf9936f851ab19a6d21b3c3411c0, \< fb59ef72bebd93de44e9eb28831f91f16acc0338; \>= 7988fb2c03c8cf9936f851ab19a6d21b3c3411c0, \< 89b58645646d1dac34162cc2597f42266bfbf930; \>= 7988fb2c03c8cf9936f851ab19a6d21b3c3411c0, \< 35c3f97569306050e818fa18e17fa97c358f0f28; \>= 7988fb2c03c8cf9936f851ab19a6d21b3c3411c0, \< aea3e1588f08e381a7a57b2bf1a60cc2347904cd; \>= 7988fb2c03c8cf9936f851ab19a6d21b3c3411c0, \< 15fa028589c3a2545f0bff355eff06d5844196bf (cvelist)
- Linux: 5.5 (cvelist)

## Mitigation

- Upgrade Linux to 15fa028589c3a2545f0bff355eff06d5844196bf or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-98387.md
Affected: Linux >= 7988fb2c03c8cf9936f851ab19a6d21b3c3411c0, < c9351478eab196a1e6ab0c3835a8bcafcebd0326; >= 7988fb2c03c8cf9936f851ab19a6d21b3c3411c0, < fb59ef72bebd93de44e9eb28831f91f16acc0338; >= 7988fb2c03c8cf9936f851ab19a6d21b3c3411c0, < 89b58645646d1dac34162cc2597f42266bfbf930; >= 7988fb2c03c8cf9936f851a…
Fixed in: Linux 89b58645646d1dac34162cc2597f42266bfbf930, Linux 35c3f97569306050e818fa18e17fa97c358f0f28, Linux 15fa028589c3a2545f0bff355eff06d5844196bf

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-2026-98387 being exploited?

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

### How serious is CVE-2026-98387?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-98387?

Linux \>= 7988fb2c03c8cf9936f851ab19a6d21b3c3411c0, \< c9351478eab196a1e6ab0c3835a8bcafcebd0326; \>= 7988fb2c03c8cf9936f851ab19a6d21b3c3411c0, \< fb59ef72bebd93de44e9eb28831f91f16acc0338; \>= 7988fb2c03c8cf9936f851ab19a6d21b3c3411c0, \< 89b58645646d1dac34162cc2597f42266bfbf930; \>= 7988fb2c03c8cf9936f851ab19a6d21b3c3411c0, \< 35c3f97569306050e818fa18e17fa97c358f0f28; \>= 7988fb2c03c8cf9936f851ab19a6d21b3c3411c0, \< aea3e1588f08e381a7a57b2bf1a60cc2347904cd; \>= 7988fb2c03c8cf9936f851ab19a6d21b3c3411c0, \< 15fa028589c3a2545f0bff355eff06d5844196bf; Linux 5.5.

### Is there a fix for CVE-2026-98387?

Yes. Fixed in Linux 89b58645646d1dac34162cc2597f42266bfbf930, Linux 35c3f97569306050e818fa18e17fa97c358f0f28, Linux 15fa028589c3a2545f0bff355eff06d5844196bf. Upgrade Linux to 15fa028589c3a2545f0bff355eff06d5844196bf or later.

### How do I check if I'm affected by CVE-2026-98387?

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/c9351478eab196a1e6ab0c3835a8bcafcebd0326>
- other: <https://git.kernel.org/stable/c/fb59ef72bebd93de44e9eb28831f91f16acc0338>
- other: <https://git.kernel.org/stable/c/89b58645646d1dac34162cc2597f42266bfbf930>
- other: <https://git.kernel.org/stable/c/35c3f97569306050e818fa18e17fa97c358f0f28>
- other: <https://git.kernel.org/stable/c/aea3e1588f08e381a7a57b2bf1a60cc2347904cd>
- other: <https://git.kernel.org/stable/c/15fa028589c3a2545f0bff355eff06d5844196bf>

## 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-2026-98387>

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