CVE-2026-98387 s390/crypto: Fix skcipher_walk return code handling in aes_s390

Not scored Published Updated

Improper return code handling in the s390 crypto module can lead to undefined behavior or memory access issues, potentially causing system instability.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Not stated
Victim action needed
Not needed
Fix
Available

What is CVE-2026-98387?

CVE-2026-98387 is a vulnerability in Linux, published on 14 Oct 2026.

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

Which versions are affected by CVE-2026-98387?

How do I fix CVE-2026-98387?

Apply the vendor's patch.

Is CVE-2026-98387 being exploited?

There is no known exploitation of CVE-2026-98387 in the wild and no public exploit code.

Sources

Also known as AZL-108137, BELL-CVE-2026-98387, DEBIAN-CVE-2026-98387, GHSA-qwcv-vwq2-whqp, UBUNTU-CVE-2026-98387.

Is CVE-2026-98387 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free