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.
Published: 2026-10-14
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service and information disclosure
Action: Patch
AI Analysis

Impact

The vulnerability lies in the Linux kernel’s s390 crypto AES implementation. It stems from the fact that skcipher_walk_virt() return codes are not verified before the ecb_aes_crypt() and ctr_aes_crypt() routines proceed. If skcipher_walk_virt() fails, the walk structure may contain uninitialized data, and subsequent processing can read invalid memory. This can produce incorrect cryptographic results, cause the kernel to crash, or expose kernel data through memory leakage.

Affected Systems

Any Linux kernel running the s390 architecture and employing the AES module prior to the commit that added the return‑code check is potentially affected. The vulnerability exists in the source code path for standard AES operations on s390; no specific kernel version range is listed, so deployments using older or unpatched kernels should be considered at risk.

Risk and Exploitability

The CVSS score is 5.5, representing moderate severity, while the EPSS score is below 1%, indicating a very low probability of exploitation. The vulnerability is not listed in the CISA KEV catalog. The flaw requires kernel code execution on the s390 architecture, implying that a local or privileged attacker is needed. Exposing uninitialized memory or provoking incorrect cryptographic behavior could lead to a kernel crash (denial of service) or potentially leakage of kernel memory. Because the walk structure may be left in an undefined state when skcipher_walk_virt() fails, the attacker could induce consistent failures to trigger these outcomes. However, no published proof of concept is currently available.

Generated by OpenCVE AI on October 16, 2026 at 23:04 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest Linux kernel update that incorporates the commit fixing the skcipher_walk return code check.
  • If a kernel upgrade cannot be performed immediately, disable or restrict use of the affected s390 AES crypto module by adjusting kernel module loading rules or confining the module to trusted privileged processes.
  • After applying a patch or restriction, monitor system logs and kernel stability for any signs of anomalous memory accesses or crashes to confirm that the issue has been mitigated.

Generated by OpenCVE AI on October 16, 2026 at 23:04 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 15 Oct 2026 23:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-252
CWE-457

Thu, 15 Oct 2026 13:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-908
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Thu, 15 Oct 2026 05:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-252
CWE-457

Wed, 14 Oct 2026 13:45:00 +0000

Type Values Removed Values Added
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.
Title s390/crypto: Fix skcipher_walk return code handling in aes_s390
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-19T09:18:38.225Z

Reserved: 2026-09-25T10:25:14.346Z

Link: CVE-2026-98387

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-14T14:17:49.510

Modified: 2026-10-19T10:18:42.043

Link: CVE-2026-98387

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-14T00:00:00Z

Links: CVE-2026-98387 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-19T16:45:16Z

Weaknesses
  • CWE-908

    Use of Uninitialized Resource