CVE-2026-98387

s390/crypto: Fix skcipher_walk return code handling in aes_s390

No CVSS score yet EPSS 0.22%

Published 14 Oct 2026 Updated 23 Nov 2026 CNA: Linux

Check your servers for CVE-2026-98387

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-98387 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.81% of all scored CVEs. Scores of 29 Nov 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 7988fb2c03c8cf9936f851ab19a6d21b3c3411c0, before c9351478eab196a1e6ab0c3835a8bcafcebd0326
affected from 7988fb2c03c8cf9936f851ab19a6d21b3c3411c0, before fb59ef72bebd93de44e9eb28831f91f16acc0338
affected from 7988fb2c03c8cf9936f851ab19a6d21b3c3411c0, before 89b58645646d1dac34162cc2597f42266bfbf930
affected from 7988fb2c03c8cf9936f851ab19a6d21b3c3411c0, before 35c3f97569306050e818fa18e17fa97c358f0f28
affected from 7988fb2c03c8cf9936f851ab19a6d21b3c3411c0, before aea3e1588f08e381a7a57b2bf1a60cc2347904cd
affected from 7988fb2c03c8cf9936f851ab19a6d21b3c3411c0, before 15fa028589c3a2545f0bff355eff06d5844196bf
Other versions: unaffected
Linux
affected 5.5
unaffected before 5.5
unaffected from 6.1.193 up to and including 6.1.*
unaffected from 6.6.163 up to and including 6.6.*
unaffected from 6.12.111 up to and including 6.12.*
unaffected from 6.18.53 up to and including 6.18.*
unaffected from 7.2.7 up to and including 7.2.*
unaffected 7.3 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-98387 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-98387

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-98387
trivy image --scanners vuln IMAGE | grep CVE-2026-98387

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-98387 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.