CVE-2026-98387

s390/crypto: Fix skcipher_walk return code handling in aes_s390

State
Published
Severity
Not scored
Published
Oct 14, 2026
Updated
Oct 19, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 7988fb2c03c8cf9936f851ab19a6d21b3c3411c0 to before 89b58645646d1dac34162cc2597f42266bfbf930Affected
  • 7988fb2c03c8cf9936f851ab19a6d21b3c3411c0 to before 35c3f97569306050e818fa18e17fa97c358f0f28Affected
  • 7988fb2c03c8cf9936f851ab19a6d21b3c3411c0 to before aea3e1588f08e381a7a57b2bf1a60cc2347904cdAffected
  • 7988fb2c03c8cf9936f851ab19a6d21b3c3411c0 to before 15fa028589c3a2545f0bff355eff06d5844196bfAffected
LinuxLinux
  • 5.5Affected
  • before 5.5Not affected
  • 6.12.111 through 6.12.*Not affected
  • 6.18.53 through 6.18.*Not affected
  • 7.2.7 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.