s390/crypto: Fix skcipher_walk return code handling in aes_s390 (Linux Linux)

CVE-2026-98387
Not available

At a glance

Source
NVD
EPSS
EPSS 0.21 % · percentile 11 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
Affected products
Linux · Linux
NVD status
Received

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.

References

European references

CERT-FR advisories

Affected products

ProductAffected versions
Linux · Linux
affected : ≥ 7988fb2c03c8cf9936f851ab19a6d21b3c3411c0 < c9351478eab196a1e6ab0c3835a8bcafcebd0326
affected : ≥ 7988fb2c03c8cf9936f851ab19a6d21b3c3411c0 < fb59ef72bebd93de44e9eb28831f91f16acc0338
affected : ≥ 7988fb2c03c8cf9936f851ab19a6d21b3c3411c0 < 89b58645646d1dac34162cc2597f42266bfbf930
affected : ≥ 7988fb2c03c8cf9936f851ab19a6d21b3c3411c0 < 35c3f97569306050e818fa18e17fa97c358f0f28
affected : ≥ 7988fb2c03c8cf9936f851ab19a6d21b3c3411c0 < aea3e1588f08e381a7a57b2bf1a60cc2347904cd
affected : ≥ 7988fb2c03c8cf9936f851ab19a6d21b3c3411c0 < 15fa028589c3a2545f0bff355eff06d5844196bf
Other versions : unaffected
Linux · Linux
affected : 5.5
unaffected : ≥ 0 < 5.5
unaffected : ≥ 6.1.193 ≤ 6.1.*
unaffected : ≥ 6.6.163 ≤ 6.6.*
unaffected : ≥ 6.12.111 ≤ 6.12.*
unaffected : ≥ 6.18.53 ≤ 6.18.*
unaffected : ≥ 7.2.7 ≤ 7.2.*
unaffected : ≥ 7.3 ≤ *
Other versions : affected

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD