CVE-2026-98387 is a vulnerability in Linux Kernel
Published on October 14, 2026
s390/crypto: Fix skcipher_walk return code handling in aes_s390
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.
Products Associated with CVE-2026-98387
Want to know whenever a new CVE is published for Linux Kernel? stack.watch will email you.
Affected Versions
Linux:- Version 7988fb2c03c8cf9936f851ab19a6d21b3c3411c0 and below 89b58645646d1dac34162cc2597f42266bfbf930 is affected.
- Version 7988fb2c03c8cf9936f851ab19a6d21b3c3411c0 and below 35c3f97569306050e818fa18e17fa97c358f0f28 is affected.
- Version 7988fb2c03c8cf9936f851ab19a6d21b3c3411c0 and below aea3e1588f08e381a7a57b2bf1a60cc2347904cd is affected.
- Version 7988fb2c03c8cf9936f851ab19a6d21b3c3411c0 and below 15fa028589c3a2545f0bff355eff06d5844196bf is affected.
- Version 5.5 is affected.
- Before 5.5 is unaffected.
- Version 6.12.111, <= 6.12.* is unaffected.
- Version 6.18.53, <= 6.18.* is unaffected.
- Version 7.2.7, <= 7.2.* is unaffected.
- Version 7.3-rc3, <= * is unaffected.