CVE-2026-98387

Source
https://cve.org/CVERecord?id=CVE-2026-98387
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98387.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-98387
Downstream
Published
2026-10-14T13:25:51Z
Modified
2026-10-15T02:46:32Z
Summary
s390/crypto: Fix skcipher_walk return code handling in aes_s390
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98387.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
7988fb2c03c8cf9936f851ab19a6d21b3c3411c0
Fixed
89b58645646d1dac34162cc2597f42266bfbf930
Fixed
35c3f97569306050e818fa18e17fa97c358f0f28
Fixed
aea3e1588f08e381a7a57b2bf1a60cc2347904cd
Fixed
15fa028589c3a2545f0bff355eff06d5844196bf

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98387.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
6.12.111
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.53
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.2.7

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98387.json"